CDP API v1
cURL
curl --request GET \ --url https://api.developer.coinbase.com/onramp/v1/buy/config \ --header 'Authorization: Bearer <token>'
{ "countries": [ { "id": "<string>", "paymentMethods": [ { "id": "UNSPECIFIED" } ], "subdivisions": [ "<string>" ] } ] }
The Buy Config API returns the list of countries supported by Coinbase Pay Onramp, and the payment methods available in each country. Clients should call this API periodically and cache the response.
Show child attributes
Was this page helpful?