Retrieve supported payment methods for the specified transaction type as part of the configuration data required to build onboarding and transaction flows.
Use Cases:
- Populate payment method selectors for on-ramp and off-ramp journeys
- Determine which fiat currencies are available for each payment method
- Pre-configure transaction forms before requesting quotes or creating ramps
- Show only valid payment options for the customer's selected transaction direction
Transaction Types:
onramp- Payment methods available for buying cryptocurrency with fiatofframp- Payment methods available for selling cryptocurrency to fiat
Response Structure: Each payment method includes:
method: Unique code used in API requestsname: Human-readable payment method namesupportedFiats: Fiat currencies supported by that payment method
Security
HMACAuth
- Mock serverhttps://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/payment-methods/{transactionType}
- Production environment serverhttps://api.banxa.com/eapi/v0/payment-methods/{transactionType}
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/payment-methods/{transactionType}
curl -i -X GET \
https://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/payment-methods/onramp \
-H 'Authorization: YOUR_API_KEY_HERE'Response
- On-ramp payment methods
- Off-ramp payment methods
Available payment methods for buying cryptocurrency
{ "data": [ { … }, { … }, { … }, { … } ] }