SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Guide

Accounting

Financial reporting and a unified view of money movement across both PawaPay and MbiyoPay. Restricted to ADMIN and ACCOUNTANT roles throughout.

Reports

GET /accounting/report builds a period summary — subscription revenue, order payments and GMV, invoice count, and payout counts — without generating a file. The same data is available as a downloadable PDF, a CSV, or emailed directly to admin recipients.

Every PDF generated is stored, so GET /accounting/reports can list past reports and GET /accounting/reports/:id/pdf re-downloads one without regenerating it.

Transactions

GET /payments/transactions lists admin-initiated payouts from both providers in one place — filter by provider to isolate one.

Payment ledger

The broadest view available: GET /payments/ledger records every money movement platform-wide — order payments, subscription payments, payouts, refunds — with a direction (IN or OUT) and a source tag, regardless of which feature or provider created it.

Source examplesMeaning
ORDER_PAYMENTA buyer's checkout payment.
SUBSCRIPTION_PAYMENTA seller's plan subscription payment.
ADMIN_PAYOUTAn admin-approved expense or manual payout.
SELLER_PAYOUTA seller wallet payout.
GET /payments/ledger/export/csv respects the same filters as the JSON endpoint — useful for reconciling against an external accounting tool.
Browse the Accounting endpoints in the API Reference