Skip to main content
POST

Add Bank Account

A customer with PAYIN must be VERIFIED, and the account holder’s name must match the name on their KYC. A customer without PAYIN sends its address and beneficiary_identifiers with Add KYC Data first.
For India, check the account first with Validate Bank Account. It returns the name the bank holds and flags NRE accounts, before anything is stored.

Rails by country

Send the rail in bank_account_type and its fields in identifiers. Which rails you can send depends on the customer’s alpha_3_country_code.
  • United States: customers link their bank with Generate Bank Link instead.
  • Customers without PAYIN: send a method from bank.methods in Fetch KYC Configuration as bank_account_type, or leave it out for bank.default_method. Payout requirements lists every country’s methods. The account is returned as ACCOUNT_DETAILS.
  • India: NRE accounts aren’t supported. Remittance payouts need ACCOUNT_DETAILS.

Verification

Zapyd verifies every account, whatever the customer’s capabilities:
  1. Save data.id as bank_id. The account starts as PROCESSING.
  2. Zapyd verifies it asynchronously, and a BANK webhook reports the result: VERIFIED, FAILED with a failure_reason, or MANUAL_REVIEW while it’s held for a manual check. A held account ends VERIFIED or FAILED, with another BANK webhook.
  3. Quote only against a VERIFIED account.
In sandbox, a new account is VERIFIED at once. To test FAILED or MANUAL_REVIEW, set it with Mock Bank Verification. The mock sends no webhook, so read the account afterwards.

Limits

  • At most 3 active accounts per rail per customer.
  • An account already linked to another customer is rejected.

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
customer_id
string<uuid>
required

Customer's unique identifier. A customer with PAYIN must be VERIFIED.

Example:

"c2cf861b-342b-4318-a90e-85cd0312e82f"

identifiers
object
required

The fields for the rail or method in bank_account_type: see Rails by country and bank.methods in Configuration. For example {account_number, ifsc} for ACCOUNT_DETAILS, {vpa} for UPI, or {br_cpf} for PIX.

Example:
bank_account_type
string

Payment rail or payout method. Required for a customer with PAYIN, for example ACCOUNT_DETAILS or UPI. Optional for a customer without PAYIN: a method from bank.methods in Configuration, for example PIX, SEPA or SPEI; defaults to bank.default_method. Such an account is returned as ACCOUNT_DETAILS.

Example:

"ACCOUNT_DETAILS"

Response

Bank account added successfully

status
boolean
Example:

true

message
string
Example:

"Success"

data
object