cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Webhooks notifications incorrect post request from system

Good evening!
Your documentation says that for veryfying notifications, "The hash is sent in a custom header: X-ANET-Signature". So I had registered my sandbox account, and while testing it (using pastebin) - didn`t actually find this signature in the headers. Do you actually send it, or this only works for real accounts?
Another question is about request content-type: do you always use "application/x-www-form-urlencoded"? I also didn`t find anything about your request in documentation.
Here`s an image with your request: https://imgur.com/a/z7Gwr .

Thanks for your answer in advance!
Yehor123
Member
1 REPLY 1

Hi @Yehor123,

 

That screenshot you posted isn't a Webhook notification. A Webhook notification will always be posted to the registered URL as "application/json" with a JSON payload.

 

What you posted looks like something out of our old API's response formats.

 

Can you tell me what exactly you've done so far so we can figure out the best way to go? Have you registered any Webhooks (using the Merchant Interface or the Webhooks management API)?

Aaron
All Star