List a reseller's package prices
GET
/credits/accounts/{id}/prices/read Read: looks, changes nothing. Scopes
Every package the reseller may sell, with their own price (if set) and what they pay for it.
Path parameters
idstring (uuid)required
Response
200 OK
packageobjectrequiredidstring (uuid)requirednamestringrequiredcredit_coststring (decimal)requiredThe package's own price.
is_trialbooleanrequiredis_enabledbooleanrequireddurationstringrequiredIn words: "1 month", "7 days".
pricestring (decimal)requiredcan be nullTheir own price; null when none is set.
effective_pricestring (decimal)requiredWhat they pay for it.
sourcestringrequiredWhere
effective_pricecomes from.own- Their own priceparent- A price set by a reseller above themlist- The package's price
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.