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

Delete a tax ID

Deletes an existing account or customer tax ID. Use id to identify the tax ID to remove. The operation returns a deletion confirmation object for the specified tax ID.

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

1 parameter
idstringrequired
The unique identifier of the tax ID to delete. Maximum 5,000 characters.

2 status codes
200Returns a deleted tax ID object containing the tax ID, its 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

id must be a string of no more than 5,000 characters that identifies the tax ID to delete.