CreditAutoTopUp
Auto top-up of a credit balance, as set up by the vendor and switched on or off by the vendor or the customer. The CreditAutoTopUp type in Bunny's GraphQL API and its fields.
| Name | Type | Description |
|---|---|---|
| buyAmount | Float | What the next top-up costs before tax |
| buyQuantity | Float | Credits the next top-up buys |
| buysNow | Boolean | Turning it on buys a top-up at once: the balance is at or below the threshold |
| configured | Boolean | The vendor set a threshold and a quantity or target |
| disabledReason | String | Why it can not be changed: NOT_PERMITTED or NO_PAYMENT_METHOD |
| editable | Boolean | The current user may turn it on or off now |
| enabled | Boolean | Top-ups are bought when available credits drop to the threshold |
| maxPerMonth | Int | |
| quantity | Float | Credits each top-up buys |
| target | Float | Available credits each top-up buys up to |
| threshold | Float |