Skip to main content

Balance & Statement

Your balance is the money BillPay holds for you: captured payments, minus fees and refunds. Settlements pay it out to your bank account.

Get your balance​

GET/api/v1/checkout/me/balance
curl https://sandbox.api.billpay.et/api/v1/checkout/me/balance \
-H "x-api-key: $BILLPAY_API_KEY"

The balance is returned per currency, in two parts:

PartMeaning
availableMoney you can use for payouts, withdrawals, and refunds.
reservedMoney held while a payout is being prepared. It isn't available until the payout finishes or is cancelled.
totalavailable plus reserved.
info

Refunds, withdrawals, and on-demand payouts are all paid from your available balance. If it doesn't cover the amount, the request is refused with 422.

Get your statement​

GET/api/v1/checkout/me/statement

The statement covers one period. It shows your opening and closing balance, the totals credited and debited, and one line for each movement, such as a captured payment, a fee, a refund, or a payout.

Query parameters
fromstringRequired
Start of the period, as an ISO 8601 date.
tostringRequired
End of the period. At most one year after from.
currencystring
For example ETB.
curl "https://sandbox.api.billpay.et/api/v1/checkout/me/statement?from=2026-10-01T00:00:00Z&to=2026-10-31T23:59:59Z&currency=ETB" \
-H "x-api-key: $BILLPAY_API_KEY"

Each line has these fields:

Each statement line
postedAtstring
When the movement was posted.
kindstring
The type of movement, for example PAYMENT_CAPTURED.
accountstring
The part of your balance it affected.
referencestring
The related reference, such as your merchantReference.
signed
The amount. Positive for money in, negative for money out.
balanceAfter
Your balance after this movement.
descriptionstring
A readable description.

A request returns at most 1,000 movements. If you have more, split the period into smaller ranges, for example one day at a time.

Reconciling with your records​

The same period always returns the same statement, so it's safe to run the same check again. A simple daily job:

  1. After settlements close at 18:00, fetch the statement for that business day.
  2. Match each PAYMENT_CAPTURED line to an order in your database, using its reference.
  3. Flag anything that appears on only one side.

Check which account a key belongs to​

GET/api/v1/checkout/me

Returns the account and environment the API key belongs to. See API Keys for the response.