Get the sponsor pool
GET
Returns the avatar's sponsor pool balance and settings. Readable by an
API key with avatars:read or a signed-in user of the account. Changing
the pool takes an API key with billing:write or a signed-in user.
header
X-Api-Key<token>Your secret API key (sk_atmee_...; older keys start sk_live_),
sent as X-Api-Key. Keep it on your server and never send it to a
browser.
avatarId*stringFormat
uuidBalance and settings.
application/json- response
balance*settings*curl -X GET 'https://api.atmanity.us/v1/avatars/497f6eca-6276-4993-bfeb-53cbbbba6f08/sponsor'Example Response
{ "balance": { "totalMicrocredits": 0, "planSourcedMicrocredits": 0, "topupSourcedMicrocredits": 0, "couponSourcedMicrocredits": 0 }, "settings": { "maxPerSessionMicrocredits": 0, "exhaustedBehavior": "pause", "autoTopupEnabled": true, "autoTopupThresholdMicrocredits": 0, "autoTopupAmountMicrocredits": 0, "anonymousAccess": true, "anonymousDailySecondsPerVisitor": 0 }}
