List of services

List of services

POST /v2/services · API status: stable · Signature: required

Returns the list of services and their required fields (requiredFields) for creating a payment.

Request body

ParameterTypeRequiredDescription
fromNumberOptionalOffset. Defaults to 0 (from the first service).
sizeNumberOptionalNumber of records. Default 20, maximum 50.
filter.statusString[]OptionalENABLED, DISABLED, INACTIVE. Default [ENABLED, DISABLED].
filter.parentIdStringOptionalParent category ID. Without it, all services are returned.
localeStringOptionalLanguage of names: EN, KY, RU. Default EN.
queryStringOptionalSearch by name (in all supported languages).

Example request

POST /v2/services
POST /v2/services HTTP/1.1
Host: api.paymentsgateway.averspay.kg
Content-Type: application/json
signature: <signature>
x-api-key: <apiKey>
x-api-timestamp: 1719900000000 // Use Date.now() for the current timestamp.

{
  "from": 0,
  "query": "",
  "locale": "EN",
  "size": 20,
  "filter": { "parentId": "kyrgyzstan" }
}

Example response (shortened)

200 OK — list of services
{
  "services": [
    {
      "id": "o-kg",
      "country": "Kyrgyzstan",
      "maxAmount": 10000,
      "minAmount": 1,
      "name_en": "O!",
      "parentId": "kg-mobile",
      "requiredFields": [
        { "fieldId": "account.value", "inputMask": "000 000 000", "keyboardType": "PHONE", "label_en": "Phone number", "prefix": "+996 " },
        { "fieldId": "service", "keyboardType": "TEXT", "value": "5" },
        { "fieldId": "total", "keyboardType": "MONEY", "label_en": "Amount" }
      ],
      "status": "ENABLED"
    }
  ],
  "statusCode": 200,
  "total": 20
}