Skip to main content

Arguments

input : CreateDepositAgreementInput! required

Returns

CreateDepositAgreement

Create a new deposit agreement for the account if it needs one.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can perform payments operations AND Can use deposit system

Query Complexity

1

Examples

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.

Query

mutation CreateDepositAgreement($input: CreateDepositAgreementInput!) { createDepositAgreement(input: $input) { depositAgreement { ...CreateDepositAgreementOutputFragment } } }

Variables

Response

{ "data": { "createDepositAgreement": { "depositAgreement": CreateDepositAgreementOutput } } }