Skip to main content
Version: 3.0.0
SEP-24SEP-31SEP-6

Retrieve a Transaction

GET 

/transactions/:id

Provides the information necessary for the business to determine the state of the transaction identified by id, decide if any action must be taken to continue processing the transaction, and act on the decision.

Request

Path Parameters

    id stringrequired

Responses

Transaction found.

Schema

    oneOf

    id stringrequired
    sep stringrequired

    Possible values: [6]

    kind stringrequired

    Possible values: [deposit, deposit-exchange, withdrawal, withdrawal-exchange]

    status StatusSEP6 (string)required

    Possible values: [incomplete, completed, refunded, expired, error, pending_stellar, pending_external, pending_customer_info_update, pending_user_transfer_start, pending_user_transfer_complete, pending_anchor, pending_trust, pending_user, no_market, too_small, too_large]

    Possible status value for SEP-6 transactions

    type string

    The method the user used to deposit or withdraw offchain funds.

    amount_expected

    object

    amount stringrequired
    asset stringrequired

    amount_in

    object

    amount stringrequired
    asset stringrequired

    amount_out

    object

    amount stringrequired
    asset stringrequired

    fee_details

    object

    total stringrequired
    asset stringrequired

    details

    object[]

  • Array [

  • name stringrequired
    amount stringrequired
    description string
  • ]

  • quote_id string
    started_at date-timerequired
    updated_at date-time
    completed_at date-time
    transfer_received_at date-time
    user_action_required_by date-time
    message string

    refunds

    object

    amount_refunded

    object

    amount stringrequired
    asset stringrequired

    amount_fee

    object

    amount stringrequired
    asset stringrequired

    payments

    object[]

  • Array [

  • id string
    id_type string

    Possible values: [stellar, external]

    amount

    object

    amount stringrequired
    asset stringrequired

    fee

    object

    amount stringrequired
    asset stringrequired
    requested_at date-time
    refunded_at date-time
  • ]

  • stellar_transactions

    object[]

  • Array [

  • id stringrequired

    The ID of the transaction in the Stellar network.

    memo string

    The memo of the transaction in the Stellar network.

    memo_type string

    Possible values: [text, hash, id]

    The memo type of the transaction in the Stellar network. Should be present if memo is not null.

    created_at date-timerequired

    The time the transaction was registered in the Stellar network.

    envelope stringrequired

    The transaction envelope, containing all the transaction information.

    payments

    object[]

    required

  • Array [

  • id stringrequired

    The ID of the payment in the Stellar Network.

    payment_type stringrequired

    Possible values: [payment, path_payment]

    Default value: payment

    The type of payment in the Stellar Network.

    source_account stringrequired

    The account being debited in the Stellar Network.

    destination_account stringrequired

    The account being credited in the Stellar Network.

    amount

    object

    required

    amount stringrequired
    asset stringrequired
  • ]

  • ]

  • source_account string
    destination_account string
    external_transaction_id string
    memo string
    memo_type MemoType (string)

    Possible values: [text id hash]

    The memo type of the transaction in the Stellar network. Should be present if memo is not null.

    refund_memo string

    If provided, this memo should be used for refund transactions.

    refund_memo_type MemoType (string)

    Possible values: [text id hash]

    The memo type of the transaction in the Stellar network. Should be present if memo is not null.

    client_domain string
    client_name string

    customers

    object

    The user that initiated the transaction is both the sender and receiver.

    sender

    object

    StellarId's are objects that identify end-users and SEP-31 Sending Anchors, but not SEP-31 Receiving Anchors.

    For a SEP-12 customer, the id field should be sufficient to fully identify the customer in the business' Backend.

    For a SEP-31 Sending Anchor, the account and memo fields should be used.

    For a SEP-6 or SEP-24 Anchor, the account and memo fields should be used.

    id string

    The id of the customer registered through SEP-12.

    account string

    Either the Stellar account or Muxed account address of the on-chain entity.

    memo string

    The memo value identifying a customer with a shared account, where the shared account is account.

    receiver

    object

    StellarId's are objects that identify end-users and SEP-31 Sending Anchors, but not SEP-31 Receiving Anchors.

    For a SEP-12 customer, the id field should be sufficient to fully identify the customer in the business' Backend.

    For a SEP-31 Sending Anchor, the account and memo fields should be used.

    For a SEP-6 or SEP-24 Anchor, the account and memo fields should be used.

    id string

    The id of the customer registered through SEP-12.

    account string

    Either the Stellar account or Muxed account address of the on-chain entity.

    memo string

    The memo value identifying a customer with a shared account, where the shared account is account.

    creator

    object

    StellarId's are objects that identify end-users and SEP-31 Sending Anchors, but not SEP-31 Receiving Anchors.

    For a SEP-12 customer, the id field should be sufficient to fully identify the customer in the business' Backend.

    For a SEP-31 Sending Anchor, the account and memo fields should be used.

    For a SEP-6 or SEP-24 Anchor, the account and memo fields should be used.

    id string

    The id of the customer registered through SEP-12.

    account string

    Either the Stellar account or Muxed account address of the on-chain entity.

    memo string

    The memo value identifying a customer with a shared account, where the shared account is account.

Loading...