Stripe: Update a registration
Stripe tax.postTaxRegistrationsId: arguments, response, policy and SDK examples.
← Tax operations · Get started
Operation stripe.posttaxregistrationsid
Provider route: POST /v1/tax/registrations/{id}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/stripe with npm, or alter-sdk-stripe with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { StripeIntegration } from "@alter-ai/stripe";
async function execute(input: Parameters<StripeIntegration["tax"]["postTaxRegistrationsId"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new StripeIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.tax.postTaxRegistrationsId(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_stripe import StripeIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = StripeIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.tax.post_tax_registrations_id(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.id | string | Required within parent | Maximum length: 5000 |
headers | object | Optional | Additional keys: not allowed |
headers.Idempotency-Key | string | Optional | Minimum length: 1 Maximum length: 255 |
body | object | Optional | Additional keys: not allowed |
body.active_from | JSON | Optional | Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch. |
body.active_from (anyOf 1) | string | Alternative | One of: now Maximum length: 5000 |
body.active_from (anyOf 2) | integer | Alternative | Format: unix-time |
body.expand | array | Optional | Specifies which fields in the response should be expanded. |
body.expand[] | string | Each item | Maximum length: 5000 |
body.expires_at | JSON | Optional | If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch. |
body.expires_at (anyOf 1) | string | Alternative | One of: now Maximum length: 5000 |
body.expires_at (anyOf 2) | integer | Alternative | Format: unix-time |
body.expires_at (anyOf 3) | string | Alternative | One of: |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Create a registration — response body |
Referenced models: Create a registration — response body
Schemas
Section titled “Schemas”8 more schemas are linked from the tables above, on the schema pages.
Create a registration — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://docs.stripe.com/tax). Stripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://docs.stripe.com/tax/registering). Related guide: [Using the Registrations API](https://docs.stripe.com/tax/registrations-api) |
active_from | JSON | Required within parent | |
active_from (anyOf 1) | integer | Alternative | Time at which the registration becomes active. Measured in seconds since the Unix epoch. Format: unix-time |
active_from (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
country | string | Required within parent | Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). Maximum length: 5000 |
country_options | Model | Required within parent | Expand Create a registration — response body — country options |
created | JSON | Required within parent | |
created (anyOf 1) | integer | Alternative | Time at which the object was created. Measured in seconds since the Unix epoch. Format: unix-time |
created (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
expires_at | JSON | Optional | |
expires_at (anyOf 1) | JSON | Alternative | |
expires_at (anyOf 1) (anyOf 1) | integer | Alternative | If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch. Format: unix-time |
expires_at (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
expires_at (anyOf 2) | null | Alternative | |
id | string | Required within parent | Unique identifier for the object. Maximum length: 5000 |
livemode | boolean | Required within parent | If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`. |
object | string | Required within parent | String representing the object's type. Objects of the same type share the same value. Known values: tax.registration |
status | string | Required within parent | The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`. Known values: active, expired, scheduled |
Referenced models: Create a registration — response body — country options
Create a registration — response body — country options ca
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
province_standard | Model | Optional | Expand Create a registration — response body — country options ca province standard |
type | string | Required within parent | Type of registration in Canada. Known values: province_standard, simplified, standard |
Referenced models: Create a registration — response body — country options ca province standard
Create a registration — response body — country options al
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
type | string | Required within parent | Type of registration in `country`. Known values: standard |
Create a registration — response body — country options ae
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
standard | Model | Optional | Expand Create a registration — response body — country options ae standard |
type | string | Required within parent | Type of registration in `country`. Known values: standard |
Referenced models: Create a registration — response body — country options ae standard
Create a registration — response body — country options at
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
standard | Model | Optional | Expand Create a registration — response body — country options at standard |
type | string | Required within parent | Type of registration in an EU country. Known values: ioss, oss_non_union, oss_union, standard |
Referenced models: Create a registration — response body — country options at standard
Create a registration — response body — country options am
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
type | string | Required within parent | Type of registration in `country`. Known values: simplified |
Create a registration — response body — country options es
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
standard | Model | Optional | Expand Create a registration — response body — country options at standard |
type | string | Required within parent | Type of registration in ES. Known values: ioss, oss_non_union, oss_union, standard |
Referenced models: Create a registration — response body — country options at standard
Create a registration — response body — country options ca province standard
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
province | string | Required within parent | Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)). Maximum length: 5000 |
Create a registration — response body — country options ae standard
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
place_of_supply_scheme | string | Required within parent | Place of supply scheme used in an Default standard registration. Known values: inbound_goods, standard |
Create a registration — response body — country options at standard
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
place_of_supply_scheme | string | Required within parent | Place of supply scheme used in an EU standard registration. Known values: inbound_goods, small_seller, standard |
Create a registration — response body — country options us admissions tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [jurisdiction code](https://docs.stripe.com/tax/registering?type=admissions_tax#registration-types) representing the local jurisdiction. Maximum length: 5000 |
Create a registration — response body — country options us attendance tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [jurisdiction code](https://docs.stripe.com/tax/registering?type=attendance_tax#registration-types) representing the local jurisdiction. Maximum length: 5000 |
Create a registration — response body — country options us entertainment tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [jurisdiction code](https://docs.stripe.com/tax/registering?type=entertainment_tax#registration-types) representing the local jurisdiction. Maximum length: 5000 |
Create a registration — response body — country options us gross receipts tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [jurisdiction code](https://docs.stripe.com/tax/registering?type=gross_receipts_tax#registration-types) representing the local jurisdiction. Maximum length: 5000 |
Create a registration — response body — country options us hospitality tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [jurisdiction code](https://docs.stripe.com/tax/registering?type=hospitality_tax#registration-types) representing the local jurisdiction. Maximum length: 5000 |
Create a registration — response body — country options us local lease tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Maximum length: 5000 |
Create a registration — response body — country options us luxury tax
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
jurisdiction | string | Required within parent | A [jurisdiction code](https://docs.stripe.com/tax/registering?type=luxury_tax#registration-types) representing the local jurisdiction. Maximum length: 5000 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: stripe.posttaxregistrationsid. Catalog operation: PostTaxRegistrationsId. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Pinned headers: {"Stripe-Version": "2026-09-30.endive"}