Flash Payments Developer API
Back to Flash PaymentsGraphQL Playground
  • Overview
  • Basics
    • Sending data as JSON
  • Authentication
  • Quote
  • Conversions
    • Query conversions
    • Conversion statuses
  • Balance
    • Statement
  • Recipients
    • Required fields
  • Senders
  • Payments
    • Payment statuses
    • Query payments
    • Send funds
    • Auto receive funds
  • Institutions
  • Withdrawals
    • Withdraw funds
    • Withdrawal statuses
    • Query withdrawals
  • Deposits
    • Deposit statuses
    • Query deposits
    • Refund deposits
  • Sub-clients
    • Create sub-clients
    • Disable, Activate and Update sub-clients
    • Query sub-clients
  • Webhooks
    • Regular webhooks
    • Ad hoc webhooks
  • Reference data
    • Bank information
    • Rejection codes
  • Change log
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Reference data

Bank information

Ensuring bank details are correct

To validate BSB, BIC (aka SWIFT code) or IBAN use the bankInfo query.

The bankInfo query accepts only one of bsb, bic, or iban arguments. Otherwise, it will return an error.

The below sample queries will return null if the BSB, BIC, IBAN is not found.

{
    bankInfo(input: { bsb: "012622" }) {
        name
        address {
            building
            street
            suburb
            state
            country
            postcode
        }
    }
}
{
    bankInfo(input: { bic: "BARCGB22" }) {
        name
        address {
            building
            street
            suburb
            state
            country
            postcode
        }
    }
}
{
    bankInfo(input: { iban: "DE59500105178646768962" }) {
        name
        bic
        address {
            building
            street
            suburb
            state
            country
            postcode
        }
    }
}
{
  "data": {
    "bankInfo": {
      "name": "BARCLAYS BANK PLC",
      "bic": "BARCGB22",
      "address": {
        "building": null,
        "street": "1 CHURCHILL PLACE",
        "suburb": "LONDON",
        "state": null,
        "country": "GB",
        "postcode": "E14 5HP"
      }
    }
  }
}
PreviousReference dataNextRejection codes

Last updated 1 year ago

Was this helpful?