Sample - Stripe API
DELETE/v1/customers/{customer}/tax_ids/{id}

Delete a customer tax ID

Deletes an existing tax ID from a customer. Supply both the customer identifier and the tax ID identifier to remove the specified tax ID object.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
customerstringrequired
The identifier of the customer that owns the tax ID, limited to 5,000 characters.
idstringrequired
The identifier of the tax ID to delete.

2 status codes
200Returns a deleted tax ID object containing its identifier, object type, and `deleted: true`.
deletedbooleanrequired
Always true for a deleted object
Allowed:true
idstringrequired
Unique identifier for the object.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:tax_id
defaultError response.
errorobjectrequired

Error handling

customer must identify the customer that owns the tax ID, and id must identify the tax ID to delete. The customer value is limited to 5,000 characters.