Query Parameters
- source_accountstring
The Stellar address of the sender. Any returned path must start with an asset that the sender holds. Using either source_account or source_assets as an argument is required for strict receive path payments
- source_assetsstring
A comma-separated list of assets available to the sender. Any returned path must start with an asset in this list. Each asset is formatted as CODE:ISSUER_ACCOUNT. For example: USD:GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX. Using either source_account or source_assets as an argument is required for strict receive path payments
- destination_asset_typestringREQUIRED
The type for the destination asset. Either 'native', 'credit_alphanum4', or 'credit_alphanum12'
- destination_asset_issuerstring
The Stellar address of the issuer of the destination asset. Required if the destination_asset_type is not 'native'
- destination_asset_codestring
The code for the destination asset. Required if the destination_asset_type is not 'native'
- destination_amountstringREQUIRED
The amount of the destination asset that should be received
Returns
- _embeddedobject
The embedded records containing the payment paths
- recordsarray
An array of payment path records
- source_asset_typestring
The type of the source asset
- source_asset_codestring
(Optional) The code of the source asset. Only present when source_asset_type is not 'native'
- source_asset_issuerstring
(Optional) The issuer of the source asset. Only present when source_asset_type is not 'native'
- source_amountstring
The amount of the source asset that needs to be sent
- destination_asset_typestring
The type of the destination asset
- destination_asset_codestring
The code of the destination asset
- destination_asset_issuerstring
The issuer of the destination asset
- destination_amountstring
The amount of the destination asset that will be received
- patharray
An array of assets that represents the path from source to destination
- asset_typestring
The type of the asset in the path
- asset_codestring
The code of the asset in the path
- asset_issuerstring
The issuer of the asset in the path