Category
API Request
Type | Value |
---|---|
HTTP Method | POST or GET |
API Endpoint | https://api.neropass.com/partner/v1/category |
Response Body
{
"success": true,
"data": [
{
"code": "GML",
"name": "Mobile Legends",
"slug": "mobile-legends",
"isActive": true,
"destFormat": "{userId}|{serverId}",
"inputs": [
{
"name": "userId",
"title": "User ID",
"type": "text",
"options": []
},
{
"name": "serverId",
"title": "Server ID",
"type": "text",
"options": []
}
]
},
{
"code": "GGI",
"name": "Genshin Impact",
"slug": "genshin-impact",
"isActive": true,
"destFormat": "{userId}|{serverId}",
"inputs": [
{
"name": "userId",
"title": "User ID",
"type": "text",
"options": []
},
{
"name": "serverId",
"title": "Server",
"type": "select",
"options": [
{
"title": "America",
"value": "os_usa"
},
{
"title": "Europe",
"value": "os_euro"
},
{
"title": "Asia",
"value": "os_asia"
},
{
"title": "TW, HK, MO",
"value": "os_cht"
}
]
}
]
}
],
"errors": null
}
info
destFormat
is the format ofdest
that you need to send on Order.inputs
can has 2 type, which istext
andselect
.- When input type are
select
, you need to send value fromoptions
on Order.