- Explore Our Product Suite
- Payment Gateway
- Payouts
- Payouts Overview
- Payouts Sign Up
- Payout Methods
- Payout API Response Codes
- Payouts Integration Steps
- Encrypting and Decrypting Payload
- Payouts Status Codes
- Get Authentication Token
- Beneficiary Apis
- Transfer Apis
- Payout Account Apis
- Webhook Data Apis
- Prepaid Cards
- About Prepaid Card
- Key Capabilities
- Getting Started
- APIs
- API Access & Authorization
- Encryption & Decryption Guide
- Auth Token
- Create Card Account
- Create Gift Card
- Create Prepaid Card
- Set Card PIN
- Load Card Balance
- Get Card Account Details
- Generate Card OTP
- View Card Details
- Card Usage Controls
- Get Card Usage Limits
- Request Card Replacement
- Block Card
- Order Physical Card
- Get Card Details
- Get Transaction Details
- Get All Transaction details
- Bharat Connect (BBPS)
- About Bharat Connect
- Invoice Payments
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Accounts Payable
- Account Receivable
- Expense Management
- Rewards & Incentives
- Verification Suite
Add Source Bank Account
POST
/api/v0/bankDetail/whitelist
Bank Detail Apis
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
User-Agent
string
required
Body Params application/json
accountNumber
string
required
Match pattern:
^[A-Za-z0-9]{9,36}$
ifsc
string
required
Match pattern:
^[A-Za-z]{4}0[A-Z0-9a-z]{6}$
companyId
string
optional
Match pattern:
^CEK[A-Z0-9]{7}$
Example
{
"accountNumber": "string",
"ifsc": "string",
"companyId": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/api/v0/bankDetail/whitelist' \
--header 'User-Agent;' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountNumber": "string",
"ifsc": "string",
"companyId": "string"
}'
Responses
🟢200OK
application/json
Body
response_code
integer <int32>
optional
response_message
string
optional
payload
object (BankDetailWhitelistResponse)
optional
accountNumber
string
optional
bankDetailId
string
optional
ifsc
string
optional
bankName
string
optional
beneficiaryName
string
optional
whitelisted
boolean
optional
failureReason
string
optional
beneficiaryCode
string
optional
approved
boolean
optional
primaryBankDetail
boolean
optional
Example
{
"response_code": 0,
"response_message": "string",
"payload": {
"accountNumber": "string",
"bankDetailId": "string",
"ifsc": "string",
"bankName": "string",
"beneficiaryName": "string",
"whitelisted": true,
"failureReason": "string",
"beneficiaryCode": "string",
"approved": true,
"primaryBankDetail": true
}
}