EnKash API Document
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Payout Account Apis
  • Payouts Overview
  • Payouts Sign Up
  • Payout Methods
  • Payouts Integration Steps
  • Ecrypting and Decrypting Payload
  • Get Authentication Token
    • Get Authentication Token
      POST
  • Beneficiary Apis
    • Create Beneficiary
      POST
    • Search Beneficiary
      POST
    • Delete Beneficiary
      DELETE
  • Transfer Apis
    • Create Payout
      POST
    • Search Payouts
      POST
    • Create Batch Payout
      POST
  • Payout Account Apis
    • Get Source Bank Account Details
      GET
    • Add Source Bank Account
      POST
    • Get Balance
      GET
  1. Payout Account Apis

Add Source Bank Account

POST
/api/v0/bankDetail/whitelist
Bank Detail Apis
Use this api to allow the transfer of funds from your source bank account to EnKash. At a time 1 source bank account can be activated for funding EnKash VA.

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 '/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
    }
}
Previous
Get Source Bank Account Details
Next
Get Balance
Built with