Stellar PHP SDK API Documentation

SEP31PostTransactionsResponse

Response from initiating a cross-border payment transaction via SEP-31.

This class represents the response received from a POST /transactions request, containing the transaction ID and Stellar payment details required to send the payment to the Receiving Anchor.

Tags
see
https://github.com/stellar/stellar-protocol/blob/v3.1.0/ecosystem/sep-0031.md#post-transactions
see
CrossBorderPaymentsService::postTransactions()
see
SEP31PostTransactionsRequest

Table of Contents

Properties

$id  : string
$stellarAccountId  : string|null
$stellarMemo  : string|null
$stellarMemoType  : string|null

Methods

__construct()  : mixed
fromJson()  : SEP31PostTransactionsResponse
Constructs a new instance of SEP31PostTransactionsResponse by using the given data.

Properties

$stellarMemoType

public string|null $stellarMemoType = null

(optional) The type of memo to attach to the Stellar payment (text, hash, or id).

Methods

__construct()

public __construct(string $id[, string|null $stellarAccountId = null ][, string|null $stellarMemoType = null ][, string|null $stellarMemo = null ]) : mixed
Parameters
$id : string

The persistent identifier to check the status of this payment transaction.

$stellarAccountId : string|null = null

(optional) The Stellar account to send payment to.

$stellarMemoType : string|null = null

(optional) The type of memo to attach to the Stellar payment (text, hash, or id).

$stellarMemo : string|null = null

(optional) The memo to attach to the Stellar payment.


        
On this page

Search results