Skip to main content

AddBankAccount

Stable

Signature​

mutation {
AddBankAccount(accountId: ..., iban: ..., bic: ..., rib: ...)
}

Retourne : BankAccount!

Arguments​

NomTypeRequisDéfautDescription
accountIdID!✓——
bankNameString——
holderNameString——
bankAccountTypeBankAccountType—Required without the multi bank account migration, refused with it
labelString—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
envelopeBankAccountEnvelope—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
envelopeContractNumberString—Contract number of the tax wrapper, required with it and ignored without it
ibanString!✓——
bicString!✓——
ribUploadDocument!✓——

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
}
}