Skip to main content
POST

Validate Bank Account

When to use it

Call it before Add Bank Account to catch a wrong account number, IFSC or UPI ID while the user is still on the form. It needs no customer and stores nothing. A 503 means the bank couldn’t answer in time. Retry with backoff.
Each call runs a penny drop. Validate an account once, when the user submits it.

Error Codes and Messages

Authorizations

X-API-KEY
string
header
required

API Key for authentication

X-TIMESTAMP
string
header
required

Current timestamp in seconds since epoch

X-SIGNATURE
string
header
required

HMAC SHA256 signature of the request encoded in Base64

Body

application/json
country
enum<string>
required

ISO 3166-1 alpha-3 country of the account. IND only.

Available options:
IND
Example:

"IND"

identifiers
object
required

The account to check: {account_number, ifsc} for ACCOUNT_DETAILS, or {vpa} for UPI. account_holder_name is optional and isn't matched against the account.

Example:
bank_account_type
enum<string>

Optional. ACCOUNT_DETAILS (account number and IFSC) or UPI. Defaults to ACCOUNT_DETAILS.

Available options:
ACCOUNT_DETAILS,
UPI
Example:

"ACCOUNT_DETAILS"

Response

The bank answered. Read data.status: VALID or INVALID.

status
boolean
Example:

true

message
string
Example:

"Success"

data
object