Validate VPA Handle API

API Command: validateVPA

This API (validateVPA) will let you validate VPA if it is a valid VPA or not.

After the customer enters VPA on the merchant page, you need to call this API to check for VPA validation. If VPA is valid only then, the second call should be made.

Reference information for request parameters

keyFor more information on how to generate the Key and Salt, refer to any of the following:

- Production: Generate Merchant Key and Salt
- Test: Generate Test Merchant Key and Salt
hashHash logic for this API is:
var1For JSON fields description, refer to Additional Info for General APIs

Response parameters

  • IsVPAValid: This parameter returns any of the following to indicate whether the VPA is valid or not
    • 1: Indicates that VPA is valid
    • 0: Indicates the VPA is invalid

Request parameters

You can use any valid VPA while trying out the API:

Click Try It! to start a request and see the response here!