One click

Платеж по сохраненной карте

Carrying out a transaction on a stored card

POST https://prapi.tarlanpayments.kz/transaction/api/v1/system/one-click/pay-in

Request Body

NameTypeDescription

amount*

Float

Amount of payment

callback_url

String

Project URL for sending callback with transaction status (see Sending callback)

card_token*

String

Token of the payment system received after card linking in webhook-e, card list or transaction status

description*

String

Description of payment (50 symbols)

merchant_id*

Integer

Merchant ID assigned by the payment system

project_client_id*

String

Client ID on the project side

project_id*

Integer

Project ID assigned by the payment system

project_reference_id*

String

Order number on the project side

additional_data

Object

More Options

{
    "status": true,
    "message": "Success",
    "result": {
        "transaction_id": 140001455,
        "transaction_status_code": "success",
        "bank_code":"101",
        "bank_message":"3DS authentication failed"
    }
}
curl --location 'https://prapi.tarlanpayments.kz/transaction/api/v1/system/one-click/pay-in' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 123gf4d260ab38694d10833asdf3030d9a1cc75df4c598b0wer3230680923b1da7' \
--data-raw '{
    "amount": 10,
    "callback_url": "",
    "card_token": "sdsd13123",
    "description": "test",
    "merchant_id": 9999,
    "project_client_id": "9999",
    "project_id": 9999,
    "project_reference_id": "9999"
}'