Create a bank deposit
curl --request POST \
--url https://api.pay.flipeet.io/api/v1/merchant/transactions/fiat/initialize \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amount": 150000,
"currency": "NGN"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: 150000, currency: 'NGN'})
};
fetch('https://api.pay.flipeet.io/api/v1/merchant/transactions/fiat/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/merchant/transactions/fiat/initialize"
payload = {
"amount": 150000,
"currency": "NGN"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Fiat transaction initialized",
"status": "success",
"statusCode": 201,
"data": {
"reference": "inv_2202",
"type": "fiat",
"fiatAmount": 150000,
"fiatCurrency": "NGN",
"settlementAsset": "usdc",
"settlementNetwork": "base",
"status": "processing",
"livemode": true,
"deposit": {
"bank_name": "Providus Bank",
"account_number": "9728638727",
"account_name": "Ada Stores",
"amount": 150000,
"currency": "NGN"
},
"source": {
"amount": 150000,
"currency": "NGN"
},
"destination": {
"amount": 100,
"currency": "usdc"
},
"rate": 1500
}
}{
"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"
}Deposits
Create a bank deposit
Your customer pays local currency by bank transfer and you’re settled in stablecoin. The response has the account to pay into. When the transfer clears you get transaction.fiat.completed; if it fails or expires, transaction.fiat.failed.
POST
/
api
/
v1
/
merchant
/
transactions
/
fiat
/
initialize
Create a bank deposit
curl --request POST \
--url https://api.pay.flipeet.io/api/v1/merchant/transactions/fiat/initialize \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amount": 150000,
"currency": "NGN"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({amount: 150000, currency: 'NGN'})
};
fetch('https://api.pay.flipeet.io/api/v1/merchant/transactions/fiat/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/merchant/transactions/fiat/initialize"
payload = {
"amount": 150000,
"currency": "NGN"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Fiat transaction initialized",
"status": "success",
"statusCode": 201,
"data": {
"reference": "inv_2202",
"type": "fiat",
"fiatAmount": 150000,
"fiatCurrency": "NGN",
"settlementAsset": "usdc",
"settlementNetwork": "base",
"status": "processing",
"livemode": true,
"deposit": {
"bank_name": "Providus Bank",
"account_number": "9728638727",
"account_name": "Ada Stores",
"amount": 150000,
"currency": "NGN"
},
"source": {
"amount": 150000,
"currency": "NGN"
},
"destination": {
"amount": 100,
"currency": "usdc"
},
"rate": 1500
}
}{
"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
