Skip to main content

Bank Accounts

Bank accounts connect statements, payments, and reconciliation. Use these queries and mutations to provision cash/bank ledgers, update metadata, and remove unused accounts. Pair this with Bank Ingest when you import transactions.

Prerequisites

  • A Naqood API secret or OAuth-issued secret scoped to the organization
  • The organization slug on every request
  • A role that can manage bank accounts

BankAccount fields

FieldTypeNotes
idID!Stable identifier
nameString!Display label (for example “Main AED Account”)
bankNameStringOptional bank name
iban / bicStringOptional identifiers
branchStringOptional branch info
address / city / postalCodeStringOptional location details
countryStringISO country name
currencyString!ISO‑4217 code (for example AED, USD)
accountAccountLinked ledger account (when applicable)
externalIdStringUpstream reference (for example a bank feed identifier)
externalBalanceStringOptional latest observed balance from your source system
externalBalanceDateTimestampWhen that balance was recorded
createdAt / updatedAtTimestamp!Audit timestamps

List bank accounts

Fetch all bank and cash accounts for an organization.

query BankAccounts($slug: Slug!) {
organization(slug: $slug) {
bankAccounts {
id
name
bankName
currency
iban
bic
externalId
}
}
}

Create a bank account

mutation CreateBankAccount($input: CreateBankAccountInput!) {
createBankAccount(input: $input)
}

CreateBankAccountInput highlights:

FieldRequiredNotes
slugOrganization issuing the account
nameDisplay label
currencyISO‑4217 code
bankNameOptionalBank label shown in UI
iban / bicOptionalBanking identifiers
externalIdOptionalUse to align with external systems

Update a bank account

mutation UpdateBankAccount($input: UpdateBankAccountInput!) {
updateBankAccount(input: $input) {
id
name
bankName
iban
bic
externalId
externalBalance
externalBalanceDate
}
}

Provide the id plus any fields you want to change. Use externalBalance and externalBalanceDate to keep Naqood aligned with the latest statement balance you observe upstream.