Skip to content
Contact support
API reference/Payment links

Quote a crypto payment

GEThttps://api.cadmospay.com/app/v1/gateway/checkout/{token}/quote

For a fixed-price order, pass the chain and coin from one current cryptoRoutes entry. Display its depositAddress and the returned payAmount together. Refresh when the route or remaining amount changes. An open-amount link needs no quote. The quote route allows 20 requests per minute per IP.

Jump to parameters

Authentication

This endpoint accepts requests without a bearer token.

Parameters

tokenstring · pathRequired

Checkout secret returned as token by createLink.

pattern ^[A-Za-z0-9_-]{43}$
chainstring · queryRequired

Network identifier from the selected route.

coinstring · queryRequired
one of USDC, USDT

Responses

Amount of the selected coin to send for the current outstanding balance.

Response schema · CheckoutQuote

coinstringRequired
one of USDC, USDT
payAmountstringRequired

Amount of coin that must arrive.

usdcFeeUsdstring or nullRequired

USDC conversion fee in dollars, when applicable.

usdcPricestring or nullRequired

USDC price used in the quote.

networkFeeUsdstring or nullRequired

Bridge network fee in dollars, when applicable.

minimumUsdstring or nullOptional

Smallest payment that settles if more than the remaining balance, otherwise null.

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.