Transactions
Get Total Transactions
GET
https://backendapi.sayswitchgroup.com/api/v1/transactions/totalsThis endpoint retrieves aggregated totals for transactions on your platform.
Sample Request
cURL
curl -X GET https://backendapi.sayswitchgroup.com/api/v1/transactions/totals
-H "Authorization: Bearer YOUR_SECRET_KEY"Sample Response
JSON
{
"success": true,
"message": "Transaction totals",
"data": {
"total_transactions": 2,
"unique_customers": 1,
"total_volume": 200,
"total_volume_by_currency": [],
"pending_transfers": 200,
"pending_transfers_by_currency": []
}
}