Read a link
https://api.cadmospay.com/machine/v1/gateway/linksWhat the link received, and on a link with an amount whether it is paid. A webhook is one payment: read the link to learn whether the order is paid. Limit: 120 reads a minute, shared with the settlements list.
Jump to parametersAuthentication
Authorization: Bearer <accessToken>
The accessToken from POST /v1/external-auth/token, valid 15 minutes.
Parameters
uuidstring · queryRequiredThe link's uuid.
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
The link.
Response schema · Link
uuidstringRequiredformat uuidkindstringRequiredLinks you create here are
order. Aremittancelink is one client's reusable link, made in the app.one of order, remittancedescriptionstringRequiredexternalReferencestring or nullRequiredstatusstringRequiredone of active, voidreceiverAddressstringRequiredAn Ethereum address.
pattern ^0x[0-9a-fA-F]{40}$checkoutUrlstringRequiredformat uricreatedAtstringRequiredformat date-timereceiptsarray of objectRequiredreceipts[].assetstringRequiredCUSDfor a cash payment.one of USDC, USDT, CUSDreceipts[].txHashstringRequiredThe transaction that paid the link's receiving address.
receipts[].logIndexintegerRequiredreceipts[].grossAtomicstringRequiredAn integer string of 6-decimal units:
"100000000"is 100.000000.pattern ^\d+$receipts[].feeSharesstring or nullRequiredreceipts[].netSharesstring or nullRequiredreceipts[].feeAtomicstring or nullRequiredThe Gateway Fee, once settled.
pattern ^\d+$receipts[].netValueAtomicstring or nullRequiredWhat your wallet was credited, once settled.
pattern ^\d+$receipts[].appliedRateBpsinteger or nullRequiredThe Gateway Fee rate applied, in basis points.
receipts[].statestringRequiredone of pending, settledreceipts[].settlementTxHashstring or nullRequiredreceipts[].createdAtstring or nullRequiredformat date-timereceipts[].methodstringOptionalOnly on a cash payment.
one of whishreceipts[].paidUsdstringOptionalOnly on a cash payment: what the payer paid, their cash-in fee included.
receipts[].cashInFeeUsdstringOptionalOnly on a cash payment: the cash-in fee.
localMethodsarray of stringRequiredpaymentReferencestring or nullRequiredamountUsdstring or nullRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$countedUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$leftUsdstring or nullRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$paidbooleanRequired