Ostorya dev docs

Admin API/Store properties/Objects

AppCreditsChargePayload

object

Fields

balanceInt
The store's balance after the call.
chargedBoolean!required
True when the credits were taken now. A repeated idempotencyKey answers false with no error.
needInt
Set with NOT_ENOUGH_CREDITS: what the call needed. Show Ostorya's Add credits popup, never an error.
userErrors[UserError!]!required

Used by