Withdraw to a bank
curl --request POST \
--url https://api.pay.flipeet.io/api/v1/merchant/transaction/fiat/withdrawal \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amount": 100,
"currency": "usdc",
"payoutCurrency": "NGN",
"country": "NG",
"beneficiary": {
"holder_name": "Chidi Okafor",
"holder_type": "individual",
"account_number": "0123456789",
"bank_code": "044"
}
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 100,
currency: 'usdc',
payoutCurrency: 'NGN',
country: 'NG',
beneficiary: {
holder_name: 'Chidi Okafor',
holder_type: 'individual',
account_number: '0123456789',
bank_code: '044'
}
})
};
fetch('https://api.pay.flipeet.io/api/v1/merchant/transaction/fiat/withdrawal', 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/merchant/transaction/fiat/withdrawal"
payload = {
"amount": 100,
"currency": "usdc",
"payoutCurrency": "NGN",
"country": "NG",
"beneficiary": {
"holder_name": "Chidi Okafor",
"holder_type": "individual",
"account_number": "0123456789",
"bank_code": "044"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Withdrawal initiated",
"status": "success",
"statusCode": 201,
"data": {
"id": "0d9e8f7a-6b5c-4d3e-2f1a-0b9c8d7e6f5a",
"type": "offramp",
"reference": "payout_5511",
"status": "processing",
"currency": "usdc",
"network": "solana",
"amount": 100,
"address": null,
"txHash": null,
"failureReason": null,
"note": null,
"metadata": {
"beneficiary": {
"holder_name": "Chidi Okafor",
"holder_type": "individual",
"account_number": "0123456789",
"bank_code": "044"
},
"payoutCurrency": "NGN",
"country": "NG",
"channel": "BANK_TRANSFER"
},
"livemode": true,
"createdAt": "2026-11-04T10:21:09.000Z",
"updatedAt": "2026-11-04T10:21:09.000Z"
}
}{
"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"
}Withdrawals
Withdraw to a bank
Pays local currency to a bank account from your stablecoin balance. Get the bank_code from List institutions and confirm the account holder with Verify an account before you pay.
POST
/
api
/
v1
/
merchant
/
transaction
/
fiat
/
withdrawal
Withdraw to a bank
curl --request POST \
--url https://api.pay.flipeet.io/api/v1/merchant/transaction/fiat/withdrawal \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amount": 100,
"currency": "usdc",
"payoutCurrency": "NGN",
"country": "NG",
"beneficiary": {
"holder_name": "Chidi Okafor",
"holder_type": "individual",
"account_number": "0123456789",
"bank_code": "044"
}
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 100,
currency: 'usdc',
payoutCurrency: 'NGN',
country: 'NG',
beneficiary: {
holder_name: 'Chidi Okafor',
holder_type: 'individual',
account_number: '0123456789',
bank_code: '044'
}
})
};
fetch('https://api.pay.flipeet.io/api/v1/merchant/transaction/fiat/withdrawal', 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/merchant/transaction/fiat/withdrawal"
payload = {
"amount": 100,
"currency": "usdc",
"payoutCurrency": "NGN",
"country": "NG",
"beneficiary": {
"holder_name": "Chidi Okafor",
"holder_type": "individual",
"account_number": "0123456789",
"bank_code": "044"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Withdrawal initiated",
"status": "success",
"statusCode": 201,
"data": {
"id": "0d9e8f7a-6b5c-4d3e-2f1a-0b9c8d7e6f5a",
"type": "offramp",
"reference": "payout_5511",
"status": "processing",
"currency": "usdc",
"network": "solana",
"amount": 100,
"address": null,
"txHash": null,
"failureReason": null,
"note": null,
"metadata": {
"beneficiary": {
"holder_name": "Chidi Okafor",
"holder_type": "individual",
"account_number": "0123456789",
"bank_code": "044"
},
"payoutCurrency": "NGN",
"country": "NG",
"channel": "BANK_TRANSFER"
},
"livemode": true,
"createdAt": "2026-11-04T10:21:09.000Z",
"updatedAt": "2026-11-04T10:21:09.000Z"
}
}{
"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
