Webhooks
payment.updated
A payment changed. previous_attributes holds the old value of each attribute that changed. A status change is its own _changed event, so a save that changes a status and another field sends both. An archive or restore sends only its .deleted or .restored event, even when the same save changed other fields.
postWebhookpayment.updated
Headers
Topkey-Signaturestring required
t=<unix>,v1=<hex>: see Verifying signatures in the Webhooks section of the introduction.
Payload
Example payload
{
"data": {
"object": {
"amount": {
"currency": "USD"
}
}
}
}Response
Received. Anything else, including a redirect or no answer within 15 seconds, is a failure and is retried.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.