curl --request DELETE \
  --url https://api.dots.dev/api/v2/accounts-payable/vendors/{vendor_id}/payment-methods/{payment_method_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "deleted": true,
  "id": "<string>",
  "object": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

vendor_id
string
required

The ID of the Vendor

payment_method_id
string
required

The ID of the Vendor's Payment Method

Response

200 - application/json
OK
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.