OpenAPI Document
  1. Transactions
OpenAPI Document
  • 1. Overview
    • 1. Overview
  • 2. Authentication
    • 2.1 Introduction
      • 2.1 Introduction
      • Generating an RSA key pair
    • 2.2 Creating the Bearer Token
      • 2.2 Creating the Bearer Token
      • Creating the token
      • Signature Examples
      • JWT Token Specification
      • Signature Examples
  • 3. Requests & Responses
    • 3.1 Requests
    • 3.2 Responses
    • 3.2 Responses
      • 3.2.1 Succes Responses
      • 3.2.2 Retrying Requests
      • 3.2.3 HTTP Status Codes
      • 3.2.4 Error Responses
        • Error Response Format
  • 4. Getting Started
    • 4.1 Pagination
      • 4.1 Pagination
    • 4.2 Rate Limiting
      • Rate Limits
    • 4.3 Idempotency
      • Idempotency Fields
    • 4.4 External ID and Metadata
      • 4.4 External ID and Metadata
  • 5. API
    • Health
      • 5.1 Test connectivity
      • 5.2 Test connectivity
    • Accounts
      • 5.3 Get Accounts
      • 5.4 Get Accounts
      • 5.5 Get Balances
    • Transfer
      • 5.6 Create a Transfer
    • Transactions
      • 5.7 Get Account Transactions
        GET
    • Conversions
      • 5.8 Get a Quote
      • 5.9 Execute a trade
    • Payouts
      • 5.10 Get Payouts
      • 5.11 Create Payout
      • 5.12 Get Payout Quotation
    • Card Account
      • 5.13 Create Card Account
      • 5.14 Get Card Account Transactions
    • Cards
      • 5.15 Issue Card
      • 5.16 Get Cards
      • 5.17 Activate Card
      • 5.18 Suspend Card
      • 5.19 Unsuspend Card
      • 5.20 Lock Card
      • 5.21 Unlock Card
      • 5.22 Cancel a card
      • 5.23 Get Card Senstiive Info
      • 5.24 Change Card PIN
      • 5.25 Control Spending
    • Digital Custody
      • 5.26 Get Supported Digital Assets
      • 5.27 Get Supported Blockchains
      • 5.28 Create Withdrawal Request
      • 5.29 Get Deposit Addresses
      • 5.30 Generate Deposit Address
    • Countries
      • 5.31 Get Countries
    • Positions
      • 5.32 Get Positions
    • Occupations
      • 5.33 Get Occupations
  • 6. Screenshot Illustration(api+image)
    • 6. Screenshot Illustration(api+image)
  1. Transactions

5.7 Get Account Transactions

GET
https://access.sandbox.orzcash.com/v1/accounts/transactions

Request

Query Params
accountId
array[string]
optional
array string
Example:
["['111','1002']"]
xid
array[string]
optional
string
Example:
["1234"]
dateRangeFrom
string 
optional
Example:
2022-01-01T00%3A00%3A00.000Z
dateRangeTo
string 
optional
Example:
2022-01-31T23%3A59%3A59.999Z
transactionId
string 
optional
pageToken
string 
optional
pageSize
number 
optional
Body Params application/json
accountId
array[string]
required
transactionId
string 
required
xid
array[string]
required
pageSize
number 
required
pageToken
string 
required
dateRangeFrom
string 
required
dateRangeTo
string 
required
Example
 {
      "accountId": ["10001"],
      "transactionId": "1002",
      "xid": ["1003"],
      "pageSize": 10,
      "pageToken": "aWVHZWV5OVgK",
      "dateRangeFrom": "2022-01-01T00:00:00.000Z",
      "dateRangeTo": "2022-01-31T23:59:59.999Z"
    }

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 -g --request GET 'https://access.sandbox.orzcash.com/v1/accounts/transactions?accountId=['\''111'\'','\''1002'\'']&xid=1234&dateRangeFrom=2022-01-01T00%3A00%3A00.000Z&dateRangeTo=2022-01-31T23%3A59%3A59.999Z&transactionId=&pageToken=&pageSize=' \
--header 'Content-Type: application/json' \
--data-raw '{
      "accountId": ["10001"],
      "transactionId": "1002",
      "xid": ["1003"],
      "pageSize": 10,
      "pageToken": "aWVHZWV5OVgK",
      "dateRangeFrom": "2022-01-01T00:00:00.000Z",
      "dateRangeTo": "2022-01-31T23:59:59.999Z"
    }'

Responses

🟢200success
application/json
Body
nextPageToken
string 
required
transactions
array[string]
required
Example
{
    "nextPageToken": "string",
    "transactions": [
        {
            "createdAt": "2022-11-10T07:47:09.415Z",
            "asset": "USD",
            "amount": 10000.25,
            "intent": "transfer",
            "intentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "intentRefId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "status": "pending"
        }
    ]
}
Modified at 2023-01-03 10:38:49
Previous
5.6 Create a Transfer
Next
5.8 Get a Quote
Built with