The transaction object
A transaction is the single source of truth for every financial event in Orafi. Each payment, payout, and refund creates a transaction record.Unique identifier for the transaction.
Transaction type. One of
PAYMENT, PAYOUT, or REFUND.Current status. One of
PENDING, COMPLETED, or FAILED.Transaction amount in NGN.
Equivalent amount in USDC.
Whether this transaction was created in
test or live mode.The token used. Currently always
USDC.Timestamp when the transaction was created.
Timestamp when the transaction was confirmed. Null if still pending.
Business profile that owns this transaction.
Customer associated with the transaction, if applicable.
List all transactions
GET
Returns a paginated list of all transactions for the authenticated business. Supports filtering by type, status, token, mode, date, and more.
/transactionsQuery parameters
Filter by type:
PAYMENT, PAYOUT, or REFUND.Filter by status:
PENDING, COMPLETED, or FAILED.Filter by token. Currently only
USDC.Filter by mode:
test or live.JSON-encoded date filter. Supports preset intervals or custom ranges.Preset:
{"type":"preset","interval":"last7days"}Allowed intervals: today, yesterday, last7days, last30days, thisMonth, lastMonth, thisYearRange: {"type":"range","startDate":"2025-01-01","endDate":"2025-01-31"}Filter by a specific paylink.
Filter by payment method:
PAYMENT_LINK or HOSTED_CHECKOUT.Filter by customer.
Maximum number of transactions per page.
Cursor for pagination. Pass the
nextCursor from a previous response.Retrieve a transaction
GET
Fetches full details for a single transaction, including related payment, payout, or refund data.
/transactions/{transactionId}Path parameters
Unique identifier of the transaction to retrieve.
