Balance
Retrieve balances
get/v1/balance
Read straight from the ledger. One entry per currency in each bucket. Each brand
holds its own funds; without brand this is the whole business (the sum of its brands).
Parameters
brandstring (uuid)in queryOne brand's own funds (default: the whole business)
Responses
- 200Current balancesBalance
Show the fields
object"balance"livemodebooleanbrandstring (uuid) | nullThe brand asked for; null for the whole business
pendingarray of BalanceAmountCaptured, not yet settleable.
Fields of pending
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
availablearray of BalanceAmountCan be paid out.
Fields of available
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
reservearray of BalanceAmountRolling reserve held against chargebacks.
Fields of reserve
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
payout_in_flightarray of BalanceAmountSent to a bank, not yet confirmed.
Fields of payout_in_flight
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
refund_in_flightarray of BalanceAmountBeing refunded to customers, not yet confirmed by the provider.
Fields of refund_in_flight
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
dispute_holdarray of BalanceAmountHeld while a dispute is decided.
Fields of dispute_hold
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
owedarray of BalanceAmountWhat the business owes Biftpay from a lost chargeback its balances couldn't cover (the whole business's). Taken from available, then from payments still pending, as funds come in; payouts wait until it's paid. Only currencies with something owed.
Fields of owed
currencyNGN | USDamountintegerMinor units (kobo, cents).
at least 0
- 400Invalid request
- 401Missing or invalid API key
curl https://sandbox.api.biftpay.com/v1/balance \
-H "Authorization: Bearer bp_test_..."{
"object": "balance",
"livemode": true,
"pending": [
{
"currency": "NGN",
"amount": 983875
}
],
"available": [
{
"currency": "NGN",
"amount": 4520000
}
],
"reserve": [
{
"currency": "NGN",
"amount": 120000
}
],
"payout_in_flight": [
{
"currency": "NGN",
"amount": 0
}
],
"owed": []
}Every movement on the merchant's balances, newest first
get/v1/balance_transactions
One row per ledger line on the merchant's accounts. amount is signed in the
merchant's terms: positive adds to bucket, negative takes from it; balance_after
is that bucket's balance after the line. Payment lines carry gross and fee
(fee plus VAT). Lines of one entry share type and created_at. Paginate with
starting_after=<id>.
Parameters
limitintegerin query1 to 100 · default 20
starting_afterstringin querybrandstring (uuid)in queryOne brand's own funds (default: the whole business)
currencyNGN | USDin querybucketavailable | pending | reserve | payout_in_flight | refund_in_flight | dispute_holdin queryown_balancestrue | falsein querytrue: only pending, available and reserve, so each event is one line (leaves out in-flight payouts and refunds and amounts held for disputes).
typestringin queryComma-separated: payments, releases, payouts, refunds, disputes, conversions, moves, topups (corrections included).
fromstring (date)in queryInclusive, Lagos time
tostring (date)in queryInclusive, Lagos time
Responses
- 200A page of balance transactionsBalanceTransactionList
Show the fields
object"list"dataarray of BalanceTransactionFields of data
idstringobject"balance_transaction"typestringe.g. charge.capture, charge.release, payout.hold, payout.settle, refund.hold
descriptionstringbucketpending | available | reserve | payout_in_flight | refund_in_flight | dispute_holdamountintegerSigned; positive adds to the bucket.
balance_afterintegerThe bucket's balance after this line.
available_afterintegerThe same brand's available balance after this line, whichever bucket it moved.
detailsstring | nullWhat it was for: the payment's description (or reference, or customer), or who a payout went to.
grossintegerPayments (received and settled): what the customer paid. A payout taken from available: what was sent to the bank.
feeintegerPayments: Biftpay's fee plus VAT, taken from gross. Payouts: the payout fee plus VAT.
currencyNGN | USDsource_idstring | nullThe payment, payout or refund that caused it.
chargebackobjectThe chargeback on the payment behind the line, when its customer's bank disputed it.
created_atstring (date-time)has_moreboolean - 400Invalid request
- 401Missing or invalid API key
curl https://sandbox.api.biftpay.com/v1/balance_transactions \
-H "Authorization: Bearer bp_test_..."{
"object": "list",
"data": [
{
"id": "10234",
"object": "balance_transaction",
"type": "charge.capture",
"description": "Payment received",
"bucket": "pending",
"amount": 1000,
"balance_after": 1000,
"available_after": 1000,
"details": "…",
"currency": "NGN",
"created_at": "…"
}
],
"has_more": true
}The statement as CSV (up to 20,000 lines; narrow the dates for more)
get/v1/balance_transactions/export
Same filters as the list. The CSV comes in data, for a dashboard to save as file_name.
Parameters
brandstring (uuid)in queryOne brand's own funds (default: the whole business)
currencyNGN | USDin querybucketavailable | pending | reserve | payout_in_flight | refund_in_flight | dispute_holdin querytypestringin queryComma-separated: payments, releases, payouts, refunds, disputes, conversions, moves, topups (corrections included).
fromstring (date)in queryInclusive, Lagos time
tostring (date)in queryInclusive, Lagos time
Responses
- 200The statementobject
Show the fields
object"statement_export"file_namestringcontent_type"text/csv"rowsintegertruncatedbooleanMore lines matched than one export holds.
datastringCSV text. Columns: Date (Lagos), Description, Brand (whose balance), Details (the payment's description, or who a payout went to), Customer, Merchant reference, Method, Balance, Currency, Gross, Fee incl. VAT, Amount, Balance after, Amount (formatted), Biftpay reference (the Biftpay ID of the payment, payout, refund or dispute).
- 400Invalid request
- 401Missing or invalid API key
curl https://sandbox.api.biftpay.com/v1/balance_transactions/export \
-H "Authorization: Bearer bp_test_..."{
"object": "statement_export",
"file_name": "biftpay-statement-live-NGN-2026-09-01_to_2026-09-30.csv",
"content_type": "text/csv",
"rows": 1000,
"truncated": true,
"data": "…"
}Your rolling reserve - terms, what's held, and when it's released
get/v1/reserve
A rolling reserve holds a share of each payment for a set time against chargebacks.
terms is null when none applies. A business that stops taking payments keeps its
reserve until some days after its last payment. Held funds are released to available automatically,
on the dates in releases (Lagos days).
Responses
- 200OKobject
Show the fields
object"reserve"livemodebooleantermsobject | nullFields of terms
percent_bpsintegerdaysintegerreasonstring | nullreason_textstring | nullThe reason in plain words.
notestring | nullsincestring (date-time) | nullheldarray of objectFields of held
currencystringamountintegerMinor units (kobo, cents).
at least 0
paymentsintegernext_release_atstring (date-time) | nullheld_after_last_paymentbooleanNo recent payments in this currency, so the reserve is kept until some days after the last one (next_release_at and releases show the actual dates).
releasesarray of objectFields of releases
datestring (date)currencystringamountintegerMinor units (kobo, cents).
at least 0
curl https://sandbox.api.biftpay.com/v1/reserve \
-H "Authorization: Bearer bp_test_..."{
"object": "reserve",
"livemode": true,
"terms": {
"percent_bps": 1000,
"days": 30,
"reason": "…",
"reason_text": "…",
"note": "…",
"since": "…"
},
"held": [
{
"currency": "…",
"amount": 0,
"payments": 1000,
"next_release_at": "…"
}
],
"releases": [
{
"date": "2026-10-05",
"currency": "…",
"amount": 0
}
]
}Biftpay's dollar rate, the dollars available to convert, and (with usd_amount) the naira they'd give
get/v1/fx
Parameters
brandstring (uuid)in queryusd_amountintegerin queryCents.
at least 1
Responses
- 200OKFxPreview
Show the fields
object"fx_preview"rateFxRate or nullusd_availableintegermin_usdintegermax_usdintegerThe most that can convert now (balance, maximum and today's cap).
daily_cap_usdinteger | nullconverted_today_usdintegerblockedconversions_paused | no_rate | rate_stale | balance_below_minimum | daily_cap_reached | nullusd_amountintegerngn_amountintegerThe naira usd_amount gives at this rate (rounded down).
curl https://sandbox.api.biftpay.com/v1/fx \
-H "Authorization: Bearer bp_test_..."{
"object": "fx_preview",
"rate": {
"id": "…",
"rate": "…",
"note": "…",
"set_by": "…",
"created_at": "…",
"stale": true
},
"usd_available": 1000,
"min_usd": 1000,
"max_usd": 1000,
"daily_cap_usd": 1000,
"converted_today_usd": 1000,
"blocked": "conversions_paused"
}Your dollar-to-naira conversions, newest first
get/v1/fx/conversions
Responses
- 200OKobject
Show the fields
object"list"dataarray of FxConversionFields of data
idstring (uuid)object"fx_conversion"livemodebooleanusd_amountintegerratestringngn_amountintegerbrandstring | nullsourcemerchant | auto | staffpayoutstring | nullcreated_atstring (date-time)has_moreboolean
curl https://sandbox.api.biftpay.com/v1/fx/conversions \
-H "Authorization: Bearer bp_test_..."{
"object": "list",
"data": [
{
"id": "…",
"object": "fx_conversion",
"livemode": true,
"usd_amount": 1000,
"rate": "…",
"ngn_amount": 1000,
"brand": "…",
"source": "merchant",
"payout": "…",
"created_at": "…"
}
],
"has_more": true
}Convert dollars to naira at the rate you were shown
post/v1/fx/conversions
rate_id is the rate from GET /v1/fx. If Biftpay has published a new rate since, nothing
converts and the error says the new rate (rate_changed). Naira is rounded down to the kobo.
Parameters
Idempotency-Keystringin headerrequiredA unique key per logical request, for example a UUID. Up to 255 characters.
up to 255 characters
Body
usd_amountintegerrequiredCents.
at least 1
rate_idstring (uuid)requiredbrandstring (uuid)Responses
- 201ConvertedFxConversion
Show the fields
idstring (uuid)object"fx_conversion"livemodebooleanusd_amountintegerratestringngn_amountintegerbrandstring | nullsourcemerchant | auto | staffpayoutstring | nullcreated_atstring (date-time) - 400Invalid request
- 409The object is in a state that doesn't allow this
curl -X POST https://sandbox.api.biftpay.com/v1/fx/conversions \
-H "Authorization: Bearer bp_test_..." \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"usd_amount": 1,
"rate_id": "…"
}'{
"id": "…",
"object": "fx_conversion",
"livemode": true,
"usd_amount": 1000,
"rate": "…",
"ngn_amount": 1000,
"brand": "…",
"source": "merchant",
"payout": "…",
"created_at": "…"
}The business's funding account, and what a top-up costs
get/v1/funding_account
Transfers into the business's own funding account top up its available balance straight away, less the top-up price when Biftpay set one (price null means free). account is null until it's opened.
Responses
- 200OKFundingAccountStatus
Show the fields
object"funding_account_status"accountFundingAccount or nulltestobjectTest mode only. How to send the account a test transfer.
Fields of test
can_simulatebooleanPOST /v1/funding_account/simulate_transfer works for it.
test_bankobject or nullThe provider's demo bank to transfer from instead, with its published test login.
priceobject or nullWhat a top-up costs (null when free).
curl https://sandbox.api.biftpay.com/v1/funding_account \
-H "Authorization: Bearer bp_test_..."{
"object": "funding_account_status",
"account": {
"id": "…",
"object": "funding_account",
"livemode": true,
"account_number": "…",
"bank_name": "…",
"account_name": "…",
"currency": "NGN",
"status": "active",
"created_at": "…"
},
"price": {
"fee_bps": 1000,
"fee_flat": 1000,
"fee_cap": 1000,
"vat_bps": 1000
}
}Open the business's funding account (or return the one it has)
post/v1/funding_account
In live mode, once KYC is approved; it's opened in the business's name with its KYC phone and an owner's or director's BVN.
Parameters
Idempotency-Keystringin headerrequiredA unique key per logical request, for example a UUID. Up to 255 characters.
up to 255 characters
Responses
- 200OKFundingAccountStatus
Show the fields
object"funding_account_status"accountFundingAccount or nulltestobjectTest mode only. How to send the account a test transfer.
Fields of test
can_simulatebooleanPOST /v1/funding_account/simulate_transfer works for it.
test_bankobject or nullThe provider's demo bank to transfer from instead, with its published test login.
priceobject or nullWhat a top-up costs (null when free).
- 409The object is in a state that doesn't allow this
curl -X POST https://sandbox.api.biftpay.com/v1/funding_account \
-H "Authorization: Bearer bp_test_..." \
-H "Idempotency-Key: $(uuidgen)"{
"object": "funding_account_status",
"account": {
"id": "…",
"object": "funding_account",
"livemode": true,
"account_number": "…",
"bank_name": "…",
"account_name": "…",
"currency": "NGN",
"status": "active",
"created_at": "…"
},
"price": {
"fee_bps": 1000,
"fee_flat": 1000,
"fee_cap": 1000,
"vat_bps": 1000
}
}Test mode only. A transfer into the funding account from the provider's sandbox bank
post/v1/funding_account/simulate_transfer
Parameters
Idempotency-Keystringin headerrequiredA unique key per logical request, for example a UUID. Up to 255 characters.
up to 255 characters
Body
amountintegerrequiredKobo.
1 to 1000000000
Responses
- 200OKobject
Show the fields
object"test_helper_result"simulatedboolean - 409The object is in a state that doesn't allow this
curl -X POST https://sandbox.api.biftpay.com/v1/funding_account/simulate_transfer \
-H "Authorization: Bearer bp_test_..." \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"amount": 1
}'{
"object": "test_helper_result",
"simulated": true
}