Webhooks
Create new webhook
Changed onpost/v1/webhook
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"callback_url": "https://example.com",
"description": "Webhook description",
"gateway_account_id": "100",
"service_id": "eo29upsdkjlk3jpwjj2dfn12",
"subscriptions": [
"card_payment_started"
]
}Response
OK
Example response
{
"callback_url": "https://example.com",
"created_date": "2022-04-05T17:07:15.281Z",
"description": "Webhook description",
"external_id": "gh0d0923jpsjdf0923jojlsfgkw3seg",
"gateway_account_id": "100",
"service_id": "eo29upsdkjlk3jpwjj2dfn12",
"status": "ACTIVE",
"subscriptions": [
"card_payment_started"
]
}Changes
- breaking
the
request property's minLength was increased from0to1
- breaking
- breaking
added the new required request property
- info
added the optional property
to the response with the status
- breaking