Skip to main content
GET
cURL
This method will use 10 Compute Units.

Query Parameters

source_account
string

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.

Example:

"GDMQQNJM4UL7QIA66P7R2PZHMQINWZBM77BEBMHLFXD5JEUAHGJ7R4JZ"

source_assets
string

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.

Example:

"CNY:GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX"

destination_asset_type
enum<string>
required

The type for the destination asset. Either native, credit_alphanum4, or credit_alphanum12.

Available options:
native,
credit_alphanum4,
credit_alphanum12
destination_asset_issuer
string

The Stellar address of the issuer of the destination asset. Required if the destination_asset_type is not native.

Example:

"GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX"

destination_asset_code
string

The code for the destination asset. Required if the destination_asset_type is not native.

Example:

"USD"

destination_amount
string
required

The amount of the destination asset that should be received.

Example:

"5"

Response

200 - application/json

Success

_embedded
object