cURL
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 for merchants integrating order process api and want to check if customer provided vpa is valid or not.
{ "key": "string", // Merchant API key "vpa": "string", // Virtual Payment Address "hash": "string" // Calculated hash for request validation }
{ "status": true, "message": "VPA is valid", "vpa": "string" }
{ "status": false, "error": { "message": "Invalid VPA", "code": 400 } }
200
The response is of type any.
any