Discover payment methods
https://api.cadmospay.com/machine/v1/gateway/methodsAvailability 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 parametersAuthentication
Authorization: Bearer <accessToken>
The accessToken from POST /v1/external-auth/token, valid 15 minutes.
Parameters
amountUsdstring · queryOptionalThe 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 · queryOptionalone of customer, merchantmaxRouteFeeUsdstring · queryOptionalRequired 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
cryptoCheckoutbooleanRequiredlocalMethodsarray of objectRequiredlocalMethods[].codestringRequiredlocalMethods[].namestringRequiredlocalMethods[].statestringRequiredone of available, unavailablelocalMethods[].reasonstring or nullRequiredone of temporarily_paused, amount_unavailable, null, checkout_unavailable