List transactions

Get a paginated transaction list with filtering

Retrieves a paginated list of your payment transactions.

NOTE: This list contains all transactions including failed transactions. To get only successful transactions, filter using the transaction status query parameter.

Retrieves all transactions for a merchant profile

get
Authorizations
AuthorizationstringRequired

API Key as Bearer Token

Query parameters
searchstringOptional

Search parameter to use while filtering the list

pageinteger · int32Optional

The target page to retrieve if available. Minimum value is 1.

page_sizeinteger · int32Optional

Required page size. Acceptable range is from 1 to 100.

order_bystringOptional
filter.idstringOptional

Id of the transaction to retrieve

filter.tx_refstringOptional

The transaction reference to find

filter.currencystringOptional

Transaction currency to filter with

filter.amountnumber · doubleOptional
filter.minimum_amountnumber · doubleOptional
filter.maximum_amountnumber · doubleOptional
filter.bearerstring · enumOptionalPossible values:
filter.gateway_codestringOptional

The gateway codes used to complete payment

filter.sale_idstringOptional

Id of the sale that was made using the transaction

filter.invoice_idstringOptional

Id of the invoice that was raised for the transaction

filter.dedicated_virtual_account_referencestringOptional

Reference of the Dedicated Virtual Account the payment was made to

filter.is_dedicated_virtual_account_transactionbooleanOptional

Flag to only retrieve transactions made via dedicated virtual accounts

filter.customer_idstringOptional

Id of the customer used for filtering

filter.customer_emailstringOptional

The email of the customer used for filtering

statusstring · enumOptionalPossible values:
start_datestring · date-timeOptional
end_datestring · date-timeOptional
Responses
200

Returns 200 and a paged response containing the transactions

application/json
get
/v1/transactions
curl -G https://api.switchappgo.com/v1/transactions \
    -H "authorization: 'bearer sk_test_nTgS42KNdKr6Ts798DT'" \
    -d page='3' \

Last updated