Skip to main content

Get Ramp Config

Returns the current ramp configuration including integration mode and supported directions.

GEThttps://api.zenpayz.com/payment/api/v1/on-ramp/config
Bearer · API key

Request

Headers

HeaderDescription
x-request-id
OPTIONAL
Custom request ID for tracing
Public Endpoint

This endpoint does not require authentication headers.

Response

Success (200 OK)

{
"success": true,
"data": {
"integrationMode": "api",
"supportsBuy": true,
"supportsSell": true,
"widgetBaseUrl": "https://buy.onramper.com"
},
"message": "Config retrieved"
}

Response Fields

ParameterTypeDescription
integrationMode
OPTIONAL
stringwidget, api, or both
supportsBuy
OPTIONAL
booleanWhether on-ramp (fiat to crypto) is enabled
supportsSell
OPTIONAL
booleanWhether off-ramp (crypto to fiat) is enabled
widgetBaseUrl
OPTIONAL
stringBase URL for the embeddable widget

Error Responses

CodeHTTPMessage
RAMP_CONFIG_FAILED500Failed to retrieve configuration

Examples

curl https://api.zenpayz.com/payment/api/v1/on-ramp/config

Next Steps