Webhooks
A collection failed
The customer declined, had insufficient funds, or the payment was rejected. data.failure_code says why.
Header Parameters
NuruPay-Signature*string
t=<unix seconds>,v1=<hex HMAC-SHA256(signing_secret, "<t>.<raw body>")>. Reject if the signature does not match or t is more than 5 minutes old.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Example Requests
POST
/collection.failed