List payments
Returns a paginated list of payments, newest first.
GET
/paymentsAuthorization
AuthorizationBearer token · headerrequiredYour Apipay secret API key.
Query parameters
limitintegerMaximum number of payments to return.
min 1 · max 100 · default: 20
starting_afterstringCursor for fetching the next page, from a previous response's next_cursor.
statusPaymentStatusFilter by payment status.
Allowed:
pendingsucceededfailedcanceledResponses
200
A page of payments.
dataPayment[]requiredShow propertiesHide properties
Array of
PaymentidstringrequiredamountintegerrequiredAmount in the smallest unit of the currency (e.g. Rupiah has no sub-unit, so this is whole Rupiah).
currencystringrequiredmethodPaymentMethodrequiredAllowed:
qrisvirtual_accountcardewalletstatusPaymentStatusrequiredAllowed:
pendingsucceededfailedcanceledcustomer_idstring | nulldescriptionstring | nullcreated_atstring<date-time>requirednext_cursorstring | null401
The API key is missing, invalid, or revoked.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequired