Skip to main content
GET
/
v1
/
accounts
ListAccounts
curl --request GET \
  --url https://api.toffeepay.com/v1/accounts \
  --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.

Query Parameters

game_id
string
required
user_id
string
limit
integer<int32>
required
Required range: x <= 100
offset
integer<int32>
Required range: x >= 0

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