Import Account Balances
Last updated
Last updated
This API is used to batch import balance records for accounts, supporting multiple accounts, currencies, and timestamps in a single request.
Request Method:POST
Request URL:https://openapi.elven.com/open/v3/account/treasuryBalance
Parameter Name | Type | Required | Description |
---|---|---|---|
The request body is a JSON array, where each element is a balance record object.
Balance Record Object
Parameter Name | Type | Required | Description |
---|---|---|---|
Record Limit: The number of balance records in the request body is limited to 1000 records per request.
Datetime Format: The datetime field must strictly follow the format YYYY-MM-DD HH:mm:ss. Parsing errors may occur if the format is incorrect.
Time Zone Alignment: The imported data will be aligned with the time zone of the associated Entity. If the original data uses a different time zone, it must be adjusted before import.
Parameter Name | Type | Description |
---|---|---|
elven-api-key
String
Yes
The API key assigned to you
elven-api-sign
String
Yes
Request signature, used to verify the legitimacy of the request
elven-api-timestamp
String
Yes
Request timestamp, in milliseconds
entityAccountId
String
Yes
The primary key of the account associated with the balance.
currency
String
Yes
Transaction currency, which can be obtained from the currency query API.
Case-sensitive.
datetime
String
Yes
The timestamp of the balance record in YYYY-MM-DD HH:mm:ss
format.
balance
Number
Yes
The balance amount for the specified account and currency.
success
Boolean
Import Task Status