Skip to content
API reference/Settlements

List settlements

GEThttps://api.cadmospay.com/machine/v1/gateway/settlements

Your settlements, oldest first, 100 a page; follow cursor=<next> until next is null. Send since or cursor, never both; neither starts from the beginning.

Jump to parameters

This is the catch-up for webhooks. To resume, ask since the time of your last sync minus a few minutes and drop the ids you already have: a settlement can be recorded slightly after one stamped later. It also lists payments to the links you made in the app (externalReference: null).

Authentication

Authorization: Bearer <accessToken>

The accessToken from POST /v1/external-auth/token, valid 15 minutes.

Parameters

sincestring · queryOptional

ISO 8601 time with a Z, inclusive.

format date-time
cursorstring · queryOptional

The next of the previous page.

pattern ^\d{13}\.\d{1,10}$

Responses

One page.

Response schema · SettlementPage

itemsarray of objectRequired
items at most 100
items[].idstringRequired

The payment's on-chain transfer id. Unique: drop one you already have.

pattern ^0x[0-9a-fA-F]{64}$
items[].linkUuidstringRequired

Ignore a link you do not know: it was made in the app.

format uuid
items[].externalReferencestring or nullRequired

Your reference, null for a link made in the app.

items[].assetstringRequired

What arrived: CUSD for a cash payment.

one of USDC, USDT, CUSD
items[].grossstringRequired

An integer string of 6-decimal units: "100000000" is 100.000000.

pattern ^\d+$
items[].gatewayFeestring or nullRequired

An integer string of 6-decimal units: "100000000" is 100.000000.

pattern ^\d+$
items[].appliedRateBpsinteger or nullRequired
items[].netCusdstringRequired

What your wallet was credited.

pattern ^\d+$
items[].settledAtstring or nullRequired
format date-time
items[].settlementobjectRequired
items[].settlement.chainstringRequired
one of arbitrum
items[].settlement.txHashstring or nullRequired

The transaction that credited your wallet.

items[].whishCashInstring or nullRequired

The Whish cash-in behind a cash payment; null for crypto.

items[].destinationstringRequired

Always your Cadmos wallet.

one of cadmos_wallet
nextstring or nullRequired

The cursor of the next page, or null on the last page.

pattern ^\d{13}\.\d{1,10}$
Next in api referenceSettlement event

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