stripe_tax_accounts

Update a stripe tax account

Changed on

Update a stripe tax account

patch/stripe_tax_accounts/{stripeTaxAccountId}

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/stripe_tax_accounts/{stripeTaxAccountId}
  • Auth
    HTTP bearer

Path parameters

stripeTaxAccountIdstring required

The resource's id

Request body

Example request

{
  "data": {
    "id": "XAyRWNUzyN",
    "attributes": {
      "name": "Personal tax calculator",
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      },
      "api_key": "STRIPE_API_KEY",
      "commit_invoice": true
    },
    "relationships": {
      "tax_categories": {
        "data": {
          "id": "XAyRWNUzyN"
        }
      }
    }
  }
}

Response

The updated stripe tax account object

Changes