creditBalanceAutoTopUpUpdate
Turn auto top-up on or off for a credit balance. The creditBalanceAutoTopUpUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: billing:write
mutation creditBalanceAutoTopUpUpdate ($creditBalanceId: ID!, $enabled: Boolean!) {
creditBalanceAutoTopUpUpdate (creditBalanceId: $creditBalanceId, enabled: $enabled) {
creditBalance {
accountId
available
balance
currencyId
denomination
featureId
id
lastSequence
pendingTopUpInvoiceId
subscriptionId
}
errors
topUpStarted
}
}
ArgumentsLink to Arguments section
{
"creditBalanceId": "456123",
"enabled": true
}
| Name | Type | Description |
|---|---|---|
| creditBalanceId | ID | |
| enabled | Boolean |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| creditBalance | CreditBalance | |
| errors | List (String) | |
| topUpStarted | Boolean |