post https://api.instantpay.in/identity/verifyFssai
Instantpay's FSSAI Verification API solution facilitates businesses in verifying the authenticity of Food Safety and Standards Authority of India (FSSAI) licenses. FSSAI verification API provides assurance that the businesses you are dealing with have the proper authorization for engaging in the production, storage, distribution, or export of food products, promoting trust and reliability in the food-related industry.
Header Parameters
Name | Type | Description | Mandatory (M) , Optional (O) | Provided by INSTANTPAY (Y/N) |
---|---|---|---|---|
X-Ipay-Auth-Code | String | Auth Code is "1" (Fixed) | M | Y |
X-Ipay-Client-Id | String | Unique Client Id Provided by Instantpay | M | Y |
X-Ipay-Client-Secret | String | Unique Client Secret Provided by Instantpay | M | Y |
X-Ipay-Endpoint-Ip | String | End customer IP Address | M | Y |
Request Parameters
Parameter Name | Type | Requirement | Description |
---|---|---|---|
fssaiNumber | String | Mandatory | Input FSSAI number to be verified. |
latitude | String | Mandatory | End Customer Latitude. |
longitude | String | Mandatory | End Customer Longitude |
externalRef | String | Mandatory | Your Unique Transaction id |
consent | String | Mandatory | Consent should be accepted by customer |
Sample Request
curl --location 'https://api.instantpay.in/identity/verifyFssai' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data '{
"fssaiNumber":"1332112340532",
"consent":"Y",
"latitude":0.99,
"longitude":38,
"externalRef":"jdnjdi89"
}'
curl --location 'https://api.instantpay.in/identity/verifyFssai' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825' \
--header 'X-Ipay-Endpoint-Ip: 14.142.186.142' \
--header 'Content-Type: application/json' \
--data '{
"fssaiNumber":"1332112340532",
"consent":"Y",
"latitude":0.99,
"longitude":38,
"externalRef":"jdnjdi89"
}'
Response Parameters
Parameter Name | Type | Description |
---|---|---|
statuscode | String | Instantpay Status Code |
actcode | String | Action Code |
status | Array | Status message |
data | String | Response Data(if Present) |
timestamp | String | Response time (YYYY-MM-DD HH:II:SS) |
ipay_uuid | String | Request reference number |
orderid | String | Transaction Id(if transaction otherwise it is null) |
environment | String | Live/Sandbox |
internalCode | String | It will be null |
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": {
"fassaiDetail": {
"premiseAddress": "Sample Full Address",
"fssaiNumber": "1332112340532",
"licenseCategoryName": "State License",
"stateName": "Delhi",
"statusDescription": "License Issued",
"licenseCategoryId": "2",
"talukName": "Taluk Name",
"districtName": "District Name ",
"companyName": "Company Business Name",
"licenseActiveFlag": true,
"appTypeDescription": "New License",
"villageName": null,
"premisePincode": "110018"
},
"pool": {
"referenceId": "1231005101634YLFYA",
"openingBalance": "47.77",
"paymentAmount": "0.00",
"mode": "DR",
"closingBalance": "47.77"
}
},
"timestamp": "2023-10-05 10:16:34",
"ipay_uuid": "h0059a4b47e5-7b72-4309-835a-868f5fbbb7fe-CLueOJFuLnk6",
"orderid": "1231005101634YLFYA",
"environment": "LIVE",
"internalCode": null
}