createContributionAgreement
Create a contribution agreement for an account.
Arguments
Input variables needed for creating a contribution agreement on an account.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-4123: Unauthorized.
- KT-CT-7899: An internal error occurred.
- KT-CT-9601: Invalid data.
- KT-CT-9602: Unable to create contribution agreement.
- KT-CT-9605: Contribution amount cannot be 0 or negative.
- KT-CT-9606: Scheme is not accepting contributions at this time.
Allowed Viewers
Required Permissions
Can manage contribution agreementsQuery 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 CreateContributionAgreement($input: CreateContributionAgreementInput!) {
createContributionAgreement(input: $input) {
contributionAgreement {
...ContributionAgreementTypeFragment
}
}
}
Variables
{
"input": CreateContributionAgreementInput
}
Response
{
"data": {
"createContributionAgreement": {
"contributionAgreement": ContributionAgreementType
}
}
}