Paycc Category List
Paycc Category .
Paycc APIs
Paycc Category
API | Description |
---|---|
Paycc Category | Use this API to Paycc Category |
Paycc Category
Postman Collection
URL
GET : /v1/service/paycc/categoryHeaders
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/category' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantCode": "MID6937XXXXXX"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Catogory list found",
"status": "SUCCESS",
"data": [
{
"catetoryId": 3,
"name": "Bill Payment",
"isActive": "1",
"subCategory": []
},
{
"catetoryId": 2,
"name": "Business Payment",
"isActive": "1",
"subCategory": []
},
{
"catetoryId": 1,
"name": "Rent",
"isActive": "1",
"subCategory": [
{
"catetoryId": 4,
"name": "Test",
"isActive": "1"
}
]
}
]
}
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 |