Paycc Cards List
Paycc Cards .
Paycc APIs
Paycc Cards
API | Description |
---|---|
Paycc Card | Use this API to Paycc Card |
Paycc Card
Postman Collection
URL
GET : /v1/service/paycc/creditcardsHeaders
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)
Request
Example Request
curl --location '/v1/service/paycc/creditcards' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantCode" : "MID6937XXXXXX",
"customerId" : "JSIWI59XXXXX",
"cardId" : "CRD34988XXXX"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Card list found",
"status": "SUCCESS",
"data": [
{
"customerId": "JSIWI59XXXXXX",
"cardId": "CRD349XXXXX",
"accountNo": "53346700XXXX",
"expireDate": "09/28",
"cardName": "FlipXXXXX",
"isActive": "1",
"isVerify": "0",
"last4": null,
"network": null,
"type": null,
"issuer": null,
"subType": null
}
]
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "No card found"
}
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 |