# Transactions

Use these operations to:

- set up payment instruments for payments
- authorize and hold funds
- capture funds
- make payments
- make payouts
- refund transactions.

- [POST /ready-to-pay](/docs/dev-docs/api/transactions/postreadytopay.md): Retrieves available payment methods for a specific transaction or purchase. The order in which the payment methods are displayed to the customer should be the same as the order in the response. The li
- [POST /transactions](/docs/dev-docs/api/transactions/posttransaction.md): Creates a transaction of type `sale`, `authorize` or `setup`. Use this operation for the following transactions. #### Real-time decision and response In this transaction, you send a request and inspec
- [GET /transactions](/docs/dev-docs/api/transactions/gettransactioncollection.md): Retrieves a list of transactions.
- [GET /transactions/{id}](/docs/dev-docs/api/transactions/gettransaction.md): Retrieves a transaction with a specified ID.
- [PATCH /transactions/{id}](/docs/dev-docs/api/transactions/patchtransaction.md): Updates the custom fields of a transaction with a specified ID.
- [POST /payouts](/docs/dev-docs/api/transactions/postpayout.md): Creates a transaction of type `credit`.
- [POST /transactions/{id}/query](/docs/dev-docs/api/transactions/posttransactionquery.md): Queries a transaction with a specified ID. The query interacts with the related gateway account to obtain the result, amount, and currency. If after analysis, the transaction must be updated, see [Upd
- [POST /transactions/{id}/update](/docs/dev-docs/api/transactions/posttransactionupdate.md): Updates the status of a transaction with a specified ID to `completed`, with a specified `result` and optional currency and amount values.
- [POST /transactions/{id}/refund](/docs/dev-docs/api/transactions/posttransactionrefund.md): Refunds a transaction with a specified ID. The refund is in the same currency as the original transaction.
- [GET /payout-requests](/docs/dev-docs/api/transactions/getpayoutrequestcollection.md): Retrieves a list of payout requests. Filter by: `id`, `customerId`, `websiteId`, `batchId`, `status`, `blocked`, `blockReason`, `splitReason`, `createdTime`, `updatedTime`, `currency`, `amount`.
- [POST /payout-requests](/docs/dev-docs/api/transactions/postpayoutrequest.md): Creates a payout request. In the response, the `selectPaymentInstrumentUrl` field is used to redirect the customer to select a preferred payment instrument. After a payment instrument is selected, the
- [GET /payout-requests/{id}](/docs/dev-docs/api/transactions/getpayoutrequest.md): Retrieves a payout request with a specified ID.
- [PATCH /payout-requests/{id}](/docs/dev-docs/api/transactions/patchpayoutrequest.md): Updates a payout request with a specified ID. Use this operation to update the status, description, and blocked state.
- [GET /payout-requests/{id}/payment-instruments](/docs/dev-docs/api/transactions/getpayoutrequestpaymentinstruments.md): Retrieves the payment gateway and a list of payment instruments that are associated with a payout request with a specified ID.
- [POST /payout-request-auto-allocations](/docs/dev-docs/api/transactions/postpayoutrequestautoallocations.md): Creates allocations for a payout request using automatically selected payment instruments and gateway accounts. Only the payout request ID is required. When an allocation is created, the payout reques
- [GET /payout-request-allocations](/docs/dev-docs/api/transactions/getpayoutrequestallocationcollection.md): Retrieves a list of payout request allocations.
- [POST /payout-request-allocations](/docs/dev-docs/api/transactions/postpayoutrequestallocation.md): Creates an allocation for a payout request. When an allocation is created, the payout request transitions to the `in-progress` status, and the allocation starts in the `pending` status. The allocation
- [PATCH /payout-request-allocations/{id}](/docs/dev-docs/api/transactions/patchpayoutrequestallocation.md): Updates the status of a payout request allocation with a specified ID. Only the `processing` and `canceled` statuses can be set with this operation. The `processing` status transitions an allocation f
- [GET /payout-request-batches](/docs/dev-docs/api/transactions/getpayoutrequestbatchcollection.md): Retrieves a list of payout request batches.
- [POST customer-redirected-offsite](/docs/dev-docs/api/transactions/customer-redirected-offsite.md)
- [POST customer-returned](/docs/dev-docs/api/transactions/customer-returned.md)
- [POST gateway-account-requested](/docs/dev-docs/api/transactions/gateway-account-requested.md)
- [POST offsite-payment-completed](/docs/dev-docs/api/transactions/offsite-payment-completed.md)
- [POST payout-request-batch-created](/docs/dev-docs/api/transactions/payout-request-batch-created.md)
- [POST payout-request-batch-deleted](/docs/dev-docs/api/transactions/payout-request-batch-deleted.md)
- [POST payout-request-batch-modified](/docs/dev-docs/api/transactions/payout-request-batch-modified.md)
- [POST payout-request-canceled](/docs/dev-docs/api/transactions/payout-request-canceled.md)
- [POST payout-request-changed](/docs/dev-docs/api/transactions/payout-request-changed.md)
- [POST payout-request-created](/docs/dev-docs/api/transactions/payout-request-created.md)
- [POST payout-request-fulfilled](/docs/dev-docs/api/transactions/payout-request-fulfilled.md)
- [POST payout-request-modified](/docs/dev-docs/api/transactions/payout-request-modified.md)
- [POST ready-to-pay-requested](/docs/dev-docs/api/transactions/ready-to-pay-requested.md)
- [POST risk-score-changed](/docs/dev-docs/api/transactions/risk-score-changed.md)
- [POST transaction-amount-discrepancy-found](/docs/dev-docs/api/transactions/transaction-amount-discrepancy-found.md)
- [POST transaction-declined](/docs/dev-docs/api/transactions/transaction-declined.md)
- [POST transaction-discrepancy-found](/docs/dev-docs/api/transactions/transaction-discrepancy-found.md)
- [POST transaction-process-requested](/docs/dev-docs/api/transactions/transaction-process-requested.md)
- [POST transaction-processed](/docs/dev-docs/api/transactions/transaction-processed.md)
- [POST transaction-reconciled](/docs/dev-docs/api/transactions/transaction-reconciled.md)
- [POST transaction-partially-refunded](/docs/dev-docs/api/transactions/transaction-partially-refunded.md)
- [POST transaction-refunded](/docs/dev-docs/api/transactions/transaction-refunded.md)
- [POST transaction-voided](/docs/dev-docs/api/transactions/transaction-voided.md)
- [POST transaction-timeout-resolved](/docs/dev-docs/api/transactions/transaction-timeout-resolved.md)
- [POST waiting-gateway-transaction-completed](/docs/dev-docs/api/transactions/waiting-gateway-transaction-completed.md)
- [POST autodeposit-lookup-performed](/docs/dev-docs/api/transactions/autodeposit-lookup-performed.md)
