Purchase
Overview
Payment
:::note[]
This section outlines the methods available for payments.Depending on the selected transaction type (one-step or two-step payment),...
Checkout
:::info[]It is a graphical interface (component) embedded on a website or in an application, allowing users to make paymentsIt is used to display the ...
JS SDK
:::info[]
JS SDK is a library that will help you integrate with the API SDK
All you have to do is create your own form and call the corresponding met...
Create payment
POST/init_payment.php
:::warning[]There are two options for using the method:
direct data transfer from the merchant to FreedomPay
data transfer via the user's browser...
Any amount
POST/any_amount.php
:::info[]
If you want the payer to enter the payment amount himself, you must use this method
When making a payment, the payer first gets to the form...
Cancel payment
POST/cancel.php
:::info[]
Cancel payment before the actual fund withdrawal is available only for a two-step payment process
Payment cancellation is made before funds...
Clearing
POST/do_capture.php
:::info[]
This method involves sending a request to withdraw the payment amount that was previously held on the payer's card
If Freedom Pay Gatew...
Refund payment
POST/revoke.php
:::info[]
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...
Status
POST/get_status3.php
:::info[]This method is used to get information about the current status of a payment, such as whether it was successful, an error occurred, or is pen...