Pay: webhooks

Send a test event to an endpoint

POST/v1/webhook_endpoints/{id}/test

Queues a webhook_endpoint.test event for this endpoint only. Test events never appear in /v1/events.

Authentication
API key (Authorization: Bearer)
Required scope
pay:write
  • Safe to retry with the Idempotency-Key header: see Idempotency.

Path parameters#

  • idstring · uuidrequired

Headers#

  • Idempotency-Keystringrequired

    Required on every Pay POST; makes it safe to retry for 24 hours. Scoped to the key's environment.

    1 to 255 characters

Responses#

202Test event queued.
Object fields
  • objectstring
    Values webhook_test
  • endpoint_idstring · uuid
  • event_idstring
  • statusstring
    Values queued
4xx · 5xxError.

Standard error format: see Errors.