Returns total fees of transactions paid by the merchant
Use this endpoint to retrieve total amount of checkout, payout or refund transactions fees.
Request
- Base URLhttps://api.test.bictorys.com/pay/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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 fees.
Example response
{
"amount": 45000,
"currency": "XOF"
}Changes
No recorded changes to this operation across all 1 revision of this API.