RestrictBankAccountUsage
Restricts a usage of an active bank account to the given vehicles and securities, replacing its restrictions; no vehicle nor security lifts the restriction. A vehicle or security already restricted for the same usage on another active bank account of the account is refused
Signature
mutation {
RestrictBankAccountUsage(bankAccountId: ..., usageType: ..., vehicleIds: ..., securityIds: ...)
}
Retourne : BankAccount!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
bankAccountId | ID! | ✓ | — | — |
usageType | BankAccountUsageType! | ✓ | — | — |
vehicleIds | [ID!]! | ✓ | — | — |
securityIds | [ID!]! | ✓ | — | — |
Exemple
mutation {
RestrictBankAccountUsage(
bankAccountId: $bankAccountId
usageType: $usageType
vehicleIds: $vehicleIds
securityIds: $securityIds
) {
resolvedPropertyValues(technicalCodes: $technicalCodes) {}
id
account {}
iban
bic
holderName
bankName
label
createdAt
archivedAt
envelope {}
envelopeContractNumber
envelopeUsageTypes {}
usages {}
status {}
documentControl {}
mandates {}
latestMoneyMovements {}
bankAccountType {}
countryLocation {}
countryRisk {}
countryRiskDetailed {}
customProperties {}
externalProvider {}
externalId
activeExternalProvider
}
}