Balance and payouts
On this page
Follow your money from a payment to your bank account: the balance, its movements, settlement statements, payouts and top-ups.
How money flows
- A captured payment is added to your pending balance, net of fees.
- On its settlement date it moves to your available balance. If you have a reserve, part of it stays reserved for a while.
- Refunds and disputes are taken from your available balance.
- A payout sends money from your available balance to your bank account.
The settlement date of each payment follows the terms your payment institution set for your account. It is in the settlement array of the payment as available_on. An account without these terms cannot take new payments: they fail with 403 merchant_setup_incomplete, and nothing is charged.
Balance
curl https://api.pf.organizer.tr/v1/balance \
-H "Authorization: Bearer sk_sandbox_YOUR_KEY"
{
"object": "balance",
"available": [{"amount": 1250000, "currency": "try"}],
"pending": [{"amount": 2620000, "currency": "try"}],
"held": [{"amount": 0, "currency": "try"}],
"reserved": [{"amount": 50000, "currency": "try"}],
"negative_balance_limit": [{"amount": 0, "currency": "try"}],
"payouts_frozen": false,
"livemode": false
}
| Balance | Meaning |
|---|---|
available |
Can be paid out or used for refunds. |
pending |
Captured payments that wait for their settlement date. |
reserved |
Kept as a reserve and released on a later date. |
held |
Set aside for refunds in progress. |
negative_balance_limit is how far available may go below zero. 0 means it may not. GET /v1/balance/schedule shows, per date, the amounts that will move from pending to available. A date before today is money that is still pending after its date, usually because the bank has not sent it to us yet. It moves to available once it arrives. For the next release, ask for the dates from today on: starting_after set to yesterday's date.
Balance transactions
Every movement of your balance is a balance transaction (txn_…). net is what the balance moved, fee is the fees, and amount is net plus fee. Use them to reconcile your balance with your own records.
curl -g "https://api.pf.organizer.tr/v1/balance_transactions?created[gte]=1795126800&limit=100" \
-H "Authorization: Bearer sk_sandbox_YOUR_KEY"
{
"id": "txn_01J9ZQD1E3G5J7L9N2Q4S6U8W0",
"object": "balance_transaction",
"amount": 12500,
"fee": 419,
"net": 12081,
"fee_details": [
{"type": "pf_fee", "amount": 349, "currency": "try", "description": "Commission"},
{"type": "fee_tax", "amount": 70, "currency": "try", "description": "Tax on commission"}
],
"currency": "try",
"balance_type": "pending",
"type": "charge",
"source": "pi_01J9ZQ4V8K2M3N5P7R9T1W3Y5A",
"payment_intent": "pi_01J9ZQ4V8K2M3N5P7R9T1W3Y5A",
"refund": null,
"description": "Sipariş SIP-2026-10423",
"effective_date": "2026-11-20",
"payout": null,
"created": 1795167000
}
type is one of charge, void, partial_void, settlement_release, reserve, reserve_release, refund_hold, refund, refund_fee_return, refund_release, chargeback, chargeback_reversal, topup, payout, payout_reversal, early_settlement_fee, wallet_transfer or adjustment.
You can filter by type, balance_type, source=pi_…, created[gte] and created[lte], and effective_date[gte] and effective_date[lte]. payout=po_… returns everything one payout covered.
Settlement statements
Each time your pending balance is released for a business day, you get a settlement statement. It shows the sales, fees, refunds and reserves of that release, and the net amount added to your available balance. A statement never changes once it is made.
curl "https://api.pf.organizer.tr/v1/settlement_statements?date=2026-11-23" \
-H "Authorization: Bearer sk_sandbox_YOUR_KEY"
{
"id": "sst_01J9ZQE2F4H6K8M1P3R5T7V9X1",
"object": "settlement_statement",
"currency": "try",
"business_date": "2026-11-23",
"sequence": 1,
"sales_count": 42,
"sales_gross": 1250000,
"surcharge": 0,
"fee": 34875,
"fee_tax": 6975,
"sales_net": 1208150,
"refunds_count": 1,
"refunds": -12500,
"partial_voids_count": 0,
"partial_voids": 0,
"chargebacks_count": 0,
"chargebacks": 0,
"reserve_held": 0,
"reserve_released": 0,
"net_to_available": 1195650,
"item_count": 43,
"available_before": 54350,
"available_after": 1250000,
"created": 1795381200
}
The amounts add up as follows:
sales_netissales_grosslesssurcharge,feeandfee_tax.net_to_availableissales_netplusrefundsandpartial_voids(both negative), lessreserve_held, plusreserve_released. It equalsavailable_afterlessavailable_before.- Chargebacks are listed for your information and are not part of
net_to_available.
A sequence above 1 marks another statement for the same day, for example after an early settlement. GET /v1/settlement_statements/{id} adds the lines: each sale, refund and reserve release.
Payouts
A payout sends your available balance to your approved bank account (IBAN). Your payment institution sets one of two modes for your account:
| Mode | How it works |
|---|---|
| Automatic | Your available balance is paid out on a schedule: daily, weekly or monthly. You do not call the API. GET /v1/payout_schedule shows the schedule and the next payout dates. |
| On request | You decide when and how much, with POST /v1/payouts. |
A payout needs an available balance. A payment becomes available on its settlement date, and GET /v1/balance/schedule shows when. Save the request as payout.json:
{
"amount": 1000000,
"currency": "try",
"metadata": {"reference": "weekly-2026-48"}
}
curl -X POST https://api.pf.organizer.tr/v1/payouts \
-H "Authorization: Bearer sk_sandbox_YOUR_KEY" \
-H "Idempotency-Key: payout-2026-48" \
-H "Content-Type: application/json" \
-d @payout.json
{
"id": "po_01J9ZQF4H6K8M1P3R5T7V9X2Z4",
"object": "payout",
"amount": 1000000,
"currency": "try",
"status": "approved",
"method": "on_request",
"settlement_account": "sa_01J9ZQG2H4K6M8P1R3T5V7X9Z1",
"iban_masked": "TR33******************1326",
"failure_code": null,
"metadata": {"reference": "weekly-2026-48"},
"arrival_date": null,
"created": 1795503600
}
A payout moves through approved, in_batch, sent and paid, in that order. It stays approved until your payment institution sends its next payout run, also in the sandbox. arrival_date is null until the payout is paid. If a payout ends failed, rejected or returned, the money goes back to your available balance.
The owners, admins and finance users of your merchant account get an email when a payout is sent, and when one fails, is rejected or is returned by the bank. The email names the amount and the last four digits of the payout account, and links to the payout in the panel.
Some payouts wait for approval first, in pending_approval. That happens when the amount is above the approval amount your payment institution sets (₺100,000 by default), or when the payout goes over one of your payout limits. The amount leaves your available balance at once. Staff of your payment institution then approve or reject the payout. Once approved, it continues as approved. If they reject it, it becomes rejected, the money goes back to your available balance, and you receive payout.failed.
Listen for payout.created, payout.paid and payout.failed. A rejected or returned payout also sends payout.failed. List payouts with GET /v1/payouts.
| Error | Meaning | What to do |
|---|---|---|
400 amount_below_minimum |
The amount is below the minimum payout of your account. | Wait until your available balance reaches the minimum, or send a larger amount. |
400 currency_not_supported |
Payouts are made in your account currency only. | Send currency in your account currency, as in GET /v1/balance. |
400 parameter_invalid, param: metadata |
A metadata value is not a string, or a key or value is too long. |
Send string values and shorten the key or value. |
402 insufficient_available_balance |
The amount is more than your available balance. | Read available with GET /v1/balance and send at most that. |
403 manual_payouts_not_allowed |
Your account is paid out automatically. | Do not call the API. GET /v1/payout_schedule shows your next payout dates. |
403 payouts_frozen |
Payouts are frozen for your account. | Contact your payment institution. |
403 settlement_account_unavailable |
Your account has no approved bank account yet. | Add one on the Payout account page of the merchant panel and wait for its approval. |
403 payouts_not_configured |
Payouts are not set up for your account yet. | Contact your payment institution. |
403 merchant_not_active |
Your account is not active. | Contact your payment institution. |
503 service_unavailable |
Payouts are paused for a short time and nothing was paid out. | Send the same request again after Retry-After seconds. |
Top-ups
If refunds or disputes need more than your available balance, add money with POST /v1/topups, in your account currency. The response gives the bank account to transfer to and a unique reference. Write the reference in the description of your transfer.
When the full amount arrives, the top-up becomes succeeded and you receive topup.succeeded. When a different amount arrives, your payment institution checks the transfer first. Once it accepts it, the amount that arrived is added to your balance, and the top-up becomes partially_received if less arrived or succeeded if more did.
Reports and exports
GET /v1/reporting/summaryreturns the totals of a period: gross and net volume, refunded and disputed amounts, counts and the approval rate.GET /v1/reporting/timeseriesreturns the same per day.- Every list in the merchant panel (payments, refunds, balance, payouts, settlement statements) can be exported as a CSV or XLSX file. The file follows the panel language: Turkish headers,
dd.mm.yyyydates and decimal commas, or the English column names with ISO dates. - For a complete export through the API, page through the list endpoints with
limit=100andstarting_after. See lists and pagination.
To reconcile each day, fetch yesterday's settlement statement. Then fetch the balance transactions with that effective_date. Match each payment_intent to your orders through metadata.
In the API reference
- Retrieve your balance
- List balance transactions
- List settlement statements
- Create a payout
- List payouts
- Create a top-up
Next: Work through Going live. If you onboard merchants for others, continue with Merchant applications.