Skip to main content

Get all transactions

GET /transactions

Description

Retrieve information about all transactions.

Optional Path Parameters

NameTypeDescriptionRequired
filterByStatusesarray[string]Filter transactions by status. Available values: PENDING, APPROVED, REJECTED, REVERSED.Optional
filterBySourcesarray[string]Filter transactions by source. Available values: CORAL_PAY, AMETA, _9BSP.Optional
filterByPaymentMethodsarray[string]Filter transactions by payment method. Available values: USSD, NQR, BANK, WALLET, CARD, PAYLINK, DEPOSIT_DEBIT, DEPOSIT_CREDIT.Optional
filterByTypesarray[string]Filter transactions by type. Available values: CREDIT, DEBIT.Optional
filterByCategoriesarray[string]Filter transactions by category. Available values: Sales, Cash-in, Cash-out, Top-up, Bills, Transfer, Deposit, Withdraw, CHARGE.Optional
filterByTenantIdsarray[string]Filter transactions by tenant IDs.Optional
filterByCustomerIdsarray[string]Filter transactions by customer IDs.Optional
filterByAccountIdsarray[string]Filter transactions by account IDs.Optional
filterByCurrenciesarray[string]Filter transactions by currencies.Optional
filterByPaymentCodesarray[string]Filter transactions by payment codes.Optional
filterBySubSourcearray[string]Filter transactions by sub-source.Optional
filterBySubSourceStatusesarray[string]Filter transactions by sub-source statuses.Optional
filterByPaymentIdsarray[string]Filter transactions by payment IDs.Optional
filterByTerminalIdsarray[string]Filter transactions by terminal IDs.Optional
filterByRequestIdsarray[string]Filter transactions by request IDs.Optional
filterByTransactionIdsarray[string]Filter transactions by transaction IDs.Optional
filterByReferenceIdsarray[string]Filter transactions by reference IDs.Optional
preDebitbooleanFilter transactions by pre-debit status.Optional
pageNumberinteger($int32)Page number for paginated results.Optional
pageSizeinteger($int32)Page size for paginated results.Optional

StartFragment

Response Code: 200 - OK

Description

Transaction returned successfully.

Response Field

FieldTypeDescription
statusbooleanIndicates the overall success of the operation.
statusCodeintegerRepresents the specific status code for the response.
messagestringProvides additional information about the response.
dataobjectContains the main data payload of the response.
errorsarrayAn array containing error details if issues occurred.
- messagestringDescribes the error.
- descriptiveMessagestringProvides a more detailed and descriptive message about the error.

Example

<response>
<status>true</status>
<statusCode>0</statusCode>
<message>string</message>
<data></data>
<errors>
<error>
<message>string</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</response>


Response Code: 400 - Bad Request

Description

Invalid transaction id.

Example

<response>
<status>false</status>
<statusCode>400</statusCode>
<message>Invalid transaction id</message>
<data></data>
<errors>
<error>
<message>Invalid transaction id</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</response>

curlUrl: "/transactions" curlMethod: GET

Response Code: 404 - Not Found

Description

Transaction id not found.

Example

<response>
<status>false</status>
<statusCode>404</statusCode>
<message>Transaction id not found</message>
<data></data>
<errors>
<error>
<message>Transaction id not found</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</response>

Method: GET

>http://20.87.230.105/platform/wallets/transactions

Headers

Content-TypeValue
apiKey{{apiKey}}

🔑 Authentication bearer

ParamvalueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /transactions \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!