API reference/Webhooks
Paid-in-full event received
POST
Your registered HTTPS endpointA fixed-price order opted into this event and reached its paid tolerance. It may arrive before or after the final settlement webhook. Deduplicate by id and fulfil each order once. Verify the body using the settlement webhook signature procedure.
Parameters
X-Cadmos-Timestampstring · headerRequiredUnix seconds when this attempt was sent.
pattern ^\d+$X-Cadmos-Signaturestring · headerRequiredEIP-191 signature over
<X-Cadmos-Timestamp>.<id>.<sha256 hex of the body>.pattern ^0x[0-9a-fA-F]{130}$
Request body
application/json · PaidEvent
idstringRequiredtypestringRequiredalways order.paidlinkUuidstringRequiredpattern ^[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}$externalReferencestring or nullRequiredamountUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$countedUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$leftUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$paidbooleanRequiredalways true
{
"id": "paid-11111111-2222-4333-8444-555555555555",
"type": "order.paid",
"linkUuid": "11111111-2222-4333-8444-555555555555",
"externalReference": "order-42",
"amountUsd": "100.00",
"countedUsd": "100.00",
"leftUsd": "0.00",
"paid": true
}Responses
Stored. Any other answer is retried.