Skip to content
API reference/Payment links

Read a link

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

What 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 parameters

Authentication

Authorization: Bearer <accessToken>

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

Parameters

uuidstring · queryRequired

The 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

uuidstringRequired
format uuid
kindstringRequired

Links you create here are order. A remittance link is one client's reusable link, made in the app.

one of order, remittance
descriptionstringRequired
externalReferencestring or nullRequired
statusstringRequired
one of active, void
receiverAddressstringRequired

An Ethereum address.

pattern ^0x[0-9a-fA-F]{40}$
checkoutUrlstringRequired
format uri
createdAtstringRequired
format date-time
receiptsarray of objectRequired
receipts[].assetstringRequired

CUSD for a cash payment.

one of USDC, USDT, CUSD
receipts[].txHashstringRequired

The transaction that paid the link's receiving address.

receipts[].logIndexintegerRequired
receipts[].grossAtomicstringRequired

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

pattern ^\d+$
receipts[].feeSharesstring or nullRequired
receipts[].netSharesstring or nullRequired
receipts[].feeAtomicstring or nullRequired

The Gateway Fee, once settled.

pattern ^\d+$
receipts[].netValueAtomicstring or nullRequired

What your wallet was credited, once settled.

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

The Gateway Fee rate applied, in basis points.

receipts[].statestringRequired
one of pending, settled
receipts[].settlementTxHashstring or nullRequired
receipts[].createdAtstring or nullRequired
format date-time
receipts[].methodstringOptional

Only on a cash payment.

one of whish
receipts[].paidUsdstringOptional

Only on a cash payment: what the payer paid, their cash-in fee included.

receipts[].cashInFeeUsdstringOptional

Only on a cash payment: the cash-in fee.

localMethodsarray of stringRequired
paymentReferencestring or nullRequired
amountUsdstring or nullRequired

Dollars and cents as a decimal string.

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

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
leftUsdstring or nullRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
paidbooleanRequired
Next in api referenceList webhook signers

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