v1

latestOpenAPI 3.0.02026-07-24140351.5 KB
Supported

Get Payments

Retruns the payment methods available for a given transaction type, whether the payment is recurring or not. The response will provide a list of supported payment methods for both fiat and cryptocurrency transactions.

Note:

This endpoint returns results for (type, country) combinations.

For a (type, country) there are multiple available (source, destination) currency pairs. This endpoint does not guarantee that all payment methods returned will be valid for the (source, destination) pairs available in that (type, country). Rather payment methods will be returned if a payment method is available for at least one (source, destination) pair in that (type, country).

Recommended usage:

Call this endpoint to get the available payment methods for the (type, country) combination.

Then filter the payment methods by calling the Payment Type Source Destination endpoint to filter by (type, source, destination).

🛠️ Please Use https://api-stg.onramper.com/ For Test Environments

get/supported/payment-types

Query parameters

typestring

Transaction type (buy/sell). Default: buy

isRecurringPaymentboolean

Only applicable to "type=buy"

countrystring

Country for the filtration (If not specified, the country will be automatically determined based on the IP address from which the request originates.)

subdivisionstring

Subdivision for the filtration (If not specified, the subdivision will be automatically determined based on the IP address from which the request originates.)

Headers

Authorizationstring

Response

OK

object required