For the complete documentation index, see llms.txt. This page is also available as Markdown.

Verification of transaction status

To get the transaction status, it is possible to query by project_id, the status information is stored in the result.transaction_status.code field.

Request to receive the transaction status

GET https://prapi.tarlanpayments.kz/transaction/api/v1/system/transaction/status

Query Parameters

Name
Type
Description

project_reference_id*

String

Order number on the project side

merchant_id*

Integer

Merchant ID assigned by the payment system

project_id*

Integer

Project ID assigned by the payment system

type*

String

Type of transaction

Headers

Name
Type
Description

Authorization*

String

Bearer Auto-rotation hash (see Signature Creating)

{
    "status": false,
    "status_code": 5103,
    "message": "transaction not found",
    "result": {}
}
{
    "status": true,
    "message": "Success",
    "result": {
        "id": 99999,
        "amount": 10,
        "description": "test",
        "user_phone": "87757715130",
        "user_email": "test@inbox.ru",
        "card_token": "sdfasdf23",
        "masked_pan": "0000-00XXXXXX-0000",
        "bank_code": "0", Код ошибки
        "bank_message": ""
        "additional_data": {
            "abc": "111",
            "lkk": "123"
        },
        "transaction_status": {
            "code": "success",
            "name": "Транзакция прошла успешно"
        },
        "bank_reference_id": "100885",
        "created_at": "2023-10-04T10:05:02.93843Z",
        "transaction_type": {
            "code": "out",
            "name": "Вывод"
        },
        "refunds" : [] // fields: amount, date.
    }
}

Last updated

Was this helpful?