v1
latestOpenAPI 3.0.32026-07-248257161.1 KBTransaction
search transactions by customer name or customer phone
Use this endpoint to search the list of checkout, payout and refund transactions. using customer name or phone.
get/transactions/search
Query parameters
type'checkout' | 'payout' | 'refund'
type of transaction to retrieve. If not provided, all transactions are returned
customer_namestring
Returns list of transaction for a given customer.
customer_phonestring
Returns list of transaction for a given phone number.
payment_referencestring
Returns list of transactions with this payment reference.
Headers
X-Amzn-Trace-Idstring
The parameter Identifies this HTTP request across all services. It helps to diagnostic request errors. The parameter is added automatically by the API gateway
Response
List of transactions.
Example response
[
{
"id": "33e1c83b-7cb0-437b-bc50-a7a58e5660ad",
"merchantId": "d2d2053b-638d-4133-957e-3caf63e6b79c",
"customerId": "33e1c83b-7cb0-437b-bc50-a7a58e5660ad",
"customerObject": {
"id": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"name": "John Dao",
"email": "john.dao@example.com",
"address": "23, avenue de la liberté",
"city": "Dakar",
"country": "SN",
"locale": "fr-FR",
"createdAt": "2022-06-20T17:17:11Z",
"updatedAt": "2022-06-20T17:17:11Z"
},
"pspName": "card",
"paymentMeans": "+221 *** ** 09",
"paymentChannel": "Terminal",
"amount": 100,
"merchantFees": 25,
"transactionFeeAmountHT": 25,
"currency": "XOF",
"paymentReference": "33e1c83b-7cb0-437b-bc50-a7a58e5660ad",
"merchantReference": "33e1c83b-7cb0-437b-bc50-a7a58e5660ad",
"orderType": "invoice",
"orderId": "14e1c83b-7cb0-437b-bc50-a7a58e5660ad",
"deviceId": "SN-4562345",
"originIp": "192.0.0.1",
"timestamp": "2022-06-20T17:17:11Z"
}
]