v1
latestOpenAPI 3.0.32026-07-248257161.1 KBReturns total amount of transactions
Use this endpoint to retrieve total amount of checkout, payout or refund transactions. Transactions can be filtered using date, customer Id or phone number
Query parameters
Optional. Query transactions starting from this date, if not provided, 2023-09-01T00:00:00+00 is used. The date format is ISO 8601 (YYYY-mm-dd HH:mm:ss,SSSS). The timezone is UTC and precision is in seconds
Query transactions from start_date until this date time, if omitted, current date-time is used. The date format is ISO 8601 (YYYY-mm-dd HH:mm:ss,SSSS). The timezone is UTC and precision is in seconds. If this filter is set, filters customer_id and phone are ignored
type of transaction to consider
Returns total amount of transaction for a given customer. If provided, query parameter type must be passed also
Returns total amount of transaction for a given phone number. If provided, query parameter type must be passed also
Returns list of transaction for a given device or terminal. If provided, query parameter type must be passed also
Headers
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
total amount.
Example response
{
"amount": 45000,
"currency": "XOF"
}