recordActivatedPaymentMethod
Record an activated payment method.
Arguments
Details about the activated payment method.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1609: The provided datetime ISO string is not timezone aware, please provide timezone information.
- KT-CT-3822: Unauthorized.
- KT-CT-3987: Invalid payment method type code.
- KT-CT-3991: Received no financial account details.
- KT-CT-3992: Received multiple financial account details.
- KT-CT-3993: The type of financial account details does not match the provided payment method type.
- KT-CT-3994: Unauthorized.
- 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 RecordActivatedPaymentMethod($input: RecordActivatedPaymentMethodInput!) {
recordActivatedPaymentMethod(input: $input) {
paymentMethod {
...PaymentMethodTypeFragment
}
}
}
Variables
{
"input": RecordActivatedPaymentMethodInput
}
Response
{
"data": {
"recordActivatedPaymentMethod": {
"paymentMethod": PaymentMethodType
}
}
}