Bank accounts
Check an India account first
For India, you can check an account before you add it.POST /bank/validate asks the bank whether an account number and IFSC, or a UPI ID, can receive money, and returns the name the bank holds. It needs no customer and stores nothing.
data.status is VALID or INVALID. Show account_holder_name so the user can confirm the account, and ask for another one when the status is INVALID or country_details.is_non_resident_account is true. Each call runs a penny drop, so call it once, when the user submits the form.
Add a bank account
A customer withPAYIN must be VERIFIED. Call POST /bank/create with the rail in bank_account_type and its fields in identifiers.
- India: account and IFSC
- India: UPI
id. Quotations use it as bank_id.
Customers without
PAYIN use the same POST /bank/create, with their country’s payout method and fields, and India accepts only ACCOUNT_DETAILS for them. See Payout requirements.US customers (ACH_PULL payins)
US customers don’t add an account withPOST /bank/create. For ACH_PULL payins, call POST /cms/api/v1/bank/generate-link with the customer_id and a redirect_url, then open the returned widget_url. The customer signs in to their bank, picks the account and returns to redirect_url. The account then appears under accounts in GET /cms/api/v1/bank/list/{customer_id}: PROCESSING, then VERIFIED. No BANK webhook is sent, so poll it. Send its id as bank_id in every ACH_PULL payin quotation. In sandbox, call Mock Bank Verification without a bank_id to create a linked test account.
Rules
- For a customer with
PAYIN, the account holder’s name must match the customer’s KYC name. Zapyd checks it. - A customer can have up to 3 active accounts per rail.
- An account that’s already linked to another customer is rejected.
- NRE accounts aren’t supported in India.
- Remittance payouts to India need
ACCOUNT_DETAILS. UPI isn’t supported for them.
Verification
Zapyd verifies every new account, whatever the customer’s capabilities, for example with a penny drop in India. The status startsPROCESSING and moves to VERIFIED or FAILED, and Zapyd sends a BANK webhook with the result. An account held for a manual check moves to MANUAL_REVIEW first, then to VERIFIED or FAILED, with a BANK webhook at each step. 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 doesn’t send a BANK webhook, so read the account afterwards.
List, fetch and delete
Wallets
Save a customer’s crypto address withPOST /customer/wallet/add. If the address already exists for that customer, Zapyd updates it.
networkis case-insensitive:Ethereum,Polygon,Arbitrum,Bsc,Solana,Tron, orSepoliain sandbox.- Zapyd checks the address format against the network:
0x…for EVM networks,T…for Tron, base58 for Solana. - Only wallets with a
labelappear in List Wallets, which works as the customer’s address book. - A wallet’s
statusisACTIVE,INACTIVE(deleted) orSUSPENDED. Zapyd suspends a wallet after a compliance check, and a suspended wallet can’t be added again (This wallet cannot be added.).
GET /customer/wallet/{customer_id}/{wallet_id} or Delete Wallet.
Payin crypto goes to your organization’s wallet for that asset and network, which is set up during onboarding. It doesn’t go to a saved customer wallet. See Payins.