Skip to main content

List MCC

List MCC

Service ini digunakan untuk melihat list kode dari Merchant Category Code

Service Info

HTTP MethodGET
Service Code34
Http MethodGET
Path.../v1.0/list/mcc
AuthenticationOAuth 2.0
Header NameTipe DataWajibDeskripsi
Content-TypeStringYapplication/json
X-PARTNER-IDStringYClient’s client_id (diberikan pada saat onboarding )
curl --location --request GET '../v1.0/list/mcc' \
--header 'x-partner-id: 6c57db4e-9e11-4951-9bcf-d6f177dafbcc' \
--header 'Authorization: Bearer 950c7e34-6365-4359-90f2-9bfaf88c51f7'

Response

ParameterTipe DataDeskripsi
responseCodeStringKode response
responseMessageStringPesan response
additionalInfoArray Of ObjectInformasi tambahan.
codeStringCode MCC
categoryStringNama Kategori
descriptionStringDeskripsi
{
"responseCode": "2003400",
"responseMessage": "Successful",
"additionalInfo": [
{
"code": "5812",
"category": "Eating Places and Restaurants",
"description": "Eating Places and Restaurants"
},
{
"code": "5813",
"category": "Drinking Places (Alcoholic Beverages) - Bars, Taverns, Nightclubs, Cocktail Lounges, and Discotheques",
"description": "Drinking Places (Alcoholic Beverages) - Bars, Taverns, Nightclubs, Cocktail Lounges, and Discotheques"
},
{
"code": "5821",
"category": "Others Not Elsewhere Classified",
"description": "Others Not Elsewhere Classified"
},
{
"code": "9950",
"category": "Intra-Company Purchases",
"description": "Intra-Company Purchases"
},
{
"code": "9752",
"category": "U.K. Petrol Stations, Electronic Hot File",
"description": "U.K. Petrol Stations, Electronic Hot File"
},
{
"code": "5814",
"category": "Quick Payment Service-Fast Food Restaurants",
"description": "Quick Payment Service-Fast Food Restaurants"
},
{
"code": "5311",
"category": "Department Stores",
"description": "Department Stores"
},
{
"code": "5811",
"category": "Caterers - Prepare & Delivery",
"description": "Caterers - Prepare & Delivery"
}
]
}

List Response Code

Response CodeResponse MessageDescription
2003400Success
4003401Invalid field format { field name }
4013400Unauthorized. Invalid SignatureX-Signature salah
4093400Cannot use same X-EXTERNAL-ID in same dayX-External-ID sudah pernah digunakan di hari yang sama
4043401Bad RequestRequest header ada yang salah / kurang
4043400Unauthorized. Client Forbidden Access APIPartner tidak dapat mengakses api terkait
5003401General ErrorTerjadi kesalahan