setPaymentPreference
Set a preference to collect payments from a specific payment method.
Arguments
Possible Errors
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-3822: Unauthorized.
- KT-CT-3967: Payment method is not valid.
- KT-CT-3968: Preference cannot be set this soon.
- KT-CT-3969: Preferences must change on a specific day of the week for weekly schedules.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can set payment preferenceQuery 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 SetPaymentPreference($input: SetPaymentPreferenceInput!) {
setPaymentPreference(input: $input) {
accountNumber
}
}
Variables
{
"input": SetPaymentPreferenceInput
}
Response
{
"data": {
"setPaymentPreference": {
"accountNumber": "A-E51C88EB"
}
}
}