v1
latestOpenAPI 3.0.02026-07-2459256884.4 KBPartner Webhooks
Update a Webhook
This API allows you to update a specified webhook
patch/v1/partners/webhooks/{webhookId}
Path parameters
webhookIdstring required
Request body
Example request
{
"eventType": "USER_PAYMENT_STATUS",
"url": "http://localhost:8000/paymentStatusWebhook",
"headers": [
{
"name": "Authorization",
"value": "Bearer token"
}
]
}Response
Successful response
Example response
{
"status": {
"code": 200,
"desc": "success",
"messages": [
{
"desc": "Example description"
}
]
},
"data": {
"isEnabled": true,
"webhookId": "067f4179-6be6-4c50-9933-89893b979f06",
"eventType": "USER_PAYMENT_STATUS",
"url": "http://localhost:8000/paymentStatusWebhook",
"headers": [
{
"name": "Authorization",
"value": "Bearer token"
}
]
}
}