Preview a reseller's credits on delete
GET
/credits/accounts/{id}/delete-quote/read Read: looks, changes nothing. Scopes
What deleting this reseller would do with their balance: returned to the reseller above them, or written off.
Path parameters
idstring (uuid)required
Response
200 OK
balancestring (decimal)requiredTheir balance (negative when they owe credits).
kindstringrequiredcan be nullWhat happens to it:
returnedto the reseller above them, orwritten_off. Null: no credits.returned- returnedwritten_off- written_off
goes_toobjectrequiredcan be nullWho gets the balance back; null when nobody does.
idstring (uuid)requiredusernamestringrequiredis_mebooleanrequiredTrue when it is the signed-in account.
whystringrequiredThe same, in one sentence.
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.