Webhooks

Instant Back End Notifications Direct To Your Server

As soon as a payment is received you will receive a webhook message to your server if you specify webhook_url upon creating an invoice.
# The following is POSTed to your invoice's webhook_url
1
{
2
"uid": "INVOICE_UID",
3
"status": "paid",
4
"hash": "TRANSACTION_ID"
5
}
Copied!
If you prefer you may manually check the invoice status through the API after receiving a webhook.
1
GET https://api.anypayinc.com/invoices/INVOICE_UID
Copied!
Last modified 10mo ago
Copy link