Skip to main content
POST
/
api
/
v1
/
info
/
vpa
Validate 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}"

Documentation Index

Fetch the complete documentation index at: https://docs.paytring.com/llms.txt

Use this file to discover all available pages before exploring further.

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