Account balance query

Applicable Scenarios

You can keep track of the current balance of your API account credits at any time. By monitoring your credit balance, you can ensure uninterrupted access to API services and avoid potential disruptions caused by insufficient credits.

Description

The API Account Credit Query endpoint retrieves the current credit balance for an organization or individual account. This query is informational only and does not deduct any credits from your account.

Basic Info

  • Request method: GET

  • Interface URL: https://api.beosin.com/api/v1/package/info

  • Content-Type: application/json

  • Verification method: SIGN

  • Response Time:<8s

Header Request Parameter

Parameter
Required Field (Y/N)
Parameter Type
Description

Y

String

Unique authentication APPID assigned by KYT system

Y

String

Unique authentication APP-SECRET assigned by KYT system

Return Parameter

Parameter
Parameter Type
Description

code

Number

Status code

msg

String

Result Message

data

Object

Result set

data.surplusIntegral

Integer

Remaining credits

data.equityStartDate

Long

Equity start time

data.equityEndDate

Long

Equity end time

Example of Request Data

https://api.beosin.com/api/v1/package/info

Example of Response Data

{
    "code": 200,
    "msg": "success",
    "data": {
        "surplusIntegral": 4838680,
        "equityStartDate": 1704038400,
        "equityEndDate": 1772208000
    }
}

Last updated