Update a webhook subscription
Changed onUpdate a webhook subscription
Required scopes: application/webhooks:read, application/webhooks:write
Request
- Base URLhttps://api.yoco.com
- AuthHTTP bearer
Path parameters
The unique identifier of the subscription.
Request body
Example request
{
"enabled": false
}Response
Successful Response
Example response
{
"created_at": "2024-11-19T15:27:02+00:00",
"enabled": true,
"event_types": [
"payment.created"
],
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"name": "Example Webhook Subscription",
"notification_url": "https://webhook.site/1d9d0c3c-c0f9-4def-8cf1-99efb5931eca",
"secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD",
"updated_at": "2024-11-19T15:27:02+00:00"
}Changes
- breaking
the
request property format changed fromurito no format
- breaking
- warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to the///response property for the response status - warning
added the new
content_too_largeenum value to the///response property for the response status - warning
added the new
content_too_largeenum value to the///response property for the response status - warning
added the new
content_too_largeenum value to the///response property for the response status - warning
added the new
content_too_largeenum value to the///response property for the response status - warning
added the new
unsupported_media_typeenum value to theresponse property for the response status - warning
added the new
unsupported_media_typeenum value to theresponse property for the response status - warning
added the new
unsupported_media_typeenum value to theresponse property for the response status - warning
added the new
unsupported_media_typeenum value to theresponse property for the response status - warning
added the new
unsupported_media_typeenum value to theresponse property for the response status - warning
added the new
unsupported_media_typeenum value to the///response property for the response status - warning
added the new
unsupported_media_typeenum value to the///response property for the response status - warning
added the new
unsupported_media_typeenum value to the///response property for the response status - warning
added the new
unsupported_media_typeenum value to the///response property for the response status - warning
added the new
unsupported_media_typeenum value to the///response property for the response status
- warning