Card spend, rolled up
Aggregate card spend over a period, grouped by card, cardholder, budget, MCC or month — the numbers a finance screen needs, without paginating every authorization on every card. capturedAmount is money that settled. pendingAmount is authorized and still on hold — real money to a finance team even though it has not settled, which is why the two are never added together here. Declines carry a count and no amount, because nothing moved and summing refusals invites reading them as spend. Receipts, receipt-matching, expense categorisation beyond the network's MCC and accounting export are deliberately yours — this is the aggregate underneath them.
/v1/cards/reports/spendAuthorization
api-key In: header
Query Parameters
ISO date, inclusive.
ISO date, exclusive.
Default card.
Value in
- "card"
- "cardholder"
- "budget"
- "mcc"
- "month"
Response Body
application/json
application/json
application/json
{ "status": true, "statusCode": 200, "message": "Request processed successfully", "timestamp": "2026-10-03T16:30:00.000Z", "path": "/v1/accounts", "data": { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z", "groupBy": "card", "currency": "NGN", "rows": [ { "key": "card_01HX…", "capturedAmount": "4850000", "capturedCount": 42, "pendingAmount": "150000", "pendingCount": 3, "declinedCount": 5 } ], "truncated": false, "totals": { "capturedAmount": "4850000", "capturedCount": 42, "pendingAmount": "150000", "pendingCount": 3, "declinedCount": 5 } }}