Skip to content

Validate VPA

| View as Markdown

This API is for validating VPA – Virtual Private Address i.e UPI id of a customer for UPI payments online. If UPI id is not valid, then no payment can be done.

https://kraken.airpay.co.in/airpay/api/vpa_validate.php
FieldTypeDescription
Content-TypeStringapplication/json
FieldTypeDescription
private_keyAlphanumericPrivate Key (length 10-200) (required)
private_key = hash(‘sha256’, secret.’@’.username.’:
merchant_idNumberMerchant Id (length 1-20) (required)
checksumStringChecksum (length 10-200) (required)
date = YYYY-MM-DD
alldata = merchant_id.private_key.vpa
Key generated by : key = hash(‘SHA256’,username.”:“.password)
checksum generated by : checksum = hash(‘SHA256’, key.’@’.alldata.date(‘Y-m-d’))
vpaStringVirtual Payment Address (required)
{
"merchant_id": "11111",
"private_key": "71a4efaf21c79864ec154babfc494f45fd1f65a570805084965d5b29486f1dfe",
"checksum": "92c617a556982a8d124ff2b7ce9eae3e",
"vpa": "test@oksbi"
}
FieldTypeDescription
statusNumberStatus Code
vpaNameStringVPA Name
messageStringStatus Message
HTTP/1.1 200 OK
{
"status" : "200",
"vpaName" : "JACOB TARUN KOSHY",
"message" : "Success",
}
HTTP/1.1 200 OK
{
"status" : "400",
"message" : "failure message",
}