payments transactions

Retrieves a list of payment transactions associated with an authenticated business, with optional filtering.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number to return. Defaults to 1.
per_pageintegerNoItems per page.
service_typestringNoFilter by kind: payment (card + virtual-account collections) or payout (merchant payouts). Omit to return both.
payment_method_idstring (uuid)NoReturn only transactions for a specific payment method (e.g. a virtual account id).
typestringNoDirection of the transaction: debit or credit.
statusstringNoTransaction status: pending, success, or failed.
refund_statusstringNoRefund state: none, partially_refunded, refunded, or refund_failed.
currencystringNoISO currency code, e.g. NGN.
merchant_referencestringNoFilter by the merchant reference you supplied at creation.
date_fromstringNoInclusive start date, YYYY-MM-DD.
date_tostringNoInclusive end date, YYYY-MM-DD.
settlement_idstring (uuid)NoReturn only transactions in a given settlement.
payment_idstring (uuid)NoFilter by payment id.


Response Fields

data

FieldTypeDescription
transactionsarrayList of transactions for this page.
page_infoobjectPagination metadata.

data.transactions[]

FieldTypeDescription
idstringTransaction id.
referencestringMerchant reference.
statusstringpending, success, or failed.
refund_statusstringnone, partially_refunded, refunded, or refund_failed.
settle_statusstringSettlement state: initiated, pending, approved, released, or rejected.
amountnumberTransaction amount.
feenumberFee charged.
currencystringISO currency code.
payment_timestampstring (date-time)When the transaction was created.
response_codestringProvider/processor response code (when applicable).
response_summarystringHuman-readable response summary.
total_amount_capturednumberAmount captured (successful transactions).
total_amount_available_to_refundnumberAmount still refundable.
total_amount_refundednumberAmount already refunded.
sourceobjectCard details — present for card payments.
virtual_account_detailsobjectReceiving virtual account — present for virtual-account collections.
customerobjectSender (virtual-account collections) or beneficiary (payouts).

source (card payments)

FieldTypeDescription
typestringcard.
card_typestringCard scheme, e.g. visa, mastercard.
card_binstringFirst 6 digits.
card_last4stringLast 4 digits.

virtual_account_details (virtual-account collections)

FieldTypeDescription
account_numberstringVirtual account number that received funds.
bankstringBank name.
account_namestringAccount name.
expected_amountstringAmount expected.
amount_receivedstringAmount actually received.
expires_atstring (date-time)When the account expires(d).
statusstringCollection status.

customer (virtual-account sender / payout beneficiary)

FieldTypeDescription
namestringAccount holder name.
account_numberstringAccount number.
bank_codestringBank code.
bank_namestringBank name.

data.page_info

FieldTypeDescription
pageintegerCurrent page.
per_pageintegerItems per page.
previous_pagebooleanWhether a previous page exists.
next_pagebooleanWhether a next page exists.
page_countintegerTotal number of pages.
totalintegerTotal matching transactions.

404 — Business Not Found

{ "success": false, "error": { "message": "business not found" } }

500 — Internal Server Error

{ "success": false, "error": { "message": "something went wrong" } }
Query Params
string
string
string
string
string
string
string
string
string
string
string
enum
Allowed:
string
enum
Allowed:
string
string
enum
Allowed:
string
enum
Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json