Credits

Get a reseller's credits

GET/credits/accounts/{id}/

read Read: looks, changes nothing. Scopes

One reseller's balance, spending this month and cheapest package price.

Path parameters

  • idstring (uuid)required

Response

200 OK

  • idstring (uuid)required
  • usernamestringrequired
  • groupstringrequiredcan be null
  • parentobjectrequiredread-onlycan be null
    • idstring (uuid)required
    • usernamestringrequired
  • balancestring (decimal)required
  • unlimitedbooleanrequired
  • spent_this_monthstring (decimal)required
  • last_entry_atstring (date-time)requiredcan be null
  • cheapest_pricestring (decimal)requiredcan be null
  • lowbooleanrequiredread-only
  • is_activebooleanrequired

Errors

  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 404 Nothing with this id, or nothing the account can see.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means