Initiating funds receipts

Payment with an unsaved card

Creation of pay in transaction

POST https://prapi.tarlanpayments.kz/transaction/api/v1/transaction/primal/pay-in

Headers

Request Body

{
    "status": true,
    "message": "Success",
    "result": "https://process.tarlanpayments.kz?hash=$2a$10$nhrUYWm9sDVYqCL4LKxn9ugrdC4Pszz5wGaUsDYYIqCGc8ZA4Vu0y&transaction_id=100474"
}

Example of a CURL request:

curl --location 'https://prapi.tarlanpayments.kz/transaction/api/v1/transaction/primal/pay-in' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sign' \
--data-raw '{
    "amount": 10,
    "callback_url": "https://test.site/callback_url",
    "confirm_url": "https://test.site/confirm_url",
    "description": "999",
    "failure_redirect_url": "https://www.test.com",
    "merchant_id": 9999,
    "project_client_id": "999",
    "project_id": 9999,
    "project_reference_id": "999",
    "shipment": "Tarlan ave, Payments str.",
    "success_redirect_url": "https://www.test.com",
    "additional_data": {
        "test1": "value1",
        "test2": 2
    }
}'

Payment by saved card

When passing the project_client_id parameter, the user will be able to save the card on the payment form. To save the card, the user on the payment form should click "save card" and make a successful payment on this card. For further payments on the saved card it is necessary to pass the parameter project_client_id. The peculiarity of payment by saved card is the absence of 3DS user authentication, which significantly speeds up and simplifies the payment process.