# Documentation
## Docs
- [Cancellation of funds holding](https://docs.m4psp.com/api-reference/invoice-create/cancellation-of-funds-holding.md): ### Cancellation of funds hold.
- [Confirmation of funds withdrawal (charge)](https://docs.m4psp.com/api-reference/invoice-create/confirmation-of-funds-withdrawal-charge.md): ### Withdrawal confirmation.
- [Funds hold (two-stage payments)](https://docs.m4psp.com/api-reference/invoice-create/funds-hold-two-stage-payments.md):
This feature is available only after approval by the manager.
- [Getting payment methods for input](https://docs.m4psp.com/api-reference/invoice-create/getting-payment-methods-for-input.md): Provides an up-to-date list of available payment ways and their additional parameters required for invoicing.
- [Invoice issue](https://docs.m4psp.com/api-reference/invoice-create/invoice-issue.md): Additional parameters can be transferred in the request, for example:
- [Invoice preliminary calculation](https://docs.m4psp.com/api-reference/invoice-create/invoice-preliminary-calculation.md): Retrieves additional information for invoice creation.
- [Issued invoice status request](https://docs.m4psp.com/api-reference/invoice-create/issued-invoice-status-request.md): To get the status and up-to-date information regarding issued invoice.
- [Invoice refund](https://docs.m4psp.com/api-reference/invoice-refund/invoice-refund.md): Method for creating a refund to the payer from the partner's balance, with a successfully paid invoice ([invoice status](#tag/invoice-statuses) has a value of 4).
- [Invoice refund status](https://docs.m4psp.com/api-reference/invoice-refund/invoice-refund-status.md): To get status and up-to-date information on refunds.
- [Receive the shop balance](https://docs.m4psp.com/api-reference/other-shop-methods/receive-the-shop-balance.md): Makes it possible to get the shop's balance. The total balance of the shop corresponds to the amount of `available`, `frozen` and `hold` in the specified currency. This request is available only for agent shops created to make payments.
- [Checking the account for the possibility of replenishment](https://docs.m4psp.com/api-reference/withdraw-create/checking-the-account-for-the-possibility-of-replenishment.md): Returns information about the account for which the payout request is being created.
- [Getting possible payout methods](https://docs.m4psp.com/api-reference/withdraw-create/getting-possible-payout-methods.md): Makes it possible to get an up to date list of available payment ways and their additional parameters required to create a payment. For some payways returns additional data.
- [Payout creation](https://docs.m4psp.com/api-reference/withdraw-create/payout-creation.md): Additional parameters can be transferred in the request, for example: * `description` – payout description, * `account_details` – additional information on the account for payout.
- [Payout preliminary calculation](https://docs.m4psp.com/api-reference/withdraw-create/payout-preliminary-calculation.md): Retrieves additional information for payout creation and preliminary commission calculation.
- [Payout status request by ID of the payout created in M4 system](https://docs.m4psp.com/api-reference/withdraw-create/payout-status-request-by-id-of-the-payout-created-in-m4-system.md): To get the status and up-to-date information of payments by the M4 system ID.
- [Payout status request by the shop payout number](https://docs.m4psp.com/api-reference/withdraw-create/payout-status-request-by-the-shop-payout-number.md): To get the status and up-to-date information of payments by `shop_payment_id`.
- [Interaction format](https://docs.m4psp.com/callbacks.md)
- [List of possible errors](https://docs.m4psp.com/errors-list.md)
- [Invoice callback schema](https://docs.m4psp.com/invoice-callback-schema.md)
- [Invoice issue (payment creation)](https://docs.m4psp.com/invoice-create.md)
- [Refunds](https://docs.m4psp.com/invoice-refund.md)
- [Invoice statuses](https://docs.m4psp.com/invoice-statuses.md)
- [Other shop methods](https://docs.m4psp.com/other-shop-methods.md)
- [M4 Payment Gateway API (1.0.0)](https://docs.m4psp.com/overview.md)
- [Refund callback schema](https://docs.m4psp.com/refund-callback-schema.md)
- [Payout creation](https://docs.m4psp.com/withdraw-create.md)
- [Payout statuses](https://docs.m4psp.com/withdraw-statuses.md)
## OpenAPI Specs
- [openapi](https://docs.m4psp.com/openapi.yaml)
- [apidoc](https://docs.m4psp.com/api/apidoc.yaml)