For AI agents: visit https://paymentsgate.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
This endpoint creates a new deposit (pay-in) deal. The deal is initiated by the client and can include various parameters such as the amount, currency, client information, and payment type.
Upon success, a response containing the deal ID, status, and redirect URL will be returned.
Ensure that all required fields are included in the request body.
Responses
400
Invalid request. The deal was not created.
Possible reasons:
ERROR_ACCESS_TOKEN_INVALID — the access token is invalid. The error may have occurred during the token request or refresh process.
ERROR_INVALID_PUBLIC_KEY — authorization failed due to an invalid public key.
FEATURE_NOT_AVAILABLE_FOR_SELECTED_CURRENCY — the selected currency is not supported for this payment method.
ERROR_CURRENCY_NOT_SUPPORTED — the specified currency is not supported. Please contact technical support.