Payment Webhooks
Events
payment.completed | A payment has been completed |
payment.refunded | A payment has been refunded |
Fields
Name | Type | Description |
---|---|---|
payment | Payment | The payment this event is related to |
location | LocationTiny | (optional) The location the payment belongs to if any |
organization | OrganizationTiny | The organization the payment belongs to |
Example
{
"event": "payment.completed",
"payment": {
"...": "..."
},
"location": {
"id": "LOC123",
"name": "Richmond"
},
"organization": {
"id": "01H0S97D8RX4RBFHHTB1HE7SFR",
"name": "My Awesome Business"
}
}