A payment is created automatically when a customer completes a checkout. Payments are confirmed on the Stellar ledger and carry a transaction hash.Documentation Index
Fetch the complete documentation index at: https://docs.stellartools.dev/llms.txt
Use this file to discover all available pages before exploring further.
The payment object
Unique identifier. Prefixed with
pay_.Always
"payment".The checkout this payment originated from.
The customer who made the payment.
If this payment is a subscription renewal, the subscription ID.
Amount and asset code, e.g.
"50 XLM".pending, confirmed, or failed.The Stellar transaction hash.
Snapshot of the customer’s billing info at the time of payment.
null if no customer was attached.The Stellar wallet used to make the payment.
null if unavailable.Refunds issued against this payment. Empty array if no refunds exist.
Arbitrary key-value data.
ISO 8601 timestamp.
Retrieve a payment
GET /payment/{id}
Fetches a single payment by ID. Before returning, the Stellar network is queried for any pending payments and their status is updated accordingly.
List payments
GET /payment
Returns a paginated list of payments for your account, ordered by creation date descending.
Query parameters
Filter payments by customer ID. Returns only payments made by this customer.
Maximum number of payments to return. Defaults to
10.Return payments after this payment ID (exclusive). Use the last
id in the previous page to paginate forward.
