v1

latestOpenAPI 3.0.32026-07-248257161.1 KB
Transaction

Returns number of settlements

Use this endpoint to retrieve the number of settlement, top-ups transactions. Transactions can be filtered using date.

get/transactions/count

Query parameters

start_datestring date-time
Example:2023-05-22T00:00:00+00

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

end_datestring date-time
Example:2023-05-22T11:53:14+00

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

Response

number of transactions.

amountinteger

total Amount for a transaction or a collection of transactions.

currencystring

The currency associated to the amount.

Example response

{
  "amount": 45000,
  "currency": "XOF"
}