Skip to main content
GET
/
v1
/
accounts
/
{id}
GetAccount
curl --request GET \
  --url https://api.toffeepay.com/v1/accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "currency": "USD",
  "balance": {
    "real": 1,
    "bonus": 1
  },
  "users": [
    {
      "game_id": "<string>",
      "user_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string
required
currency
enum<string>
required
Available options:
USD
balance
balance · object
required
users
GameUser · object[]

All game users linked to this account