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

    Other Validations

    Data Type Validation#

    Our API employs validators to ensure the correctness of various data types, such as strings, numbers, emails, and more. When validating request parameters, you can expect to receive a response in the following format in case of validation errors:
    {
        "success": false,
        "message": "INVALID_OR_INCOMPLETE_PARAMS",
        "data": [
            {
                "param": "identifier",
                "message": "TEXT_STRING_EXPECTED"
            },
            {
                "param": "identifier",
                "message": "REQUIRED_FIELD"
            }
        ]
    }
    In this example, the endpoint requires an "identifier" to be provided as a string. If the provided data does not meet the required data type or if the field is missing entirely, the API will respond with the "INVALID_OR_INCOMPLETE_PARAMS" error message and provide details about the specific validation errors encountered, including the parameter name ("param") and an associated error message ("message").
    Please ensure that your requests include the expected data types and that all required fields are provided to prevent validation errors.
    Modified at 2025-01-15 02:33:35
    Previous
    Hash Validations
    Next
    Operator Validation
    Built with