Ttushe / docs
nsk_test_Operational

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.

GEThttps://api.trytushe.com/v1/cards/reports/spend
GET/v1/cards/reports/spend

Authorization

api-key
x-api-key<token>

In: header

Query Parameters

from*string

ISO date, inclusive.

to*string

ISO date, exclusive.

groupBy?string

Default card.

Value in

  • "card"
  • "cardholder"
  • "budget"
  • "mcc"
  • "month"
cardId?string
budgetId?string
customerId?string
currency?string

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    }  }}