Payment Object
Sends an amount in a specific asset to a destination account.
See the Payment
errors.
ATTRIBUTEDATA TYPE
DESCRIPTION
asset_typestring
The type of asset being sent. Either
native
,credit_alphanum4
, orcredit_alphanum12
.asset_codestring
The code for the asset being sent. Appears if the
asset_type
is notnative
.asset_issuerstring
The Stellar address of the issuer of the asset being sent. Appears if the
asset_type
is notnative
.fromstring
The payment sender’s public key.
tostring
The payment recipient’s public key.
amountstring
Amount sent.