updateAutoTopUpAmount
Change the auto top up amount for the payment schedule.
Arguments
Input fields for updating the auto-top-up amount for a schedule.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-3815: No active payment schedule found for this account.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3822: Unauthorized.
- KT-CT-3941: Invalid data.
- KT-CT-3942: An unexpected error occurred.
- KT-CT-3947: An unexpected error occurred.
- KT-CT-3953: The payment schedule is not a balance triggered schedule.
- KT-CT-4123: Unauthorized.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can access customer queriesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateAutoTopUpAmount($input: UpdateAutoTopUpAmountInput!) {
updateAutoTopUpAmount(input: $input) {
schedule {
...PaymentScheduleTypeFragment
}
}
}
Variables
{
"input": UpdateAutoTopUpAmountInput
}
Response
{
"data": {
"updateAutoTopUpAmount": {
"schedule": PaymentScheduleType
}
}
}