Request & Response Format
Standard request and response formats used across the IvoryPay API.
Request format
curl -X POST https://ramp-api.ivorypay.io/api/v1/onramp \
-H "x-api-key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"firstName": "Amina",
"lastName": "Okafor",
"email": "amina@example.com",
"walletAddress": "0x1234...abcd",
"blockchain": "BSC_MAINNET",
"reference": "unique-ref-123",
"token": "USDT",
"fiatCurrency": "NGN",
"fiatAmount": 50000
}'Success response
Field
Type
Description
Error response
Field
Type
Description
Validation errors
HTTP status codes
Code
Meaning
When it occurs
Last updated