API reference/Settlements
Send a test webhook
POST
https://api.cadmospay.com/machine/v1/gateway/webhooks/testQueues a signed gateway.test event to your registered callback. Keep requestId to retry. Read deliveries to check its outcome. This event never represents a payment.
Jump to request bodyAuthentication
Authorization: Bearer <accessToken>
The accessToken from POST /v1/external-auth/token, valid 15 minutes.
Request body
application/json · TestWebhookRequest
Only the listed properties are accepted.
requestIdstringRequiredpattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
Responses
Send a test webhook
Response schema · WebhookDelivery
deliveryIdintegerRequiredeventIdstringRequiredtypestringRequiredstatusstringRequiredattemptsintegerRequiredcreatedAtstringRequiredformat date-timelastUpdatedAtstringRequiredformat date-timesentAtstring or nullRequirednextAttemptAtstring or nullRequiredoutcomestring or nullRequiredreplayedBystring or nullRequired
Next in api referenceList webhook deliveries