curl --request GET \
--url https://api.qash.ai/api/v1/user/card/transactions \
--header 'X-Api-Key: <api-key>'{
"items": [
{
"id": "txn_a1b2c3d4e5f6",
"type": "spend",
"spend": {
"amount": 45,
"currency": "USD",
"localAmount": 45,
"localCurrency": "USD",
"authorizedAmount": 45,
"authorizationMethod": "chip",
"memo": null,
"receipt": false,
"merchantName": "Amazon",
"merchantCategory": "Online Retail",
"merchantCategoryCode": "5999",
"merchantId": "merchant_xyz",
"enrichedMerchantIcon": "https://logo.clearbit.com/amazon.com",
"enrichedMerchantName": "Amazon",
"enrichedMerchantCategory": "Shopping",
"cardId": "card-uuid-1234",
"cardType": "virtual",
"companyId": "company-uuid-5678",
"userId": "user-uuid-9012",
"userFirstName": "John",
"userLastName": "Doe",
"userEmail": "john@company.com",
"status": "completed",
"declinedReason": null,
"authorizedAt": "2024-01-15T10:30:00Z",
"postedAt": "2024-01-16T08:00:00Z"
}
}
],
"nextCursor": "eyJpZCI6InR4bl9hMWIyYzNkNGU1ZjYifQ=="
}List card transactions
Return transaction history for the authenticated user’s card.
curl --request GET \
--url https://api.qash.ai/api/v1/user/card/transactions \
--header 'X-Api-Key: <api-key>'{
"items": [
{
"id": "txn_a1b2c3d4e5f6",
"type": "spend",
"spend": {
"amount": 45,
"currency": "USD",
"localAmount": 45,
"localCurrency": "USD",
"authorizedAmount": 45,
"authorizationMethod": "chip",
"memo": null,
"receipt": false,
"merchantName": "Amazon",
"merchantCategory": "Online Retail",
"merchantCategoryCode": "5999",
"merchantId": "merchant_xyz",
"enrichedMerchantIcon": "https://logo.clearbit.com/amazon.com",
"enrichedMerchantName": "Amazon",
"enrichedMerchantCategory": "Shopping",
"cardId": "card-uuid-1234",
"cardType": "virtual",
"companyId": "company-uuid-5678",
"userId": "user-uuid-9012",
"userFirstName": "John",
"userLastName": "Doe",
"userEmail": "john@company.com",
"status": "completed",
"declinedReason": null,
"authorizedAt": "2024-01-15T10:30:00Z",
"postedAt": "2024-01-16T08:00:00Z"
}
}
],
"nextCursor": "eyJpZCI6InR4bl9hMWIyYzNkNGU1ZjYifQ=="
}X-Api-Key, X-Api-Secret, and Authorization: Bearer <user-jwt>.Authorizations
Partner API key. Generated from Qash Dashboard → Settings → API Keys.
Query Parameters
Filter by a specific card identifier.
Filter by transaction type.
Maximum number of results to return. Defaults to 50.
x >= 1Pagination cursor from a previous response.
Response
Transaction history returned successfully.
Hide child attributes
Hide child attributes
Unique transaction identifier.
"txn_a1b2c3d4e5f6"
Transaction type. Currently spend is the primary type.
"spend"
Hide child attributes
Hide child attributes
Transaction amount in the billing currency.
45
Billing currency code (ISO 4217).
"USD"
Whether a receipt has been attached to this transaction.
false
Raw merchant name as reported by the card network.
"Amazon"
Merchant category label derived from the MCC.
"Online Retail"
ISO 18245 Merchant Category Code (MCC).
"5999"
UUID of the card used for this transaction.
"card-uuid-1234"
Type of card (virtual or physical).
"virtual"
UUID of the company associated with the card.
"company-uuid-5678"
UUID of the user who made the transaction.
"user-uuid-9012"
First name of the cardholder.
"John"
Email address of the cardholder.
"john@company.com"
Transaction status.
pending, completed, declined, reversed "completed"
Timestamp when the transaction was authorized (ISO 8601).
"2024-01-15T10:30:00Z"
Amount in the local currency at the point of sale. Null when not available.
45
Local currency code at the point of sale (ISO 4217). Null when not available.
"USD"
Amount that was authorized. May differ from the final settled amount. Null when not available.
45
Method used to authorize the transaction (e.g. chip, contactless, online). Null when not available.
"chip"
Free-text memo attached to the transaction. Null when absent.
null
Internal merchant identifier. Null when not available.
"merchant_xyz"
URL to the enriched merchant logo. Null when not available.
"https://logo.clearbit.com/amazon.com"
Cleaned-up merchant name from enrichment. Null when not available.
"Amazon"
Enriched merchant category label. Null when not available.
"Shopping"
Last name of the cardholder. Null when not available.
"Doe"
Reason the transaction was declined. Present only when status is declined, null otherwise.
null
Timestamp when the transaction was posted/settled (ISO 8601). Null while still pending.
"2024-01-16T08:00:00Z"
Opaque cursor for retrieving the next page of results. Null when there are no more pages.
"eyJpZCI6InR4bl9hMWIyYzNkNGU1ZjYifQ=="