Skip to content
Contact support
API reference/Payment links

Discover payment methods

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

Availability is scoped to your wallet and the optional order price. Specific crypto networks and assets are shown after a link is provisioned. Check availability again with requireAllLocalMethods when you promise a method.

Jump to parameters

Authentication

Authorization: Bearer <accessToken>

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

Parameters

amountUsdstring · queryOptional

The price in dollars, from 0.50 to 1000000, as a decimal string ("100", "99.5"), never a JSON number. The Gateway Fee is yours: it comes out of what is counted and the payer never sees it. Absent: the payer chooses what to send.

pattern ^\d{1,7}(\.\d{1,2})?$
routeFeePayerstring · queryOptional
one of customer, merchant
maxRouteFeeUsdstring · queryOptional

Required per-payment sponsorship cap in USD when the merchant covers Whish fees. Other routes and wallet gas stay customer-paid.

pattern ^\d{1,7}(\.\d{1,2})?$

Responses

Discover payment methods

Response schema · PaymentMethods

cryptoCheckoutbooleanRequired
localMethodsarray of objectRequired
localMethods[].codestringRequired
localMethods[].namestringRequired
localMethods[].statestringRequired
one of available, unavailable
localMethods[].reasonstring or nullRequired
one of temporarily_paused, amount_unavailable, null, checkout_unavailable
Next in api referenceFind links by order reference

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