Responses

Responses:

ParametersFormatDescription

result

Object

Result of a request that contains information

-error_code

uint

Error code

-message

String

Error description

-data

Object

Data Details

--status_code

String

Transaction status code

--status_message

String

Transaction status description

--username

String

User Identifier

--amount

Float

Amount

--datetime

String

Time of payment initiation in the storefront system. Format ISO 8601 Current Timestamp

--project

String

Project code assigned by Tarlan

--service_code

String

Service identifier on the storefront side

--external_id

String

Payment identifier on the storefront side

-additional_data

Object

Additional information to be returned depending on the service (This field may vary depending on the service)

Response to successful request

200: OK

{
    "result":{
        "error_code" : 0,
        "message": "Success",
        "data": {
            "status_code": "success",
            "status_message": "Transaction successfully processed",
            "username": "989898",
            "amount": "100",
            "datetime": "2022-12-01T15:45:00Z",
            "project": "mobile",
            "service_code": "201106",
            "external_id": "200001",
        },
        "additional_data":{}
}

Response to unsuccessful request:

{
    "result": {
        "error_code" : 1041,
        "message": "Order not found",
        "data": null,
        "additional_data":null
    }
}

If an intermediate status has been received for the /cash-in method, you should also request the final payment status using the /status method. For more details, see Transaction Status Guide

Last updated