跳到正文
内测中 · 暂未向公众开放,仅限受邀用户注册。 申请访问 →
AywaPay

Integrations and API

How do I set up webhooks?

Set the store's Status URL, create a webhook signing secret, and verify the X-AywaPay-Signature header on every request.

Updated

  1. On the store's Invoices tab, set the Status URL: we POST every invoice change there. You can also pass a callback_url per invoice.
  2. On the Webhooks tab, create the webhook signing secret. It is not your API key and can't call the API.
  3. On your server, check the X-AywaPay-Signature header on every webhook before you trust it.

Answer with any 2xx status. Anything else is retried, and the same event can arrive twice, so process each event once. The Webhooks tab has a Webhook log where you can see every delivery and its answer.

Step-by-step code: how to verify crypto payment webhooks.

Related articles

Didn't find what you need?

Contact us