Skip to content
Private beta · Not open to the public yet. Accounts are by invitation only. Request access →
AywaPay

Glossary

What is a webhook?

A message the gateway sends to your server when something changes, for example when an invoice is paid. It is signed so your server can check it is genuine.

A webhook, also called a callback, is a message a service sends to your server when something happens. Instead of your system asking again and again whether an invoice has been paid, the gateway calls a URL you choose the moment its status changes.

Because anyone could send a request to that URL, a good webhook is signed with a secret only you and the service know. Your server checks the signature before trusting the message. A timestamp in the signature stops an old message from being replayed, and retries make sure a brief outage on your side doesn't lose an event.

AywaPay sends every change as a JSON event signed with your own webhook secret, using HMAC-SHA256 with a timestamp. Undelivered events are retried automatically, and you can resend one with a click. Each store has its own webhook, and the developer docs show how to verify the signature.

Common questions

Why should I verify a webhook signature?

Without it, anyone who finds your URL could send a fake paid message and get an order shipped. The signature proves the message came from the gateway.

What happens if my server is down when a webhook is sent?

AywaPay retries it automatically, and you can resend any event from the dashboard.

Get started

Start accepting crypto today

  1. 01Request access
  2. 02Get your invite by email
  3. 03Add your store and get paid