setUpDirectDebitInstructionFromStoredDetails
Set up a new direct debit instruction from stored details.
Arguments
Input fields for creating a new direct debit instruction from stored details.
Returns
SetUpDirectDebitInstructionFromStoredDetailsSet up a new direct debit instruction from stored details.
Possible Errors
- KT-CT-11103: Business not found.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-3822: Unauthorized.
- KT-CT-3948: Could not set up direct debit instruction.
- KT-CT-3956: Temporary error occurred.
- KT-CT-3971: Instruction owners are not valid.
- KT-CT-4123: Unauthorized.
- KT-CT-5415: Account user not found.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can create payment instructionsQuery 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 SetUpDirectDebitInstructionFromStoredDetails($input: SetUpDirectDebitInstructionFromStoredDetailsInput!) {
setUpDirectDebitInstructionFromStoredDetails(input: $input) {
paymentInstruction {
...DirectDebitInstructionTypeFragment
}
}
}
Variables
{
"input": SetUpDirectDebitInstructionFromStoredDetailsInput
}
Response
{
"data": {
"setUpDirectDebitInstructionFromStoredDetails": {
"paymentInstruction": DirectDebitInstructionType
}
}
}