Paycc Delete Card
Paycc Delete Card .
Paycc APIs
Paycc Delete Card
API | Description |
---|---|
Paycc Delete Card | Use this API to Paycc Delete Card |
Paycc
Postman Collection
URL
POST : /v1/service/paycc/delete/creditcardHeaders
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)
cardId (String) Required
cardId (Unique card id from verify card API) (Max Length: 25)
cardId (Unique card id from verify card API) (Max Length: 25)
Request
Example Request
curl --location '/v1/service/paycc/delete/creditcard' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"customerId": "JSIWI5XXXXXX",
"clientRefId": "CRD5991XXXX",
"cardId" : "CRD5728XXXXX"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Card delete successful",
"status": "SUCCESS"
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Some error."
}
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 |