Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
title order
Payment Object
20

import { ExampleResponse } from "components/ExampleResponse"; import { AttributeTable } from "components/AttributeTable";

Sends an amount in a specific asset to a destination account.

See the Payment errors.

  • ATTRIBUTE
    • DATA TYPE
    • DESCRIPTION
  • asset_type
    • string
    • The type of asset being sent. Either native, credit_alphanum4, or credit_alphanum12.
  • asset_code
    • string
    • The code for the asset being sent. Appears if the asset_type is not native.
  • asset_issuer
    • string
    • The Stellar address of the issuer of the asset being sent. Appears if the asset_type is not native.
  • from
    • string
    • The payment sender’s public key.
  • to
    • string
    • The payment recipient’s public key.
  • amount
    • string
    • Amount sent.
{
  "_links": {
    "self": {
      "href": "https://horizon.stellar.org/operations/122511124621283329"
    },
    "transaction": {
      "href": "https://horizon.stellar.org/transactions/452a180790caf4dbe658d996316cd727ce5573f5f0a77790da540cc49214fe80"
    },
    "effects": {
      "href": "https://horizon.stellar.org/operations/122511124621283329/effects"
    },
    "succeeds": {
      "href": "https://horizon.stellar.org/effects?order=desc\u0026cursor=122511124621283329"
    },
    "precedes": {
      "href": "https://horizon.stellar.org/effects?order=asc\u0026cursor=122511124621283329"
    }
  },
  "id": "122511124621283329",
  "paging_token": "122511124621283329",
  "transaction_successful": true,
  "source_account": "GCAXBKU3AKYJPLQ6PEJ6L47KOATCYCBJ2NFRGAK7FUUA2DCEUC265SU2",
  "type": "payment",
  "type_i": 1,
  "created_at": "2020-03-04T22:46:47Z",
  "transaction_hash": "452a180790caf4dbe658d996316cd727ce5573f5f0a77790da540cc49214fe80",
  "asset_type": "credit_alphanum4",
  "asset_code": "NGNT",
  "asset_issuer": "GAWODAROMJ33V5YDFY3NPYTHVYQG7MJXVJ2ND3AOGIHYRWINES6ACCPD",
  "from": "GCAXBKU3AKYJPLQ6PEJ6L47KOATCYCBJ2NFRGAK7FUUA2DCEUC265SU2",
  "to": "GC2QCKFI3DOBEYVBONPVNA2PMLU225IKKI6XPENMWR2CTWSFBAOU7T34",
  "amount": "5.0000000"
}