v1
latestOpenAPI 3.0.12026-07-24310590875.6 KBCreate a vendor
Create a new vendor.
Requirements for enabling vendor payments
Vendor address details are required for paying a vendor by check or for inviting the vendor to join the BILL network.
- line1
- city
- zipOrPostalCode
- country
- payeeName
Note: A vendor can be enrolled to accept virtual card payments even without being connected in the BILL network. See Virtual card FAQ in the BILL Help Center for more information.
Requirements for enabling electronic payments to vendors
Vendor bank account details are required for paying a vendor with electronic payment methods.
paymentInformation details about bank accounts are required for adding a vendor bank account.
- payeeName
- bankCountry (for international vendors)
- paymentCurrency (for international vendors)
- nameOnAccount
- accountNumber
- routingNumber (empty for an IBAN accountNumber)
- type (for international vendors)
regulatoryFields and paymentPurpose are additional required fields for enabling electronic payments to international vendors (not United States) in specific countries.
Note: When you add a vendor bank account in the production environment, BILL requires 2 business days to complete a one-time verification of the bank account. To pay such a vendor, you must set a processDate that is 2 business days from the current date.
See Vendors in the Guides section for more information, sample requests, and responses.
Headers
API session ID generated with /v3/login
Developer key generated with your BILL developer account
Request body
Example request
{
"name": "Happy Music Supplies",
"accountType": "BUSINESS",
"email": "info@happymusicsupplies.org",
"phone": "9876543210",
"address": {
"line1": "123 Main Street",
"city": "San Jose",
"stateOrProvince": "CA",
"zipOrPostalCode": "95002",
"country": "US"
},
"paymentInformation": {
"payeeName": "Happy Music Supplies",
"bankAccount": {
"nameOnAccount": "Bill Vendorson",
"accountNumber": "111222333",
"routingNumber": "074000010"
}
},
"billCurrency": "USD"
}Response
Create a vendor response
Example response
{
"paymentInformation": {
"bankAccount": {
"nameOnAccount": "Bill Vendorson",
"accountNumber": "111222333",
"routingNumber": "074000010",
"type": "CHECKING",
"ownerType": "BUSINESS",
"paymentCurrency": "USD"
}
}
}