Webhooks
Create or update webhook endpoints
Create, update, or remove pre-configured webhook endpoints for payouts and bank account verification notifications, and configure which notification types are sent to the payouts webhook URL.
post/merchants/{merchantId}/webhook
Path parameters
merchantIdstring required
A unique merchant ID provided by Peach Payments in hexadecimal format.
Example:d0bf5a6a909111f0aabf02d14af18cff
A unique merchant ID provided by Peach Payments.
Request body
Example request
{
"webhookEndpoint": "https://merchant.example.com/webhooks/payouts",
"banvEndpoint": "https://merchant.example.com/webhooks/banv",
"webhookOptions": {
"floatAllocationUpdates": false,
"payoutStatusUpdates": true
}
}Response
Endpoints updated.
Example response
{
"webhookEndpoint": "https://merchant.example.com/webhooks/payouts",
"banvEndpoint": "https://merchant.example.com/webhooks/banv",
"webhookOptions": {
"floatAllocationUpdates": false,
"payoutStatusUpdates": true
}
}