Skip to main content
GET
/
api
/
v1
/
user
/
card
/
transactions
List card transactions
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=="
}
Requires X-Api-Key, X-Api-Secret, and Authorization: Bearer <user-jwt>.
Use the query parameters to filter by card, transaction type, page size, or pagination cursor.

Authorizations

X-Api-Key
string
header
required

Partner API key. Generated from Qash Dashboard → Settings → API Keys.

Query Parameters

cardId
string<uuid>

Filter by a specific card identifier.

type
string

Filter by transaction type.

limit
integer
default:50

Maximum number of results to return. Defaults to 50.

Required range: x >= 1
cursor
string

Pagination cursor from a previous response.

Response

Transaction history returned successfully.

items
object[]
required
nextCursor
string | null

Opaque cursor for retrieving the next page of results. Null when there are no more pages.

Example:

"eyJpZCI6InR4bl9hMWIyYzNkNGU1ZjYifQ=="