Skip to main content

Get Service Parameters - /api/v20/service

Used to retrieve the description of a specific service by its serviceId.

Request Structure

ParameterValue
MethodPOST
URI<url>/api/v20/service
URI Parametersnone
Body Parametersrequest parameters
Content-Typeapplication/json

Request Parameters

ParameterDescriptionRequired
serviceIdService code in the processing systemyes

Request Example

{
"serviceId": "A0001"
}

Response Structure

ParameterDescriptionRequired
servicesArray of available services and their parametersyes
serviceIdService code in the processing systemyes
typePayment scheme typeyes
nameService nameyes
groupService groupno
fixedPaymentFixed payment amount flagno
countryCountry of service provisionno
inputsList of input parameters entered by the userno
inputs[].nameSystem name of the input parameterno
inputs[].requiredParameter required flagno
inputs[].titleHint for the userno
inputs[].regexpRegular expression for value validationno
displaysList of fields that may be displayed to the user after verificationno
displays[].name / required / title / regexpDescription of the returned fieldno

Response Example

{
"result": 0,
"resultMessage": "Success",
"services": [
{
"serviceId": "A0001",
"type": 0,
"name": "Test Service",
"group": "Online Games",
"fixedPayment": false,
"country": "International",
"inputs": [
{
"name": "account",
"required": true,
"title": "account"
}
]
}
]
}