POST /api/sandbox/webhooks
POST/api/sandbox/webhooks
Creates or updates the sandbox webhook endpoint for the current API key. URL must be public https://, without credentials and without a local or private host.
The first create response and responses with rotate_secret=true return signingSecret; store it immediately. POST requests require Idempotency-Key.
Request
Responses
- 200
- 400
- 401
- 409
- 429
Webhook endpoint created or updated
Invalid request: invalid body, missing Idempotency-Key for POST, unknown action, or invalid amount
Sandbox API key is missing or invalid
The flow cannot continue from the current state, a balance/limit is insufficient, or Idempotency-Key conflicts
Sandbox API rate limit exceeded