Webhooks

Set webhook config

The PUT /webhook/config endpoint sets the webhook configuration.

put/webhook/config

Request

  • Base URL
    https://api.token.io
  • URL
    https://api.token.io/webhook/config
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Request body

Example request

{
  "config": {
    "type": [
      "PAYMENT_STATUS_CHANGED"
    ],
    "url": "your-webhook-url.com"
  }
}

Response

Successful response

SetWebhookConfigResponse required

No data included or required in the response.

Changes

No recorded changes to this operation across all 5 revisions of this API.