Sends a mock Interac collection webhook to your configured collection_url. Only available outside production; returns 400 in production. Required scope: mock:webhook:trigger.
Authorization
oauth2ClientCredentials mock:webhook:triggerAuthorizationBearer <token>
Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.
In: header
Scope: mock:webhook:trigger
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
Simulate Interac webhook (non-production)
curl --request POST \ --url 'https://example.com/api/external/mock/simulate-webhook/interac' \ --header 'Content-Type: application/json' \ --data '{ "interac_email": "customer@example.com", "collection_name": "John Doe", "amount": 100.5}'{ "message": "Webhook sent successfully"}