Create an on-ramp order
curl --request POST \
--url https://api.pay.flipeet.io/api/v1/public/on-ramp/initialize \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amount": 150000,
"asset": "usdc",
"network": "base",
"currency": "NGN",
"country": "NG",
"channel": "BANK",
"reference": "ramp_901",
"callback_url": "https://app.example.com/hooks/flipeet",
"beneficiary": {
"holder_type": "INDIVIDUAL",
"holder_name": "Ngozi Eze",
"wallet_address": "0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21"
}
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 150000,
asset: 'usdc',
network: 'base',
currency: 'NGN',
country: 'NG',
channel: 'BANK',
reference: 'ramp_901',
callback_url: 'https://app.example.com/hooks/flipeet',
beneficiary: {
holder_type: 'INDIVIDUAL',
holder_name: 'Ngozi Eze',
wallet_address: '0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21'
}
})
};
fetch('https://api.pay.flipeet.io/api/v1/public/on-ramp/initialize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pay.flipeet.io/api/v1/public/on-ramp/initialize"
payload = {
"amount": 150000,
"asset": "usdc",
"network": "base",
"currency": "NGN",
"country": "NG",
"channel": "BANK",
"reference": "ramp_901",
"callback_url": "https://app.example.com/hooks/flipeet",
"beneficiary": {
"holder_type": "INDIVIDUAL",
"holder_name": "Ngozi Eze",
"wallet_address": "0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Successfully",
"status": "success",
"statusCode": 201,
"data": {
"success": true,
"message": "Onramp initiated",
"livemode": true,
"data": {
"reference": "ramp_901",
"status": "AWAITING_DEPOSIT",
"rate": 1500,
"source": {
"amount": 150000,
"currency": "NGN"
},
"destination": {
"amount": 99.25,
"currency": "usdc"
},
"deposit": {
"bank_name": "Providus Bank",
"account_number": "9100482736",
"account_name": "Flipeet / Ngozi Eze",
"amount": 150000
},
"beneficiary": {
"holder_type": "INDIVIDUAL",
"holder_name": "Ngozi Eze",
"wallet_address": "0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21"
}
}
}
}{
"message": "Amount must be a positive number",
"status": "error",
"statusCode": 400,
"code": "invalid_request",
"details": {
"errors": [
"Amount must be a positive number"
]
},
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Invalid or inactive API key",
"status": "error",
"statusCode": 401,
"code": "authentication_failed",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Reference payout_5510 already exists",
"status": "error",
"statusCode": 409,
"code": "conflict",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Too many requests. Slow down and try again shortly.",
"status": "error",
"statusCode": 429,
"code": "rate_limited",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Internal server error",
"status": "error",
"statusCode": 500,
"code": "internal_error",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "The payment partner could not complete the request",
"status": "error",
"statusCode": 502,
"code": "provider_error",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}Ramps
Create an on-ramp order
Your customer pays local currency and the stablecoin goes straight to beneficiary.wallet_address. The response’s data.deposit has the account to pay into and the exact amount. Every status change is sent to callback_url.
POST
/
api
/
v1
/
public
/
on-ramp
/
initialize
Create an on-ramp order
curl --request POST \
--url https://api.pay.flipeet.io/api/v1/public/on-ramp/initialize \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amount": 150000,
"asset": "usdc",
"network": "base",
"currency": "NGN",
"country": "NG",
"channel": "BANK",
"reference": "ramp_901",
"callback_url": "https://app.example.com/hooks/flipeet",
"beneficiary": {
"holder_type": "INDIVIDUAL",
"holder_name": "Ngozi Eze",
"wallet_address": "0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21"
}
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 150000,
asset: 'usdc',
network: 'base',
currency: 'NGN',
country: 'NG',
channel: 'BANK',
reference: 'ramp_901',
callback_url: 'https://app.example.com/hooks/flipeet',
beneficiary: {
holder_type: 'INDIVIDUAL',
holder_name: 'Ngozi Eze',
wallet_address: '0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21'
}
})
};
fetch('https://api.pay.flipeet.io/api/v1/public/on-ramp/initialize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pay.flipeet.io/api/v1/public/on-ramp/initialize"
payload = {
"amount": 150000,
"asset": "usdc",
"network": "base",
"currency": "NGN",
"country": "NG",
"channel": "BANK",
"reference": "ramp_901",
"callback_url": "https://app.example.com/hooks/flipeet",
"beneficiary": {
"holder_type": "INDIVIDUAL",
"holder_name": "Ngozi Eze",
"wallet_address": "0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Successfully",
"status": "success",
"statusCode": 201,
"data": {
"success": true,
"message": "Onramp initiated",
"livemode": true,
"data": {
"reference": "ramp_901",
"status": "AWAITING_DEPOSIT",
"rate": 1500,
"source": {
"amount": 150000,
"currency": "NGN"
},
"destination": {
"amount": 99.25,
"currency": "usdc"
},
"deposit": {
"bank_name": "Providus Bank",
"account_number": "9100482736",
"account_name": "Flipeet / Ngozi Eze",
"amount": 150000
},
"beneficiary": {
"holder_type": "INDIVIDUAL",
"holder_name": "Ngozi Eze",
"wallet_address": "0x5aE1c3B0d2F4e6A8b0C2d4E6f8A0b2C4d6E89c21"
}
}
}
}{
"message": "Amount must be a positive number",
"status": "error",
"statusCode": 400,
"code": "invalid_request",
"details": {
"errors": [
"Amount must be a positive number"
]
},
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Invalid or inactive API key",
"status": "error",
"statusCode": 401,
"code": "authentication_failed",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Reference payout_5510 already exists",
"status": "error",
"statusCode": 409,
"code": "conflict",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Too many requests. Slow down and try again shortly.",
"status": "error",
"statusCode": 429,
"code": "rate_limited",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "Internal server error",
"status": "error",
"statusCode": 500,
"code": "internal_error",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}{
"message": "The payment partner could not complete the request",
"status": "error",
"statusCode": 502,
"code": "provider_error",
"details": null,
"requestId": "req_5f0c2a9b8d7e4c1f9a3b6d2e1c0f7a8b",
"timestamp": "2026-11-04T10:00:00.000Z"
}Authorizations
Body
application/json
