Mobile to UPI details
Introduction
Mobile to UPI details API enables you to retrieve the UPI ID and the account holder's name associated with a mobile number. This API is perfectly suited for businesses and financial institutions looking to simplify their payment procedures, confirm customer information, and improve transactional efficiency.
API details
Endpoint
POST https://api.signzy.app/api/v3/bankaccountverification/getUpiInfoPOST https://api-preproduction.signzy.app/api/v3/bankaccountverification/getUpiInfoRequest headers
Name | Value | Required | Description |
|---|---|---|---|
Content-Type | application/json | Mandatory | The type of content that the request body contains. |
Authorization | XXXXXXXXXXXXXXX | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |
Request body parameters
Parameter | Data Type | Description | Required |
|---|---|---|---|
mobileNumber | String | 10-Digit mobile number. | Mandatory |
{
"mobileNumber": "0000000000"
}Code samples
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.signzy.app/api/v3/bankaccountverification/getUpiInfo"
method := "POST"
payload := strings.NewReader(`{
"mobileNumber": "0000000000"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Authorization", "<Your access token>")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}Response body parameters
Parameter | Data Type | Description |
|---|---|---|
result | Object | Contains the result of the task. |
result.accountStatus | String | Indicates the current status of the account. The possible values are: VALID, INVALID, UNABLE_TO_VALIDATE. |
result.upiId | String | The UPI ID associated with the mobile number. |
result.nameAtBank | String | Account holder's name as registered with the bank. |
// When mobileNumber parameter is not passed
{
"statusCode": 400,
"status": "Bad Request",
"message": "Required mobileNumber"
}
// When mobileNumber is passed empty
{
"statusCode": 400,
"status": "Bad Request",
"message": "mobileNumber is invalid"
}
// When wrong mobile number is passed
{
"statusCode": 400,
"status": "Bad Request",
"message": "mobileNumber is invalid"
}
// When number is not passed as a string
{
"statusCode": 400,
"status": "Bad Request",
"message": "mobileNumber must be a string"
}
Contact Us for Any Assistance
If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at [email protected]. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!