Paycc Add Card
Paycc Add Card .
Paycc Customer kyc APIs
Paycc Add Card
API | Description |
---|---|
Paycc Add Card | Use this API to Paycc Add Card |
Paycc
Postman Collection
URL
POST : /v1/service/paycc/add/verify/cardHeaders
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)
cardName (String) Required
cardName (Max Length: 100)
cardName (Max Length: 100)
cardNo (String) Required
cardNo (Max Length: 16)
cardNo (Max Length: 16)
expireDate (String) Required
expireDate (Max Length: 5)
expireDate (Max Length: 5)
apiType (String) Required
apiType {b2b|b2c} (Max Length: 5)
apiType {b2b|b2c} (Max Length: 5)
amount (String) Required
amount (Max Length: 7)
amount (Max Length: 7)
clientRefId (String) Required
clientRefId (Unique client reference id) (Max Length: 7)
clientRefId (Unique client reference id) (Max Length: 7)
Request
Example Request
curl --location '/v1/service/paycc/add/verify/card' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"customerId": "JSIWI5XXXXXX",
"clientRefId": "CRD5991XXXX",
"cardName": "Flipxxxxx",
"merchantCode": "MID69XXXXXXX",
"cardNo": "5334670XXXXXX",
"expireDate": "09/28",
"apiType": "b2b",
"amount": "10",
"bankId" : "bnk5728XXXXX"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "This credit card already exists.",
"status": "SUCCESS",
"data": {
"cardId": "CRD7917xxxxxx",
"isVerify": "0",
"verifyUrl": "https://console.ipayments.in/api/v1/service/paycc/pay/order_PiV87ZElz5aVcn/eyJpdiI6IjlQUlpXcEtwbmdUeE1sZmN6cccc",
"bankHolderName": "",
"accountNo": "2222222xxxxxxxx",
"ifsc": "",
"orderId": "order_PiVxxxxxxxx"
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "This credit card maximum 10 added."
}
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 |