Мы используем cookie-файлы
Хорошо
Saving cards

Adding a card

Basic mechanics for saving cards. Further, the saved cards can be used both for payments and for payments.
To use this request, you should contact your manager

Request URL
POST https://api.freedompay.kg/g2g/cardstorage/add

Test Request URL
POST https://test-api.freedompay.kg/g2g/cardstorage/add

Request fields

Response parameters
Note. If 3ds is installed on the card, a request must be made to the ACS server of the card issuer's bank.


On this page the client enters his 3ds password.
The server url can be obtained from the pg_3d_acsurl parameter.

Request parameters to the ACS server of the issuer's bank:

Adding a card with 3DSecure

Request URL
POST https://api.freedompay.kg/g2g/cardstorage/payment_acs

Test Request URL
POST https://test-api.freedompay.kg/g2g/cardstorage/payment_acs

Request fields

Response parameters
In case of errors, there will be additional response parameters:
Deleting a card

Request URL
POST https://api.freedompay.kg/g2g/cardstorage/remove

Test Request URL
POST https://test-api.freedompay.kg/g2g/cardstorage/remove

Request fields

Response parameters
In case of errors, there will be additional response parameters:
Getting a list of cards

Request URL
POST https://api.freedompay.kg/g2g/cardstorage/list

Test Request URL
POST https://test-api.freedompay.kg/g2g/cardstorage/list

Request fields

Response parameters
In case of errors, there will be additional response parameters:
Directory of card statuses