POST
/
api
/
v1
/
info
/
vpa
curl --request POST \
  --url https://api.paytring.com/api/v1/info/vpa \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "vpa": "<string>",
  "hash": "<string>"
}'
"{\n \"status\": true,    \n \"isVPAValid\": true,    \n \"payerAccountName\": \"User Name\"\n}"

This API is used to validate a Virtual Payment Address (VPA) for UPI transactions.

Request Body

{
  "key": "string", // Merchant API key
  "vpa": "string", // Virtual Payment Address
  "hash": "string" // Calculated hash for request validation
}

Responses

200 OK

{
  "status": true,
  "message": "VPA is valid",
  "vpa": "string"
}

400 Bad Request

{
  "status": false,
  "error": {
    "message": "Invalid VPA",
    "code": 400
  }
}

Body

application/json
key
string
required

Merchant key, available in dashboard profile section

vpa
string
required

vpa you want to be validated.

hash
string
required

to be calculated for this request

Response

200
application/json
200

The response is of type any.