GET
/configuration
curl \
-X GET https://ramp-api.dev.stably.io/public/api/v1/configuration
Response examples (200)
{
"version": "1.0.0",
"updatedAt": "2021-01-01T00:00:00Z",
"features": {
"quotes": {
"enabled": true
},
"buy": {
"enabled": true,
"recurring": {
"enabled": true,
"frequencies": [
"weekly"
]
},
"redirectOrderId": [
"orderId"
],
"orderCustomId": true,
"browser": "IN_APP_OS_BROWSER",
"userAgent": "string"
},
"orderTracking": {
"enabled": true
},
"orderAnalytics": {
"enabled": true
}
},
"countries": [
{
"id": "us",
"states": [
"ny"
],
"unsupported": [
{
"region": "NY",
"payment": "string",
"fiat": "string",
"crypto": "string",
"feature": "buy"
}
]
}
],
"payments": [
{
"id": "debit-credit-card",
"unsupported": [
{
"region": "NY",
"payment": "string",
"fiat": "string",
"crypto": "string",
"feature": "buy"
}
]
}
],
"fiat": [
{
"id": "USD",
"paymentLimits": [
{
"id": "debit-credit-card",
"min": "10",
"max": "50000"
}
],
"unsupported": [
{
"region": "NY",
"payment": "string",
"fiat": "string",
"crypto": "string",
"feature": "buy"
}
]
}
],
"crypto": [
{
"id": "eth",
"address": "0x000000000",
"network": "1",
"paymentLimits": [
{
"id": "debit-credit-card",
"min": "10",
"max": "50000"
}
],
"unsupported": [
{
"region": "NY",
"payment": "string",
"fiat": "string",
"crypto": "string",
"feature": "buy"
}
]
}
]
}
Response examples (500)
{
"error": "string",
"code": 42,
"message": "string"
}