Skip to content

Get Payment Methods

Request

Retrieve all possible payment methods or filter the available by a fiat or coin code. The type of exchange is determined based on the codes provided to the source and target.

If the payment has a supported_agents field which is not null then there are limitations for accessing this payment by browser and operating system. To avoid the payment failing please block customers from accessing those payments from the wrong device

Security
sec0
Query
sourcestring

Source currency or cryptocurrency code.

Default:"ETH"
targetstring

Source currency or cryptocurrency code.

Default:"USD"
Headers
Acceptstring
Default:"application/json"
X-Request-Idstring

This is the correlation ID related to the request.

curl -i -X GET \
  'https://docs.banxa.com/_mock/products/legacy-api/openapi/api/payment-methods?source=ETH&target=USD' \
  -H 'Accept: application/json' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'X-Request-Id: string'

Responses

200

Bodyapplication/json
dataobject
Response
{ "data": { "payment_methods": [] } }