Skip to main content
GET
/
account
/
credits
Credit balance (supersedes v1 GET /credits)
curl --request GET \
  --url https://origami.chat/api/v2/account/credits \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "balance": 123,
  "currency": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

The credits object.

object
string
required
Allowed value: "credits"
balance
number
required
currency
string
required
Allowed value: "credits"