v1
latestOpenAPI 3.0.02026-08-06102185472.3 KBGet ledger account statement
Get statement for a specified Ledger account.
Note: This operation is deprecated. Use the Reports API to view your statements.
Path parameters
The RippleNet account name and address that you want to return a statement for. Use the format accountname@ripplenetaddress. For example, san_francisco@rn.us.ca.san_francisco.
Query parameters
The lower bound of the date-time range you want to return statement information for, as an ISO-8601 timestamp in UTC. For example, 2018-08-06T23:13:55.997Z.
The upper bound of the date-time range you want to return statement information for, as an ISO-8601 timestamp in UTC For example, 2018-08-06T23:15:13.218Z.
The page number for paginated results. The value is zero-based, where 0 represents the first page.<br/> Set it to 0 to get the first page of results.
Number of payment and transfer objects to return per page.
Response
Successfully returned statement for a specified ledger account.
Example response
{
"account_name": "trans_usd_sf",
"start_datetime": "2018-08-06T23:13:55.997Z",
"end_datetime": "2020-08-06T23:13:55.997Z",
"generated_at": "2019-10-01T21:58:23.621Z",
"currency": "USD",
"owner": "rn.us.ca.san_francisco",
"closing_balance": -909,
"transactions": {
"content": [
{
"transaction_id": "9eca588f-e89d-4629-82fa-da9c4646310f",
"transaction_type": "PAYMENT",
"transaction_state": "COMPLETED",
"balance_change": -15,
"balance_result": -909,
"created_at": "2019-10-01T21:28:28.354Z",
"end_to_end_id": "91ecb6bd-4dd8-4b53-a900-72b79f3064e4",
"internal_id": "8afd8e99-4ad4-4f4e-9bb7-018ad8c3a89c",
"venue_id": "nz7RpAujYgnQtjEM",
"transaction_hash": "DB0AFC09E0A94FC1D11F8CBABA48A184E27094F8DD32FCBC46F316E98011E2A6",
"balance_change_created_at": "2019-10-01T21:28:28.354Z",
"sender_address": "rn.us.ca.san_francisco",
"receiver_address": "rn.mx.mexico"
}
],
"total_elements": 1,
"first": true,
"last": true,
"numberOfElements": 1,
"size": 10,
"totalPages": 1
}
}