Go SDK changes
2.235.0
Released: 2024-12-17
- Added:
GetUsageHistoryV2
- π‘ Deprecated:
GetUsageHistory
(please useGetUsageHistoryV2
instead) - Changed:
- Input Object:
customerRefId
renamed tocustomerId
resourceRefId
renamed toresourceId
featureRefId
renamed tofeatureId
resetPeriod
removedyearlyResetPeriodConfiguration
removedmonthlyResetPeriodConfiguration
removedweeklyResetPeriodConfiguration
removed
- Output Object
startDate
removedendDate
removedusageMeasurements[i].date
renamed toseries[0].point[i].timestamp
usageMeasurements[i].value
renamed toseries[0].point[i].value
usageMeasurements[i].isResetPoint
renamed toseries[0].point[i].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
groups[i].groupInfo[j].key
renamed toseries[i].tags[j].key
groups[i].groupInfo[j].value
renamed toseries[i].tags[j].value
groups[i].usageMeasurements[j].date
renamed toseries[i].point[j].timestamp
groups[i].usageMeasurements[j].value
renamed toseries[i].point[j].value
groups[i].usageMeasurements[j].isResetPoint
renamed toseries[i].point[j].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
- Input Object:
2.233.0
Released: 2024-12-15
- Added:
getActiveSubscriptionsList_trialConfiguration
andgetActiveSubscriptionsList_trialConfiguration_trialEndDate
2.217.0
Released: 2024-12-08
- Added: ability to override prices when there's a scheduled update in place
2.212.4
Released: 2024-12-3
- Added:
TrialConfiguration
togetActiveSubscriptions()
2.212.1
Released: 2024-12-02
- Added: validation that coupon name does not exceed 40 characters
2.209.0
Released: 2024-12-02
- Added:
SubscriptionCoupon.amountsOff
- Added:
SubscriptionCoupon.description
- Added:
SubscriptionCoupon.durationInMonths
- Added:
SubscriptionCoupon.name
- Added:
SubscriptionCoupon.percentOff
2.207.0
Released: 2024-12-01
- Added:
EstimateSubscriptionInput.TrialOverrideConfigurationInput.trialEndBehavior
- Added:
PreviewSubscriptionInput.TrialOverrideConfigurationInput.trialEndBehavior
2.204.0
Released: 2024-11-24
- Added:
EstimateSubscriptionInput.TrialOverrideConfigurationInput.trialEndDate
- Added:
PreviewSubscriptionInput.TrialOverrideConfigurationInput.trialEndDate
2.199.0
Released: 2024-11-21
- Added: support for price localization in fixed fee coupons
2.196.1
Released: 2024-11-18
- Added: Ability to remove customer's email address by passing an empty string on
updateCustomer.email
2.196.0
Released: 2024-11-18
- Added:
DelegateSubscriptionToCustomer()
- Added:
TransferSubscriptionToResource()
- π‘ Deprecated:
TransferSubscriptin()
method (please useTransferSubscriptionToResource()
instead)
2.188.0
Released: 2024-11-05
- Added:
UsageHistoryFragment.Markers
to reflect information about the reset usage dates
2.178.1
Released: 2024-11-04
- Fixed: issue where
customer.discount.deleted
event from Stripe isn't handled properly
2.175.4
Released: 2024-10-31
- Added: ability to set any date in the
SubscriptionFragment.trialEndDate
2.162.0
Released: 2024-10-13
- Added: ability to estimate the subscription cost when the payment of the subscription is delegated to a different customer using:
ProvisionSubscriptionInput.PayingCustomerID
UpdateSubscriptionInput.PayingCustomerID
ApplySubscriptionInput.PayingCustomerID
PreviewSubscriptionInput.PayingCustomerID
EstimateSubscriptionInput.PayingCustomerID
EstimateSubscriptionUpdateInput.PayingCustomerID
2.160.0
Released: 2024-10-13
- Added: raise error when sync to Stripe fails due to unrecognized customer billing address
2.151.0
Released: 2024-10-06
- Added: ability to more easily determine the usage period of metered entitlements using:
Entitlement.UsagePeriodStart
Entitlement.UsagePeriodEnd
- π‘ Deprecated:
Entitlement.nextResetDate
field
2.131.1
Released: 2024-09-19
- Added: raise error when attempting to import a customer with an existing
BillingID
2.129.0
Released: 2024-09-17
- Added:
CustomerPortalSubscription.PlanID
2.123.1
Released: 2024-09-11
- Added:
SubscriptionCouponInput.BillingCouponID
- π‘ Deprecated:
ProvisionSubscriptionInput.PromotionCode
- π‘ Deprecated:
UpdateSubscriptionInput.PromotionCode
- π‘ Deprecated:
ApplySubscriptionInput.PromotionCode
- π‘ Deprecated:
PreviewSubscriptionInput.PromotionCode
- π‘ Deprecated:
EstimateSubscriptionInput.PromotionCode
- π‘ Deprecated:
EstimateSubscriptionUpdateInput.PromotionCode
2.100.2
Released: 2024-09-01
- Added: ability to delegate payment of a provisioned subscription to a different customer using:
ProvisionSubscriptionInput.PayingCustomerID
ApplySubscriptionInput.PayingCustomerID
SlimSubscriptionFragmentV2.payingCustomer
FullSubscription.payingCustomer
2.86.0
Released: 2024-08-22
- Added: ability to apply a coupon to a subscription using the Stigg coupon ID using:
ProvisionSubscriptionInput.AppliedCoupon
UpdateSubscriptionInput.AppliedCoupon
ApplySubscriptionInput.AppliedCoupon
PreviewSubscriptionInput.AppliedCoupon
EstimateSubscriptionInput.AppliedCoupon
EstimateSubscriptionUpdateInput.AppliedCoupon
2.80.2
Released: 2024-08-20
- Changed:
ImportCustomerBulk
changed toImportCustomerBulkInput
2.62.4
Released: 2024-08-07
- Added: ability to undo subscription scheduled cancelation using
CancelSubscriptionUpdates()
2.62.0
Released: 2024-08-07
- Added: ability to preview a subscription's upcoming invoice using
PreviewNextInvoice()
2.20.0
Released: 2024-07-07
- Changed:
FetchUsageHistory()
now returns the precise timestamp when the usage was reset
2.13.5
Released: 2024-07-01
- Changed:
UpdateSubscriptionInput.SubscriptionEntitlements
does not require the full list of entitlements when needing to add or update specific entitlements
2.8.2
Released: 2024-06-27
- Added:
TrialOverrideConfigurationInput.TrialEndDate
to allow scheduled trial cancelation when provisioning and updating subscriptions
1.236.0
Released: 2024-06-20
- Added: ability to get the list of active subscriptions from Edge using
GetActiveSubscriptionList()
1.232.0
Released: 2024-06-16
- Added: ability to get the list of active subscriptions using
GetActiveSubscriptions()
1.0.0
Released: 2024-01-22
βBreaking change
- Changed: For Volume/tiered pricing,
unitPrice
was moved toflatPrice
.
Updated 7 days ago