businessId and API key. Send the API key in the sessionKey header of every call below.cityId rather than a city name. Search the cities in the vendor's state and take the matching id./api/city/getAllCityByState?stateCode=NY&stateName=New York&searchKey=Sylvan · GET City List by State{
"since": 0,
"limit": 100,
"total": 1,
"entries": [
{
"id": 11743,
"name": "Sylvan Beach"
}
]
}cityId with the vendor record in your system.internalId for them. You'll use that internalId in every later call, so pick something stable, like the vendor ID from your ERP. Set inviteVendor to true to email them an invite to the Fintainium Network./gateway/vendor/create · Create new vendor{
"businessId": 3295462,
"vendor": [
{
"internalId": "1005",
"companyName": "Test Company A",
"vendorName": "Test Company A",
"printNameOnCheck": "Test Company A",
"firstName": "Test",
"lastName": "Vendor",
"emailAddress": "abc01@getnada.com",
"addressLine1": "10 Lawrence Street",
"zipCode": "13157",
"countryCode": "US",
"stateCode": "NY",
"cityId": 11743,
"inviteVendor": true,
"maskTaxId": true
}
]
}actionCode 00 and the new vendor under vendorDetail:{
"statusCode": 200,
"actionCode": "00",
"message": "Successful",
"successCount": 1,
"failedCount": 0,
"failedMessageList": [],
"vendorDetail": [
{
"id": 4440162,
"internalId": "1005",
"vendorName": "Test Company A"
}
]
}vendor is an array, so you can create several vendors in one call. Check successCount, failedCount and failedMessageList to see which ones didn't go through.internalId to confirm the details and see whether they've enrolled./gateway/vendor/get · View Vendor Details{
"businessId": 3295462,
"internalId": "1005"
}paymentMode (for example VISA_DIRECT), vendorId and enrollmentStatus (for example Active).businessId, the vendor's internalId, and only the fields you want to change. Everything else stays as it is./gateway/vendor/update · Update Vendor{
"businessId": 3295462,
"vendor": [
{
"internalId": "1005",
"companyName": "Test Company A Inc.",
"printNameOnCheck": "Test Company A Inc."
}
]
}