Get statement for a specified Ledger account.
Note: This operation is deprecated. Use the Reports API to view your statements.
Segurança
Bearer
The page number for paginated results. The value is zero-based, where 0 represents the first page.
Set it to 0 to get the first page of results.
Padrão:0
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/statement/ledger/{account_name_with_address}
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/statement/ledger/{account_name_with_address}
curl -i -X GET \
'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/statement/ledger/{account_name_with_address}?start-date=string&end-date=string&page=0&size=10' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully returned statement for a specified ledger account.
Lower bound of the date-time range the statement covers, as an ISO-8601 timestamp in UTC.
Exemplo:"2018-08-06T23:13:55.997Z"
Upper bound of the date-time range the statement covers, as an ISO-8601 timestamp in UTC.
Exemplo:"2020-08-06T23:13:55.997Z"
Time at which the statement was generated, as an ISO-8601 timestamp in UTC.
Exemplo:"2019-10-01T21:58:23.621Z"
Closing balance of the account for the given date range.
Exemplo:-909
Resposta
{ "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", "opening_balance": 0, "closing_balance": -909, "transactions": { "content": [ … ], "total_elements": 1, "sort": "string", "first": true, "last": true, "number": 0, "numberOfElements": 1, "size": 10, "totalPages": 1 } }