Payments Request Builder
Builds requests connected to payments.
Payments are a subset of operations - only operations that are payment-related.
See also
Functions
Sets the cursor parameter on the request. A cursor is a value that points to a specific location in a collection of resources. The cursor attribute itself is an opaque value meaning that users should not try to parse it.
Build and execute request.
Builds request to GET /accounts/{account}/payments Returns all payment operations for a specific account.
Builds request to GET /ledgers/{ledgerSeq}/payments Returns all payment operations in a specific ledger.
Builds request to GET /transactions/{transactionId}/payments Returns all payment operations in a specific transaction.
Adds a parameter defining whether to include payment operations from failed transactions. By default only payment operations from successful transactions are returned.
Adds a parameter defining whether to include transactions in the response. By default transaction data is not included.
Sets the limit parameter on the request. It defines maximum number of records to return. For range and default values check documentation of the endpoint requested.
Sets the order parameter on the request.
Creates a Server-Sent Events (SSE) stream for this request. The stream will automatically reconnect on connection loss and resume from the last received event.