Vzlaonlineservices API V3
    Vzlaonlineservices API V3
    • INTRODUCTION
    • CHANGELOG
    • Requests Validations
    • Hash Validations
    • Other Validations
    • Operator Validation
    • Webhook Integration
    • Webhook Notification Example
    • MOVISTAR
      • /send
        POST
      • /landline
        POST
      • /lookup
        POST
      • /pay (POSTPAID)
        POST
    • DIGITEL
      • /lookup
        POST
      • /send
        POST
      • /pay (POSTPAID)
        POST
    • MOVILNET
      • /send
        POST
    • SIMPLE TV
      • /send
        POST
      • /lookup
        POST
    • /me
      GET
    • /operators
      GET
    • /send
      POST
    • /products
      GET
    • /transaction-status/{hash}
      GET

    Operator Validation

    Operator-Specific Parameter Validation#

    In addition to general data type validation, some API endpoints may require operator-specific validations for certain parameters. These validations are performed to ensure that the provided data meets the operator's requirements. If a validation error occurs, the API will respond with details about the specific validation issue.
    TIP
    Please note that you can find the expected operator-specific regex patterns in the "Operators" section of this documentation. Ensure that your requests adhere to these patterns to avoid validation errors and ensure smooth processing of your requests.

    Regex Validation Example#

    Response Format#

    In cases where a parameter must match a specific regex pattern, the API response will follow this format:
    {
        "success": false,
        "message": "REGEX_NOT_MATCH",
        "data": {
            "regex": "^\\d{5,15}$",
            "value": "123"
        }
    }
    In this example, the API is expecting the "value" to match the regular expression pattern "^\d{5,15}$," which means it should consist of digits (0-9) and have a length between 5 and 15 characters. The "value" provided in the request, in this case, is "123," which does not match the expected pattern. As a result, the API responds with a "REGEX_NOT_MATCH" error message, including details about the expected regex pattern ("regex") and the provided value ("value").
    Please ensure that your requests meet the operator-specific validation requirements to avoid validation errors and ensure smooth processing of your requests.
    Modified at 2025-01-15 02:33:35
    Previous
    Other Validations
    Next
    Webhook Integration
    Built with