Finance overview and the log of every top-up request.
Get the finance report
A finance snapshot: what users hold (total balance), what came in (top-ups, coupons, affiliate
rewards, admin credit) and what was spent, for today, yesterday, this week (since Monday), this
month and all time; daily figures for the last 30 days; the largest balances; and open pending
top-ups. Day boundaries follow tz. Top-up money is counted for one payment environment at a time
(env), so sandbox tests never show up as revenue; coupons, affiliate rewards, admin credit and
usage are not environment-specific.
query Parameters
tzIANA time zone for day/hour boundaries, e.g. Asia/Jakarta. Defaults to the site time zone.
envPayment environment to count. Defaults to the active environment; all counts both.
Get the finance report › Responses
The report.
tzenvnull when both environments are counted.
generated_atIn order today, yesterday, week, month, all.
The last 30 days, oldest first, every day present.
Up to 10 largest positive balances.
open_pendingUnpaid top-ups right now, whatever their age.
open_pending_idrList payments
Every top-up request across users, newest first, with counts per status for the same filters.
query Parameters
statusAll when absent or all.
envPayment environment to count. Defaults to the active environment; all counts both.
qCase-insensitive substring of the order id, payment id, user email or name.
fromCreated at or after (inclusive). No lower bound when absent.
toCreated before (exclusive). No upper bound when absent.
limitoffsetRows to skip.
List payments › Responses
A page of payments.
totalPer status for the same filters, ignoring status. Statuses with no rows are absent.
Get a payment
One top-up with the raw gateway create response and the last webhook payload, for support.
path Parameters
order_idGet a payment › Responses
The top-up.
order_iduser_idemailnameamount_idrcredit_nanoCredit granted when paid, nano-USD.
statusenvironmentpayment_idThe gateway's payment id.
paid_atcreated_atpayment_link_urlpayment_codeQRIS payload.
create_responseThe gateway's raw reply when the payment was created (JSON or null; may be cleared by retention).
webhook_payloadThe last webhook received for this order (JSON or null; may be cleared by retention).