Get Balance
The Balance API allows you to retrieve the current credit balance for your account. This API provides a simple way to check your available credits, which are used for various KIRI Engine API services.
Request
curl --location --request GET 'https://api.kiriengine.app/api/v1/open/balance' \
--header 'Authorization: Bearer ${YOUR_API_KEY}'
Response
{
"code": 0,
"msg": "success",
"data": {
"balance": 20
},
"ok": true
}
Attributes
properties | type | description |
---|---|---|
balance | String | credit balance |