getBalance: query account balance

Request node: International node https://api.yescaptcha.com CHINA node https://cn.yescaptcha.com

Method address: https://api.yescaptcha.com/getBalance

Request format:POST application/json

 

Request parameters:

Parameter

Type

Required

Purpose

Parameter

Type

Required

Purpose

clientKey

String

Yes

Unique key of your account

 

Request example

{ "clientKey":"cc9c18d3e263515c2c072b36a7125eecc078618f" }

 

Response structure:

Parameter

Type

Purpose

Parameter

Type

Purpose

errorId

Integer

Error identificator: 0 - No error, 1 - Error

errorCode

string

Error code.Check out errors list.

errorDescription

string

Error description

balance

Decimal

Account balance (points), 1 yuan equals 1000 points.

For reference on the price of verification codes, please click here to see all types of verification codes.

 

Response example

{ "errorId": 0, "balance": 1071810 }