# Sender - advanced payment flow In the **advanced payment flow**, both Sender and Receiver can use low-level RippleNet API calls to exercise control over each step of the transaction. If the client application uses the advanced payment flow API operations, they must use polling to get information about payment states. For more information, see [Send a payment - advanced](/api-docs/ripplenet/tutorials/send-a-payment/send-a-payment-advanced.md). ## {% $env.PUBLIC_VAR_RNSERVER %} API ### Account configuration Use these operations to configure your accounts. | Operation | Method | Description | | -- | -- | -- | | [Get accounts](/api-docs/ripplenet/reference/#operation/getAccounts) | GET | Gets a list of all accounts. | | [Create account](/api-docs/ripplenet/reference/#operation/createAccount) | POST | Creates an account on the RippleNet ledger. | | [Get account by name](/api-docs/ripplenet/reference/#operation/getAccountByName) | GET | Get a specific account. | | [Update account](/api-docs/ripplenet/reference/#operation/updateAccount) | PUT | Update the updatable fields for an account. | | [Update nostro account balance limit](/api-docs/ripplenet/reference/#operation/update-nostro-account-balance-limit) | PUT | Update minimum and maximum allowed balance limits on a nostro account. | | [Disable account](/api-docs/ripplenet/reference/#operation/disableAccount) | POST | Disable an account. | ### Auditing Use these operations to audit your accounts. | Operation | Method | Description | | -- | -- | -- | | [Get audits](/api-docs/ripplenet/reference/#operation/getAudits) | GET | Gets an audit trail of user actions and configuration changes (to accounts, fees, and rates) on a RippleNet instance. | | [Get event trail for payment](/api-docs/ripplenet/reference/#operation/getEventTrailForPayment) | GET | Gets an audit trail of a payment's state changes on a local RippleNet instance. | ### Balances and statements Use these operations to view balances and statements for a ledger. | Operation | Method | Description | | -- | -- | -- | | [Get balances](/api-docs/ripplenet/reference/#operation/getBalances) | GET | Get balances for local and remote accounts owned by a RippleNet address. | | [Get ledger balances](/api-docs/ripplenet/reference/#operation/getLedgerBalances) | GET | Get balances for ledger owned by a RippleNet address. | | [Get statement](/api-docs/ripplenet/reference/#operation/getStatement) | GET | Gets a statement for an account that lists payments and transfers that impacted the account's balance during a specified date-time range. | | [Get statement by external account ID](/api-docs/ripplenet/reference/#operation/getStatementByExternalAccountId) | GET | Gets a statement for an account that lists payments and transfers that impacted the account's balance during a specified date-time range. | | [Get ledger account statement](/api-docs/ripplenet/reference/#operation/getLedgerAccountStatement) | GET | Get statement for a specified Ledger Account | ### Beneficiary confirmation Use these operations to perform beneficiary confirmations. | Operation | Method | Description | | -- | -- | -- | | [Get account lookup by status](/api-docs/ripplenet/reference/#operation/getAccountLookupByStatus) | GET | Get Account Lookup entities by status and other filters. | | [Initiate account lookup](/api-docs/ripplenet/reference/#operation/initiateAccountLookup) | POST | Creates an Account Lookup request to validate a beneficiary's account details before sending a payment. | | [Get account lookup by ID](/api-docs/ripplenet/reference/#operation/getAccountLookupById) | GET | Gets an Account Lookup entity for its `account_lookup_id` value. | ### Diagnostics Use these operations to view RippleNet Server health. | Operation | Method | Description | | -- | -- | -- | | [Check health](/api-docs/ripplenet/reference/#operation/checkHealth) | GET | Gets the health status of the RippleNet server. | | [Check heartbeat](/api-docs/ripplenet/reference/#operation/checkHeartbeat) | GET | Gets the health status of the RippleNet server's peers. | ### Exchange Transfers Use these operations to manage exchange transfers. | Operation | Method | Description | | -- | -- | -- | | [Get exchange transfers](/api-docs/ripplenet/reference/#operation/getExchangeTransfers) | GET | List all exchange transfers. | | [Get exchange transfer by ID ](/api-docs/ripplenet/reference/#operation/getExchangeTransferById) | GET | Gets an exchange transfer by ID. | ### Fees Use these operations to configure fees. | Operation | Method | Description | | -- | -- | -- | | [Get fees](/api-docs/ripplenet/reference/#operation/getFees) | GET | List all fees. | | [Create fee](/api-docs/ripplenet/reference/#operation/createFee) | POST | Creates a fee. | | [Get fee by ID ](/api-docs/ripplenet/reference/#operation/getFeeById) | GET | Gets a fee by ID. | | [Update fee ](/api-docs/ripplenet/reference/#operation/updateFee) | PUT | Update an existing fee. | | [Delete fee ](/api-docs/ripplenet/reference/#operation/deleteFee) | DELETE | Deletes a fee. Once deleted, a fee cannot be accessed. | ### Payments Use these operations to perform payments. | Operation | Method | Description | | -- | -- | -- | | [Get payments](/api-docs/ripplenet/reference/#operation/getPayments) | GET | Retrieves all payments in an instance of RippleNet that meet the criteria defined by the query parameters. | | [Get payment by payment ID](/api-docs/ripplenet/reference/#operation/getPaymentByPaymentId) | GET | Gets a payment by ID. | | [Retry accept payment](/api-docs/ripplenet/reference/#operation/retryAcceptPayment) | POST | Returns a rejected payment from the `LOCK_DECLINED` state to the `ACCEPTED` state. | | [Fail payment](/api-docs/ripplenet/reference/#operation/failPayment) | POST | Fails a payment. Fail payment is a deliberate action that permanently stops the payment and puts it into a non-recoverable state. | | [Settle payment](/api-docs/ripplenet/reference/#operation/settlePayment) | POST | Executes a payment in the `LOCKED` state. | | [Add payment sub-state](/api-docs/ripplenet/reference/#operation/addPaymentSubState) | POST | Adds a sub-state to a payment that reflects what is happening to the payment while it is in the `EXECUTED` state. | | [Add payment labels](/api-docs/ripplenet/reference/#operation/addPaymentLabels) | PUT | Adds a list of labels to the payment. To retrieve payments by label, see [Get payments](/api-docs/ripplenet/reference/#operation/getPayments). | | [Delete payment labels](/api-docs/ripplenet/reference/#operation/deletePaymentLabels) | DELETE | Deletes an existing label from a payment. | | [Get payment node status](/api-docs/ripplenet/reference/#operation/getPaymentNodeStatus) | GET | Senders can query for the RippleNet instances (in a given payment chain) that have payments in the `LOCKED` state. | ### Pool Accounts Use these operations to configure your RippleNet pool accounts. | Operation | Method | Description | | -- | -- | -- | | [Get all pool accounts](/api-docs/ripplenet/reference/#operation/getAllPoolAccounts) | GET | Returns a list of all pool accounts on a RippleNet node. | | [Get pool account by pool account ID](/api-docs/ripplenet/reference/#operation/getPoolAccountByPoolAccountId) | GET | Get a pool account by its pool account ID. | ### Quotes Use these operations to manage your quotes. | Operation | Method | Description | | -- | -- | -- | | [Accept quote](/api-docs/ripplenet/reference/#operation/acceptQuote) | POST | Accepts a quote ID to start the payment process. | | [Get quotes](/api-docs/ripplenet/reference/#operation/getQuotes) | GET | Gets a list of quotes. | | [Get quote by quote ID](/api-docs/ripplenet/reference/#operation/getQuoteByQuoteId) | GET | Gets a quote by ID. | | [Create quote collection](/api-docs/ripplenet/reference/#operation/createQuoteCollection) | POST | Creates a collection of quotes for a proposed payment. | | [Get quote collection by ID](/api-docs/ripplenet/reference/#operation/getQuoteCollectionById) | GET | Gets a quote collection that was created for a proposed payment. | ### Request For Payment Use these operations to interact with your payment requests. | Operation | Method | Description | | -- | -- | -- | | [Accept request for payment](/api-docs/ripplenet/reference/#operation/acceptRequestForPayment) | POST | Accepts a request for payment. | ### Transfers Use these operations to manage your transfers. | Operation | Method | Description | | -- | -- | -- | | [Get transfers](/api-docs/ripplenet/reference/#operation/getTransfers) | GET | Gets a list of transfers. | | [Get transfer by ID](/api-docs/ripplenet/reference/#operation/getTransferById) | GET | Gets a transfer by ID. | | [Add transfer labels](/api-docs/ripplenet/reference/#operation/addTransferLabels) | PUT | Adds a list of labels to the transfer. To retrieve transfers by label, see [Get transfers](/api-docs/ripplenet/reference/#operation/getTransfers) | | [Delete transfer labels](/api-docs/ripplenet/reference/#operation/deleteTransferLabels) | DELETE | Deletes one or more existing labels from the transfer. | ## Smart Liquidation Service Use these operations for Smart Liquidation. | Operation | Method | Description | | -- | -- | -- | | [Get liquidations](/api-docs/smart_liquidation/reference/#operation/getLiquidations) | GET | List all liquidations by date range. | | [Get liquidation by ID](/api-docs/smart_liquidation/reference/#operation/getLiquidationById) | GET | Gets a liquidation by `UUID`. |