accounts-payable
Delete a vendor
users
transfers
payout-links
payments
payment-intents
payment-customers
checkout-sessions
accounts-payable
- GETList all vendors
- POSTCreate a vendor
- GETGet vendor details
- DELDelete a vendor
- GETList all payment methods for a vendor
- POSTCreate a payment method for a vendor
- GETGet vendor payment method details
- DELDelete a vendor payment method
- GETList all payables
- POSTCreate a payable
- POSTCreate a payable from a file
- GETGet payable details
- PATCHUpdate a payable
- POSTUpload file to the payable
- DELDelete file from the payable
- POSTCancel a payable
- POSTSubmit a payable for approval
- POSTApprove a payable
- POSTReject a payable
- POSTPay a payable
- GETList all approval policies
- POSTCreate an approval policy
- DELDelete an approval policy
- PATCHUpdate priority of an approval policy
- GETList all approvers for api app
apps
payment-methods
organizations
accounts-payable
Delete a vendor
Delete a vendor
curl --request DELETE \
--url https://api.dots.dev/api/v2/accounts-payable/vendors/{vendor_id} \
--header 'Authorization: Basic <encoded-value>'
{
"deleted": true,
"id": "<string>",
"object": "<string>"
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the Vendor
curl --request DELETE \
--url https://api.dots.dev/api/v2/accounts-payable/vendors/{vendor_id} \
--header 'Authorization: Basic <encoded-value>'
{
"deleted": true,
"id": "<string>",
"object": "<string>"
}