PUT
/
webhooks
/
{webhook_id}
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "Checkout Callback",
  "endpoint": "https://my-checkout.com/callback"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhook_id
string
required

The Webhook ID.

Body

application/json
The details required to update the webhook.

The body is of type object.

Response

200
application/json
Successfully updated webhook.

The response is of type object.