This release changes the pinned API version to 2025-05-28.preview
.
-
#1864 Update generated code for beta
Breaking changes
- Remove support for deprecated previews
- Remove support for resources
Billing.MeterErrorReport
,GiftCards.Card
,GiftCards.Transaction
, andPrivacy.RedactionJobRootObjects
- Remove support for
all
,create
,retrieve
,update
, andvalidate
methods on resourceGiftCards.Card
- Remove support for
all
,cancel
,confirm
,create
,retrieve
, andupdate
methods on resourceGiftCards.Transaction
- Remove support for
provisioning
onProduct
- Remove support for snapshot event
BILLING_METER_ERROR_REPORT_TRIGGERED
with resourceBilling.MeterErrorReport
- Remove support for error codes
gift_card_balance_insufficient
,gift_card_code_exists
, andgift_card_inactive
onQuotePreviewInvoice.last_finalization_error
- Remove support for resources
- Remove support for
amount_remaining
andcredits
onOrder
- Change type of
PaymentAttemptRecord.metadata
andPaymentRecord.metadata
fromnullable(map(string: string))
tomap(string: string)
- Remove support for
async_workflows
onPaymentIntent
- Change type of
Privacy.RedactionJob.objects
from$Privacy.RedactionJobRootObjects
toRedactionResourceRootObjects
- Change type of
Privacy.RedactionJob.status
fromstring
toenum
- Change type of
Privacy.RedactionJob.validation_behavior
fromstring
toenum('error'|'fix')
- Change type of
Privacy.RedactionJobValidationError.code
fromstring
toenum
- Change type of
Privacy.RedactionJobValidationError.erroring_object
frommap(string: string)
toRedactionResourceErroringObject
- Remove support for values
credits_attributed_to_debits
andlegacy_prorations
from enumsQuote.subscription_data.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
- Remove support for
status_details
andstatus
onTax.Association
Other changes
- Add support for
migrate
method on resourceSubscription
- Add support for
institution
onFinancialConnections.Account
- Add support for
countries
onFinancialConnections.Institution
- Add support for
hooks
onPaymentIntent
- Add support for
livemode
onPrivacy.RedactionJob
- Add support for new values
classic
andflexible
on enumsQuote.subscription_data.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
- Add support for
billing_mode_details
onSubscription
- Add support for
tax_transaction_attempts
onTax.Association
- Add support for error code
forwarding_api_upstream_error
onQuotePreviewInvoice.last_finalization_error
- Remove support for deprecated previews