Query Parameters
- source_asset_typestringREQUIRED
The type for the source asset. Either 'native', 'credit_alphanum4', or 'credit_alphanum12'
- source_asset_issuerstring
The Stellar address of the issuer of the source asset. Required if the source_asset_type is not 'native'
- source_asset_codestring
The code for the source asset. Required if the source_asset_type is not 'native'
- source_amountstringREQUIRED
The amount of the source asset that should be sent
- destination_accountstring
The Stellar address of the receiver. Any returned path must end with an asset that the receiver can receive. Using either destination_account or destination_assets as an argument is required for strict send path payments
- destination_assetsstring
A comma-separated list of assets that the recipient can receive. Any returned path must end with an asset in this list. Each asset is formatted as CODE:ISSUER_ACCOUNT. For example: USD:GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX. Using either destination_account or destination_assets as an argument is required for strict send path payments
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
The code of the source asset
- source_asset_issuerstring
The issuer of the source asset
- 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
(Optional) The code of the destination asset. Only present when destination_asset_type is not 'native'
- destination_asset_issuerstring
(Optional) The issuer of the destination asset. Only present when destination_asset_type is not 'native'
- 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