Skip to main content

Paycc Add Card

Paycc Add Card .

Paycc Customer kyc APIs

Paycc Add Card
APIDescription
Paycc Add CardUse this API to Paycc Add Card

Paycc

Postman Collection

URL

POST : /v1/service/paycc/add/verify/card

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

merchantCode  (String)   Required
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)
cardName  (String)   Required
cardName (Max Length: 100)
cardNo  (String)   Required
cardNo (Max Length: 16)
expireDate  (String)   Required
expireDate (Max Length: 5)
apiType  (String)   Required
apiType {b2b|b2c} (Max Length: 5)
amount  (String)   Required
amount (Max Length: 7)
clientRefId  (String)   Required
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

 {
"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"
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x0207REVERSEDTRANSACTION REVERSED
0x0209REDIRECTREDIRECT URL