โThis section outlines the methods available for payments. Depending on the selected transaction type (one-step or two-step payment), the set of available methods varies. โA one-step payment is executed with a single request that simultaneously initiates authorization and funds withdrawal. To send a request for processing a one-step payment in the Freedom Pay Gateway, you must specify pg_auto_clearing = 1 in the request parameters. โA two-step payment is performed in two stages: first, authorization is carried out, during which the amount is blocked on the payer's account, and then a second request is sent for clearing (operation confirmation), which results in the actual withdrawal of funds. โTo send a request for processing a two-step payment in the Freedom Pay Gateway, you must specify pg_auto_clearing = 0 in the request parameters.
Cancel payment before the actual fund withdrawal is available only for a two-step payment process.Payment cancellation is made before funds are debited, at the stage of holding the amount on the payer's card.
This method involves sending a request to withdraw the payment amount that was previously held on the payer's card.If Freedom Pay Gateway does not receive a clearing or cancellation request within 5 days, the payment will be automatically cleared.The method is available only for two-step payments.
Refund is a method used to return funds to the payer for a previously processed payment.It is applicable only in cases where the funds have already been withdrawn from the payer's card.This method is available for one-step payments and already cleared two-step payments but cannot be used for two-step payments that have not been cleared.