v1

latestOpenAPI 3.1.02026-08-04490133.8 KB

Fetch all cards transactions

get/cards/transactions

Query parameters

querystring

Enter title of card merchant e.g. udemy

fromstring

Enter start date in this format: 2023-05-20

tostring

Enter end date in this format: 2023-05-20

typestring

Specify the transaction type, either Credit or Debit

statusstring

It can be either Successful, Pending or Failed

Response

200

codeinteger
successboolean

Example response

{
  "code": 200,
  "data": {
    "message": "Users Card Transactions fetched successfully",
    "transactions": [
      {
        "id": 1338,
        "date": "2024-01-29T22:45:50.000Z",
        "authorization": {
          "currency": "USD",
          "amount": "1.69"
        },
        "merchant": {
          "name": "aliexpress",
          "city": "408-7855580 CA",
          "country": "US"
        },
        "status": "pending",
        "currency": "USD",
        "amount": "1.69",
        "createdAt": "2024-01-29T22:45:54.082Z",
        "processedAt": "2024-01-29T22:45:50.858Z",
        "balanceBefore": "1.76",
        "balanceAfter": "0.07000000000000001",
        "type": "debit"
      }
    ],
    "limit": 20,
    "page": 1,
    "total": 105
  },
  "success": true
}