Order and Pay: Webhook
Update a webhook
Updates an existing webhook entry.
Important Note: if provideAccount, expandTransactions, or expandPayments are excluded from the update request, they will be reset to their default values.
post/o/wh/1/webhook
Request body
Example request
{
"endpointId": "MY-AWESOME-ENDPOINT-ID",
"url": "https://webhook.site/1dc40b86-3d0d",
"withBasicAuth": true,
"username": "username",
"password": "password",
"provideAccount": true,
"expandTransactions": true,
"expandPayments": true,
"subscribeTo": [
{
"name": "DELIVERED",
"resource": "order"
}
]
}Response
Webhook
Example response
{
"endpointId": "MY-AWESOME-ENDPOINT-ID",
"url": "https://webhook.site/1dc40b86-3d0d",
"withBasicAuth": true,
"username": "username",
"password": "password",
"provideAccount": true,
"expandTransactions": true,
"expandPayments": true,
"subscribeTo": [
{
"name": "DELIVERED",
"resource": "order"
}
]
}Changes
No changes recorded. 1 of the 8 revisions has no diff computed, so it could not be searched.