- 1. Overview
- 2. Authentication
- 2.1 Introduction
- 2.2 Creating the Bearer Token
- 3. Requests & Responses
- 4. Getting Started
- 4.1 Pagination
- 4.2 Rate Limiting
- 4.3 Idempotency
- 4.4 External ID and Metadata
- 5. API
- Health
- Accounts
- Transfer
- Transactions
- Conversions
- Payouts
- Card Account
- Cards
- Digital Custody
- Countries
- Positions
- Occupations
- 6. Screenshot Illustration(api+image)
5.14 Get Card Account Transactions
GET
https://access.sandbox.orzcash.com/v1/cardaccounts/transactions
Request
Query Params
cardAccountId
string
required
Example:
121212
pageToken
string
required
Example:
aWVHZWV5OVgK
dateRangeFrom
string
required
Example:
2022-01-01T00%3A00%3A00.000Z
dateRangeTo
array[string]
optional
Example:
["2022-01-31T23%3A59%3A59.999Z",""]
cardId
string
optional
transactionId
string
optional
pageSize
number
optional
Body Params application/json
cardAccountId
string
required
cardId
string
required
transactionId
string
required
pageSize
string
required
pageToken
string
required
dateRangeFrom
string
required
dateRangeTo
string
required
Example
{
cardAccountId:"1001",
cardId:'100001',
transactionId:'1008',
pageSize:10,
pageToken:"aWVHZWV5OVgK",
dateRangeFrom:"2022-01-01T00:00:00.000Z",
dateRangeTo:"2022-01-01T00:00:00.000Z"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://access.sandbox.orzcash.com/v1/cardaccounts/transactions?cardAccountId=121212&pageToken=aWVHZWV5OVgK&dateRangeFrom=2022-01-01T00%3A00%3A00.000Z&dateRangeTo=2022-01-31T23%3A59%3A59.999Z&dateRangeTo=&cardId=&transactionId=&pageSize=' \
--header 'Content-Type: application/json' \
--data-raw '{
cardAccountId:"1001",
cardId:'\''100001'\'',
transactionId:'\''1008'\'',
pageSize:10,
pageToken:"aWVHZWV5OVgK",
dateRangeFrom:"2022-01-01T00:00:00.000Z",
dateRangeTo:"2022-01-01T00:00:00.000Z"
}'
Responses
🟢200success
application/json
Body
nextPageToken
string
required
transactions
object
required
Example
{
"nextPageToken": "string",
"transactions": [
{
"createdAt": "2022-11-10T07:47:09.415Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"refId": "CT34567890",
"cardId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"cardAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"intent": "charge",
"authorization": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"currency": "string",
"amount": "string",
"createdAt": "2022-11-10T07:47:09.415Z"
},
"merchant": {
"name": "UBER * PENDING Amsterdam NLD",
"mcc": "4121",
"category": "Taxicabs and limousines"
},
"currency": "string",
"amount": 0,
"description": "UBER * PENDING Amsterdam NLD"
}
]
}
Modified at 2023-01-03 10:56:08