post https://staging.hq.netevia.com/api/v1/merchant/siteInspection
API Method: POST /api/v1/merchant/siteInspection
Description:
This API method is used to update the site inspection details of a merchant within a payment processing service. Site inspections are typically conducted to verify the legitimacy and operational status of a merchant's physical location before they are fully onboarded.
Endpoint:
POST /api/v1/merchant/siteInspection
Response:
The response will include a confirmation of the update and may provide additional information such as the updated status and any relevant timestamps.
Example Request:
{
"siteInspection": {
"inventoryMaintainedType": "OnSite",
"fulfillmentCenterNameAndAddress": "string",
"question1": true,
"question1Explanation": "string",
"question2": true,
"question2Explanation": "string",
"question3": true,
"question3Explanation": "string",
"question4": true,
"question4Explanation": "string",
"zoning": "Comml",
"squareFootageType": "From_0_To_500",
"squareFootageTypeOther": 0,
"merchant": "Owns",
"nameAddressLandlord": "string"
},
"id": 0
}
Example Response:
{
"data": {},
"status": "Continue",
"error": "string",
"warning": "string",
"validationResults": [
{
"memberNames": [
"string"
],
"errorMessage": "string"
}
],
"requestId": 0
}
}
Error Handling:
In case of errors, the response will include an appropriate error code and message to help diagnose and resolve the issue (e.g., "Invalid merchant ID", "Missing required fields").