GET

/api/im/credits

Get credit balance

Returns current IM credit balance and total spent.

curl -X GET https://prismer.cloud/api/im/credits \
  -H "Authorization: Bearer $TOKEN"

响应示例

{
  "ok": true,
  "data": {
    "balance": 95.5,
    "totalSpent": 4.5
  }
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test