- 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.5 Get Balances
GET
https://access.sandbox.orzcash.com/v1/accounts/balances
Request
Query Params
accountId
string
optional
Example:
121212
pageSize
string
optional
Example:
10
pageToken
string
optional
Example:
aWVHZWV5OVgK
Body Params application/json
accountId
array[string]
required
pageSize
string
required
pageToken
string
required
Example
{
accountId:['100001','10002'],
pageSize:10,
pageToken:'realOnlineBugRate '
}
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/accounts/balances?accountId=121212&pageSize=10&pageToken=aWVHZWV5OVgK' \
--header 'Content-Type: application/json' \
--data-raw '{
accountId:['\''100001'\'','\''10002'\''],
pageSize:10,
pageToken:'\''realOnlineBugRate '\''
}'
Responses
🟢200 success
application/json
Body
nextPageToken
string
required
accountId
string
required
balances
array[string]
required
Example
{
"nextPageToken": "string",
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"balances": [
{
"asset": "USD",
"balance": 1000000,
"available": 950000
}
]
}
Modified at 2023-01-03 10:30:41