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

Check account status

Checking account status by username

POST https://agwsapi.tarlanpayments.kz/showcase-gateway/api/v1/user/check

Headers

Name
Value

Content-Type

application/json

X-Signature

Body

Name
Type
Description

username*

String

User ID

agent*

String

Showcase code in the Tarlanpayments system

project*

String

Project Code assigned to Tarlanpayments

service_code*

String

Service ID on the showcase side

Response

Name
Type
Description

status

bool

Request processing status

status_code

uint

Error code

message

string

Description of error

result

Object

The result of a query that contains information

-error_code

Integer

Error code

-message

String

Error description

-account_status

Integer

Account status. For more information, see the account status code

-amount

Float

Fixed Payment Amount

-upper_commission

Float

Upper commission

-fail_reason

Object

Field Containing the Failure Reason

--code

Int

Rejection Reason Code

--massage

String

Description of the Operation Rejection Reason

Additional Parameters (info)

he response body includes additional parameters that depend on the service category. The service type is recorded as a key within the info object. These parameters provide specific details related to the type of service and are dynamically included based on the service category.

param
type
Desc

in_date

timestamp

Parking Start Time

left_free_time_minutes

Float

Remaining Minutes for Exit

sum

Float

Parking Fee

current_balance

Float

Current Balance

zone

string

Parking zone

coordinates

object

Object containing coordinates

├latitude

float64

Latitude

├longitude

float64

Longitude

duration

uint

Duration in seconds

phone

string

Phone number

param
type
Desc

phone

string

Customer's phone number

contracts

array

List of contracts

├contract_id

string

Unique contract identifier

├contract_name

string

Contract name

├contract_date

string

Contract date and time

├client

string

Client's name

├amount

float

Amount

├min

float

Minimum amount within the contract

├max

float

Maximum amount within the contract

param
type
Desc

customer

object

Object with customer information

├address

string

Customer's address

invoice

object

Object with invoice details

├invoice_id

string

Unique invoice identifier

├period_date

string

Invoice period

├formed_date

string

Invoice creation date

├expire_date

string

Invoice due date

service

array

List of utility services

├fix_sum

float

Fixed service amount

├service_id

string

Unique service identifier

├service_name

string

Name of the service

├measure

string

Unit of measurement for the service

├fix_count

float

Fixed quantity

├prev_count

float

Previous meter reading

├last_count

float

Current meter reading

├debt_sum

float

Outstanding debt amount

├debt_info

string

Debt-related information

├prev_count_date

string

Date of the previous meter reading

├last_count_date

string

Date of the current meter reading

├sum

float

Total accrued amount

├pay_sum

float

Amount to be paid by client

├is_counter_service

bool

Indicates whether the service is metered (true – yes, false – no)

Examples of error responses before the changes

Examples of error responses after the changes

Account check

Last updated

Was this helpful?