Skip to main content
GET
/
rate
/
onramp
Get rate
curl --request GET \
  --url https://processor-prod.up.railway.app/rate/onramp \
  --header 'x-service-key: <api-key>'
{
  "success": true,
  "status": 200,
  "message": "Onramp rate fetched successfully",
  "timestamp": "2025-09-10T01:35:36.935Z",
  "data": {
    "rate": 1521
  }
}

Authorizations

x-service-key
string
header
required

Query Parameters

currency
enum<string>
required

The currency code to get the onramp rate for

Available options:
NGN
Example:

"NGN"

Response

200 - application/json

Onramp rate fetched successfully

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Onramp rate fetched successfully"

timestamp
string<date-time>
Example:

"2025-09-10T01:35:36.935Z"

data
object
I