Description Usage Arguments Details Value
View source: R/get_account_payments.R
This API endpoint can be used to browse through an account's payment history and also used to confirm specific payments after a payment has been submitted.
1 2 3 | get_account_payments(address, source_account, destination_account,
exclude_failed = FALSE, direction, earliest_first = FALSE, start_ledger,
end_ledger, results_per_page = 10, page = 1)
|
address |
The Ripple address of the desired account |
source_account |
Filter the results to only include payments sent by the given account. |
destination_account |
Filter the results to only include payments received by the given account. |
exclude_failed |
If set to |
direction |
Limit the results to only include the given type of
payments. The following direction values are currently supported:
|
earliest_first |
If set to |
start_ledger |
The index for the starting ledger. If
|
end_ledger |
The index for the ending ledger. If |
results_per_page |
The maximum number of payments to be returned at once. Defaults to 10. |
page |
The page number to be returned. The first page of results will have page number 1, the second page will have page number 2, and so on. Defaults to 1. |
If the server returns fewer than results_per_page
payments, then there
are no more pages of results to be returned. Otherwise, increment the page
number and re-issue the query to get the next page of results.
Note that the Ripple-REST API has to retrieve the full list of payments from the server and then filter them before returning them back to the caller. This means that there is no speed advantage to specifying more filter values.
A list of objects of class "Payment"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.