get_pvp_price (GET)

This function retrieves the fee for a specific plan. It takes three input parameters: the token, the plan ID or product ID, and the ISO country code. It returns the different prices for various time periods of the specified plan.

  • Endpoint : preview.ilsbsys.com/apirest_v1/information

Input Fields

Tag Name Type Size Priority
token string 16 (Mandatory)
id_plan string 11 (Mandatory)
iso_country string 2


WARNING: The field "iso_country" can be left empty, this will return all the prices of the plan without regarding a specific country

Fields

{
    "request" : "get_pvp_price",
    "token" : "123456789ABC",
    "id_plan" : "1234",
    "iso_country" : "CL"
}

Results

[
    {
        "unidad": "dias",
        "tiempo": "20",
        "valor": "2.70"
    },
    {
        "unidad": "dias",
        "tiempo": "40",
        "valor": "2.42"
    },
    {
        "unidad": "dias",
        "tiempo": "60",
        "valor": "2.10"
    },
    {
        "unidad": "dias",
        "tiempo": "90",
        "valor": "1.80"
    },
    {
        "unidad": "dias",
        "tiempo": "1",
        "valor": "2.54"
    }
]

Common Error Codes

  • 1091 : the country provided is restricted for the plan
  • 1060 : price not registered for this country
  • 6022 : plan is empty
  • 1005 : supplied token is invalid