Create new webhook
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
Changed in 3 of the 13 revisions of this API.223
- ▲
the
gateway_account_idrequest property's minLength was increased from0to1request-property-min-length-increased
- ▲
- ▲
added the new required request property
gateway_account_idnew-required-request-property
- ○
added the optional property
gateway_account_idto the response with the200statusresponse-optional-property-added
- ▲
- ●
added the new
card_payment_expiredenum value to thesubscriptions/items/response property for the response status200response-property-enum-value-added
- ●
added the new
card_payment_failedenum value to thesubscriptions/items/response property for the response status200response-property-enum-value-added
- ○
added the new
card_payment_expiredenum value to the request propertysubscriptions/items/request-property-enum-value-added
- ○
added the new
card_payment_failedenum value to the request propertysubscriptions/items/request-property-enum-value-added
- ●