v31

latestOpenAPI 3.0.1MITraw.githubusercontent.com2026-07-082421122.2 KB
Webhook

Update a webhook

Update a webhook to receive notifications for transaction events

put/webhook

Request body

urlstring string
secretstring string

Example request

{
  "url": "https://webhook.site/12345678-1234-1234-1234-123456789012",
  "secret": "secret"
}

Response

Webhook response

statusstring string

Example response

{
  "status": "ok",
  "data": {
    "url": "https://webhook.site/12345678-1234-1234-1234-123456789012",
    "secret": "secret",
    "event": {
      "event": "ping",
      "data": {
        "message": "This is a test webhook event",
        "timestamp": "2021-07-01T12:00:00Z"
      }
    }
  }
}