Paycc Add Bank
Paycc Add Bank .
Paycc Customer kyc APIs
Paycc Add Bank
API | Description |
---|---|
Paycc Add Bank | Use this API to Paycc Add Bank |
Paycc
Postman Collection
URL
POST : /v1/service/paycc/add/bankHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
merchantCode (String) Required
Merchant unique Code(You will get merchantCode from Merchant Onboarding API) (Max Length: 20)
Merchant unique Code(You will get merchantCode from Merchant Onboarding API) (Max Length: 20)
customerId (String) Required
Customer Id Code(You will get customerId from Customer Onboarding API) (Max Length: 30)
Customer Id Code(You will get customerId from Customer Onboarding API) (Max Length: 30)
accountNo (String) Required
Account no (Max Length: 20)
Account no (Max Length: 20)
ifsc (String) Required
ifsc (Max Length: 11)
ifsc (Max Length: 11)
bankName (String) Required
bankName (Max Length: 200)
bankName (Max Length: 200)
accountHolderName (String) Required
accountHolderName (Max Length: 200)
accountHolderName (Max Length: 200)
apiType (String) Required
apiType {b2b|b2c} (Max Length: 5)
apiType {b2b|b2c} (Max Length: 5)
Request
Example Request
curl --location '/v1/service/paycc/add/bank' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"customerId": "CUST28XXXXX",
"accountNo": "084836XXXXX",
"ifsc": "KKBK00XXXXX",
"bankName": "XXXX",
"accountHolderName": "AnXXXXXr",
"merchantCode": "MID6XXX",
"apiType" :"b2b"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Bank Added Successfully.",
"status": "SUCCESS",
"data": {
"bankId": "bnk5728XXXXXX",
"accHolderName": "ANILXXXX",
"bankIsValid": true
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "This bank account already exists.",
"data": {
"bankId": "BNK11111XXXXXX"
}
}
Response Code
Status Code | Status | Message |
---|---|---|
0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
0x0202 | FAILURE | FAILURE USER |
0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
0x0206 | PENDING | TRANSACTION PENDING |
0x0207 | REVERSED | TRANSACTION REVERSED |
0x0209 | REDIRECT | REDIRECT URL |