Skip to content
Contact support
API reference/Webhooks

Paid-in-full event received

POSTYour registered HTTPS endpoint

A 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 · headerRequired

Unix seconds when this attempt was sent.

pattern ^\d+$
X-Cadmos-Signaturestring · headerRequired

EIP-191 signature over <X-Cadmos-Timestamp>.<id>.<sha256 hex of the body>.

pattern ^0x[0-9a-fA-F]{130}$

Request body

application/json · PaidEvent

idstringRequired
typestringRequired
always order.paid
linkUuidstringRequired
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}$
externalReferencestring or nullRequired
amountUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
countedUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
leftUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
paidbooleanRequired
always true
Example
{
  "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.

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