Sandbox helpers
Trigger a test webhook (sandbox-only)
Fires a real signed webhook to the business's configured callback URL using a real entity (customer, payment method, or transaction) as the payload. Useful for testing webhook handlers in sandbox without manufacturing the underlying activity. This endpoint is only available in the sandbox environment and will return a 403 Forbidden response in production. The business must have a webhook callback URL configured, or the request is rejected with 400.
post/api/v1/webhooks/trigger
Request
- Base URLhttps://sandbox.api.afriex.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"entityId": "69528240ba52c13b669fb239"
}Response
Webhook triggered successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.