businessId and API key. Send the API key in the sessionKey header of every call below.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./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": "50020",
"countryCode": "US",
"stateCode": "AK",
"cityId": 18086,
"inviteVendor": true,
"maskTaxId": true
}
]
}cityId is a Fintainium city ID. Look it up with GET City List by State using the state code and a searchKey.internalId and one or more bills./gateway/payment/createBill · Create new Bill{
"businessId": "1048273",
"internalId": "1005",
"createBill": [
{
"billNumber": "45678",
"billPO": "67856",
"billDate": "2024-02-14",
"billDueDate": "2024-02-21",
"term": "10 Days",
"totalTax": "23.00",
"itemDetails": [
{
"itemName": "Marketing Expense",
"description": "Marketing of June",
"quantity": "2",
"unitPrice": 1500.00
}
]
}
]
}reference and amount under billDetail. Keep the reference for step 4.deposit type with one of ach, rapidPay or check./gateway/payment/paymentMethod · Add Payment Method{
"businessId": "1048273",
"internalId": "1005",
"type": {
"deposit": {
"paymentMethod": {
"ach": {
"accountNumber": "123456789",
"routingNumber": "987654321",
"accountName": "John Doe",
"accountType": "Business"
}
}
}
}
}reference, the amount, a transactionDate in MM/DD/YYYY format, and one payment method under deposit./gateway/payment · Initiate Payment{
"businessId": "1048273",
"internalId": "1005",
"reference": "45678",
"amount": "3023.00",
"transactionDate": "02/21/2024",
"type": {
"deposit": {
"paymentMethod": {
"ach": {
"accountNumber": "123456789",
"routingNumber": "987654321",
"accountName": "John Doe",
"accountType": "Business"
}
}
}
}
}actionCode 00 and "Payment details received successfully, payment processing in progress".transactionType=Payable and the vendor's internalId, or get notified automatically with webhooks./gateway/api/payouts/batch/transactionStatus?businessId=1048273&transactionType=Payable&internalId=1005 · Retrieve Transaction Statusstatus, statusId, paymentMethod and paymentReferenceNumber for reconciliation.