GET
/
v1
/
buy
/
config
Get buy config
curl --request GET \
  --url https://api.developer.coinbase.com/onramp/v1/buy/config \
  --header 'Authorization: Bearer <token>'
{
  "countries": [
    {
      "id": "<string>",
      "payment_methods": [
        {
          "id": "UNSPECIFIED"
        }
      ],
      "subdivisions": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your JSON Web Token (JWT) here. Refer to the Generate JWT section of our Authentication docs for information on how to generate your Bearer Token.

Response

OK

List of supported countries and payment methods for buying

countries
object[]

List of supported countries and the payment methods available in each country