Method: POST account_channels
The account_channels method returns information about an account's Payment Channels.
This includes only channels where the specified account is the channel's source, not the destination.
(A channel's "source" and "owner" are the same.)
All information retrieved is relative to a particular version of the ledger.
account - String
The unique identifier of an account, typically the account's Address.
The request returns channels where this account is the channel's owner/source.
destination_account - String
(Optional) The unique identifier of an account, typically the account's Address.
If provided, filter results to payment channels whose destination is this account.
ledger_hash - String
(Optional) A 20-byte hex string for the ledger version to use.
ledger_index - String or Unsigned Integer
(Optional) The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.
limit - Integer
(Optional) Limit the number of transactions to retrieve. Cannot be less than 10 or more than 400. The default is 200.
marker - Marker
(Optional) Value from a previous paginated response. Resume retrieving data where that response left off.