Skip to main content
GET
/
customers
/
{id}
/
transactions
Customer transactions
curl --request GET \
  --url https://api.cartevo.co/api/v1/customers/{id}/transactions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "statusCode": 200,
  "message": "Data retrieved successfully",
  "data": [
    {
      "id": "7d1cdfa3-9904-4a17-bce5-092554170c0e",
      "category": "CARD",
      "type": "FUND",
      "amount": 50,
      "status": "SUCCESS",
      "description": "Card funding: **** **** **** 5407",
      "created_at": "2023-11-07T05:31:56Z",
      "card": {
        "id": "91b3c6d6-111b-44da-9f81-16f019bebe8c",
        "status": "ACTIVE",
        "balance": 0.45,
        "currency": "USD",
        "number": "tkAlsp_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2YWx1ZSI6IjUzNjAyNTI0ODM0NjU0MDciLCJpYXQiOjE3NjExNDg5NzR9.7sNid1b1pxmkpseiCR45E8Xj9hdmenZDovBcjVatBF0",
        "masked_number": "**** **** **** 5407",
        "cvv": "tkAlsp_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2YWx1ZSI6Ijg1NyIsImlhdCI6MTc2MTE0ODk3NH0.K7YHl0nzZTsScjUma_G5fyxYZFNnK-2SczstVtdMK1A",
        "expiry_month": 10,
        "expiry_year": 28,
        "is_virtual": true,
        "is_physical": false,
        "created_at": "2023-11-07T05:31:56Z"
      },
      "customer": {
        "id": "4d4dad81-7899-4612-a9f6-133ce56a4507",
        "email": "[email protected]",
        "first_name": "John",
        "last_name": "Doe"
      }
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 15,
    "totalPages": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

page
integer
Example:

1

limit
integer
Example:

20

Response

A list of transactions for the specified customer.

success
boolean
Example:

true

statusCode
integer
Example:

200

message
string
Example:

"Data retrieved successfully"

data
object[]
pagination
object