AddBankAccount
Signature
mutation {
AddBankAccount(accountId: ..., iban: ..., bic: ..., rib: ...)
}
Retourne : BankAccount!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
accountId | ID! | ✓ | — | — |
bankName | String | — | — | |
holderName | String | — | — | |
bankAccountType | BankAccountType | — | Required without the multi bank account migration, refused with it | |
label | String | — | Defaults to the bank name followed by the last four characters of the IBAN | |
usages | [BankAccountUsageType!] | — | Usages carried by the new bank account, with the multi bank account migration | |
envelope | BankAccountEnvelope | — | Tax wrapper the new bank account is the account of, with the multi bank account migration. Refused together with usages: an envelope account carries no usage | |
envelopeContractNumber | String | — | Contract number of the tax wrapper, required with it and ignored without it | |
iban | String! | ✓ | — | — |
bic | String! | ✓ | — | — |
rib | UploadDocument! | ✓ | — | — |
Exemple
mutation {
AddBankAccount(
accountId: $accountId
iban: $iban
bic: $bic
rib: $rib
) {
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
}
}