Skip to content
Contact support
API reference/Settlements

Send a test webhook

POSThttps://api.cadmospay.com/machine/v1/gateway/webhooks/test

Queues 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 body

Authentication

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.

requestIdstringRequired
pattern ^[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

deliveryIdintegerRequired
eventIdstringRequired
typestringRequired
statusstringRequired
attemptsintegerRequired
createdAtstringRequired
format date-time
lastUpdatedAtstringRequired
format date-time
sentAtstring or nullRequired
nextAttemptAtstring or nullRequired
outcomestring or nullRequired
replayedBystring or nullRequired
Next in api referenceList webhook deliveries

We use necessary cookies to run this site. With your permission, we also use analytics and advertising technologies to measure visits and downloads.