DotsDocs
Accounts payable

Delete a vendor payment method

Delete a vendor payment method

DELETE
/v2/accounts-payable/vendors/{vendor_id}/payment-methods/{payment_method_id}

Delete a vendor payment method

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

vendor_id*string

The ID of the Vendor

payment_method_id*string

The ID of the Vendor's Payment Method

Response Body

OK

application/json
  1. response
deleted?boolean

true if the vendor payment method was deleted.

id?string

ID of the vendor payment method that was deleted.

object?string

Type of the object that was deleted.

Example Request
curl -X DELETE 'https://api.dots.dev/api/v2/accounts-payable/vendors/string/payment-methods/string'
Example Response
{  "deleted": true,  "id": "string",  "object": "string"}