In this method, we initialize payment using a previously saved card
At this stage, the existence of the pg_card_token sent by the merchant is verified. If everything is correct, Freedom Pay Gateway responds with a payment_id
Customer's email (specified during payment initialization).
pg_user_phone
number
optional
The user's phone number (starting with the country code). If not specified
Example:
77777777777
pg_user_ip
string
optional
Client's IP address. Necessary for the analysis of disputable situations in case of suspected fraud.
Example:
127.0.0.1
pg_result_url
string
optional
URL for message about payment result. Required if not set in the store settings.
<= 255 characters
Example:
https://site.com/result
pg_success_url
string
optional
URL to which the user is sent in case of successful payment. Required if not set in the store settings.
<= 255 characters
Example:
https://site.com/success
pg_failure_url
string
optional
URL to which the user is sent in case of unsuccessful payment. Required if not set in the store settings.
<= 255 characters
Example:
https://site.com/failure
pg_param1
string
optional
Additional Information.
<= 255 characters
Example:
Additional Information
pg_param2
string
optional
Additional Information.
<= 255 characters
Example:
Additional Information
pg_param3
string
optional
Additional Information.
<= 255 characters
Example:
Additional Information
pg_idempotency_key
string
optional
Idempotency key. Used to prevent duplicate request creation. A unique value within the merchant's scope; the same key cannot be used for different operations.
<= 255 characters
Example:
550e8400-e29b-41d4-a716-446655440000
pg_loyalty_id
number
optional
Identifier in the loyalty system.
pg_loyalty_amount
number
optional
Amount of accrued units in the loyalty system.
pg_freedom_id
string
optional
User identifier in the Freedom ecosystem.
pg_salt
string
required
A random string consisting of arbitrary numbers and Latin letters.