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.string
Unique identifier for the transaction.
string
Transaction type. One of
PAYMENT, PAYOUT, or REFUND.string
default:"PENDING"
Current status. One of
PENDING, COMPLETED, or FAILED.number
Transaction amount in NGN.
number
Equivalent amount in USDC.
string
Whether this transaction was created in
test or live mode.string
default:"USDC"
The token used. Currently always
USDC.datetime
Timestamp when the transaction was created.
datetime
Timestamp when the transaction was confirmed. Null if still pending.
string
Business profile that owns this transaction.
string
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
string
Filter by type:
PAYMENT, PAYOUT, or REFUND.string
Filter by status:
PENDING, COMPLETED, or FAILED.string
Filter by token. Currently only
USDC.string
Filter by mode:
test or live.string
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"}string
Filter by a specific paylink.
string
Filter by payment method:
PAYMENT_LINK or HOSTED_CHECKOUT.string
Filter by customer.
number
default:"20"
Maximum number of transactions per page.
string
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
string
required
Unique identifier of the transaction to retrieve.
