- #1277, #1276 Codegen-related changes
- Add missing
Object
field to several structs. - Set
path
inusagerecordsummary.List
only once, not once per iteration.
- Add missing
- #1275 Add support for ACSS debit payment method
- Add support for
acss_debit
as value forPaymentMethodType
. - Add support for
ACSSDebit
onPaymentMethod
,PaymentMethodParams
,PaymentIntentPaymentMethodOptions
,PaymentIntentPaymentMethodOptionsParams
,MandatePaymentMethodDetails
,SetupIntentPaymentMethodOptions
, andSetupIntentPaymentOptionsParams
. - Add support for
ACSSDebitPayments
onAccountCapabilities
- Add support for
PaymentMethodOptions
onCheckoutSession
- Add support for
verify_with_microdeposits
anduse_stripe_sdk
onPaymentIntentNextAction
andSetupIntentNextAction
- Add support for
- #1274 Fix names of
SubscriptionScheduleStatus
constants (warning: this might be a minor breaking change if you'd been referencing a bad name)
- #1273 API Updates
- Add support for
SubscriptionPause
onBillingPortalConfigurationFeatures
andBillingPortalConfigurationFeaturesParams
- Add support for
- #1271 codegen: add several client.go files
- #1269 codegen: 13 more files
- Add missing
Object
property to several structs - Add support for
ExpiresAtNow
toFileLinkParams
- Add support for
SubscriptionItem
toInvoiceItem
- Add enum definitions for
TerminalReader.DeviceType
- Add enum definitions for
Topup.status
- Add support for
Amount
,AmountRange
, andStatus
toTopupListParams
- Added custom
UnmarshalJSON
method forTopup
- Add missing
- #1272 API Updates
- Add support for
TransferData
onCheckoutSessionSubscriptionDataParams
- Add support for
- #1270 add card_issuing.tos_acceptance to account.go
- Add support for
AccountSettingsParams.CardIssuing.TOSAcceptance
- Add support for
AccountSettingsCardPayments.CardIssuing.TOSAcceptance
- Add support for
- #1268 API Updates
- Add support for
ShippingRates
onCheckoutSessionParams
- Add support for
AmountShipping
onCheckoutSessionTotalDetails
- Add support for
- #1264, #1261 Codegen-related changes
- Introduce missing
Object
andDeleted
properties to many structs - Add two missing members to
CustomerBalanceTransactionType
enum - Add
DomainName
toApplePayDomainListParams
- Introduce missing
- #1250 Support
SubscriptionTrialEndNow
on the Retrieve Upcoming Invoice API
- #1257 Adds ErrorType idempotency_error
- #1259 Add configuration API to billingportal_session.go
- #1253 Fix
LineItemTax
to deserializeRate
properly
- #1254 Add support for the billing portal configuration API
- #1252 API Updates
- Add support for
afterpay_clearpay
onPaymentMethod
,PaymentMethodParams
,PaymentIntentPaymentMethodDataParams
, andChargePaymentMethodDetails
- Add
afterpay_clearpay
as an enum member onPaymentMethodType
- Add support for
adjustable_quantity
onCheckoutSessionLineItemParams
- Add support for
on_behalf_of
onInvoiceParams
andInvoice
- Add support for
- #1249 Fix edge case panic in ParseID
- #1247 Added support for
payment_settings
toInvoice
- #1245 API Updates
- Add
nationality
toPerson
andPersonParams
- (TokenParams includes PersonParams, so this also allows it to be specified on token.Create)
- Add
gb_vat
as a member ofTaxIDType
andCheckoutSessionCustomerDetailsTaxIDsType
- Add
- #1246 Add SubscriptionStartDate to InvoiceParams (to use with GetNext)
- #1243 Added missing decline code 'invalid_expiry_month'
- #1228 Redact client_secret from logs
- #1241 Multiple API Changes
- Added support for
dynamic_tax_rates
onCheckoutSessionParams.line_items
- Added support for
customer_details
onCheckoutSession
- Added support for
type
onIssuingTransactionListParams
- Added support for
country
andstate
onTaxRateParams
andTaxRate
- Added support for
- #1236 Add support for bank on eps/p24
- #1239 Add support for more verification documents in
Documents
onAccount
.
- #1234 Add support for
BankAccountOwnershipVerification
inDocuments
onAccount
- #1230 Add support for
AccountTaxIDs
onInvoice
- #1227 Add support for Account and Person
Token
creation
- #1229 Add support for
GrabpayPayments
as a capability onAccount
- #1222 Add
LastFinalizationError
toInvoice
andPaymentMethodType
toError
- #1223 Properly deserialize
IssuingDispute
onBalanceTransaction
- #1221 Add support for
RegistrationNumber
inCompany
onAccount
- #1220 Add
PreferredLocales
onCharge
for payments made via Interac Present transactions
- #1218 Multiple API changes
- Add support for passing
CvcToken
inPaymentIntentPaymentMethodOptionsCardOptions
onPaymentIntent
- Add support for creating a CVC Token on
Token
.
- Add support for passing
- #1217 Add support for passing
Bank
for P24 onPaymentIntent
orPaymentMethod
- #1215 Add missing constants for existing types on
PaymentMethod
- #1216 Support passing
TaxRates
when creating invoice items throughSubscription
orSubscriptionSchedule
- #1214 Put a
Deprecated
notice onTotalCount
- #1212 Add
TaxIDTypeJPRN
andTaxIDTypeRUKPP
onTaxId
- #1210 Add support for
Discounts
toCheckoutSessionParams
- #1208 Add support for the Payout Reverse API
- #1207 Add support for
Description
,IIN
andIssuer
onCharge
forCardPresent
and `InteracPresent
- #1206 Add support for
Mandate
inChargePaymentMethodDetailsSepaDebit
- #1203 Bugfix: Balance.InstantAvailable should be of type Amount
- #1199 Support sepa_debit for bancontact, ideal, sofort
- #1200 Handle randomness error when generating idempotency keys
- #1195 Add support for new payments capabilities on
Account
- #1194 Add support for the
SetupAttempt
resource and List API
- #1192 Add support for OXXO Payments capability on
Account
- #1190 Add support for BalanceTransactionTypeContribution
on
BalanceTransaction` - #1183 Add support for OXXO on
PaymentIntent
andPaymentMethod
- #1189 When not retrying a request, log reason at info level
- #1187 Don't retry requests on context cancellation + a few other errors
- #1188 Add support for
InstantAvailable
onBalance
- #1182 Add
Metadata
onWebhookEndpoint
- #1180 Add support for Sofort on
PaymentMethod
andPaymentIntent
- #1178 Fix the constant names for
BankAccountAvailablePayoutMethod
- #1177 Add support for
AvailablePayoutMethods
onBankAccount
- #1176 Add support for
PaymentStatus
on CheckoutSession
- #1174 Add support for the Issuing Dispute APIs
- #1170 Multiple API changes
- Move to latest API version
2020-08-27
- Remove
Prorate
across Billing APIs in favor ofProrationBehavior
- Remove
TaxPercent
across Billing APIs in favor ofTaxRate
-related parameters and properties - Remove
DisplayItems
on CheckoutSession
in favor ofLineItems
- Remove
FailureURL
andSuccessURL
onAccountLink
in favor ofRefreshURL
andReturnURL
- Remove
AccountLinkTypeCustomAccountUpdate
andAccountLinkTypeCustomAccountVerification
onAccountLink
in favor ofAccountLinkTypeAccountOnboarding
andAccountLinkTypeAccountUpdate
- Remove
Authenticated
andSucceeded
onChargePaymentMethodDetailsCardThreeDSecure
- Remove
Plan
,Quantity
,TaxPercent
andTrialEnd
fromCustomer
creation or update in favor of the Subscription API - Rename
Plans
toItems
onSubscriptionSchedule
- Move to latest API version
- #1171 Remove multiple deprecated APIs
- Remove support for the
Recipient
API - Remove support for the
RecipientTransfer
API - Remove support for the
BitcoinReceiver
API - Remove support for the
ThreeDSecure
API which has been replaced by PaymentIntent and PaymentMethod - Remove support for the
ExchangeRate
API which has never shipped publicly and is being reworked
- Remove support for the
- #1172 Properly remove ThreeDSecure class entirely
- #1173 Remove deprecated parameters
SavePaymentMethod
andSource
onPaymentIntent
- #1153 Add support for
ServiceAgreement
inAccountTOSAcceptance
onAccount
- #1165 Add support for
ExpiresAt
onFile
- #1163 Add support for
AmountDetails
on IssuingAuthorization
andTransaction
- #1160 Add support for
BankName
onChargePaymentMethodDetailsAcssDebit
- #1156 Re-enable HTTP/2 on the default HTTP client for Go 1.15+
- #1148 Make original list object accessible on iterators
- This change is technically breaking in that an exported type,
stripe.Query
, changes fromtype Query func(*Params, *form.Values) ([]interface{}, ListMeta, error)
totype Query func(*Params, *form.Values) ([]interface{}, ListContainer, error)
. We've opted to ship this as a minor version anyway because although exported,Query
is meant for internal use in other stripe-go packages and the vast majority of users are unlikely to be referencing it. If you are, please refer to the diff in stripe#1148 for how to update callsites accordingly. If you think there is a major use ofQuery
that we've likely overlooked, please open an issue.
- This change is technically breaking in that an exported type,
- #1154 Add support for Alipay on
PaymentMethod
andPaymentIntent
- #1150 Add support for the PromotionCode resource and APIs
- #1152 Add support for
AccountType
inChargePaymentMethodDetailsCardPresentReceipt
- #1136 Add support for multiple coupons on Billing APIs
- Add support for arrays of expandable API resources otherwise returning an array of strings by default
- Add custom deserialization to
Discount
to support expansion of the object - Add support for
Id
,Invoice
andInvoiceItem
onDiscount
. - Add support for
Discounts
onInvoice
,InvoiceItem
andInvoiceLineItem
- Add support for
DiscountAmounts
onCreditNote
,CreditNoteLineItem
,InvoiceLineItem
- Add support for
TotalDiscountAmounts
onInvoice
- Add
Object
toInvoice
,InvoiceLine
,Discount
andCoupon
- #1142 Bug fix: Copy the JSON data of ephemeral keys to own buffer
- #1145 Fix
ApplicationFeePercent
onSubscriptionSchedule
to support floats
- #1144 Add support for
FPXPayments
as a property onAccountCapabilities
- #1143 Add support for
FPXPayments
as aCapability
onAccount
create and update
- #1140 Add support for
CartesBancairesPayments
as aCapability
- #1138 Add support for
Capabilities
onAccount
create and update
- #1137 Add support for
Title
on SigmaScheduledQueryRun
- #1135 Add support for
PoliticalExposure
onPerson
- #1132 Add support for
AmountTotal
,AmountSubtotal
,Currency
andTotalDetails
on CheckoutSession
- #1131 Add
billing_cycle_anchor
todefault_settings
andphases
forSubscriptionSchedules
- #1127 Add
FilePurposeDocumentProviderIdentityDocument
onFile
- #1126 Add support for
Discounts
onLineItem
- #1124 Add support for
RefreshURL
andReturnURL
onAccountLink
- #1090 Add support for
PaymentMethodData
onPaymentIntent
- #1123 Attach LastResponse after unmarshaling
- #1122 Add support for
Transaction
on IssuingDispute
- #1121 Add
Mandate
,InstitutionNumber
andTransitNumber
toChargePaymentMethodDetailsAcssDebit
- #1120 Add support for Cartes Bancaires payments on
PaymentIntent
andPaymentMethod
- #1119 Add support for
TaxIDTypeIDNPWP
andTaxIDTypeMYFRP
onTaxId
- #1118 Add missing information for BACS Debit in
PaymentMethod
- #1117 Add
PaymentMethodIdealParams
toPaymentMethodParams
- #1116 Clean up the error deserialization and ensure
DeclineCode
is properly set.
- #1113 Add support for
TransferGroup
on CheckoutSession
- #1110 Add support for reading SEPA and BACS debit settings on
Account
- #1111 Add support for Bancontact, EPS, Giropay and P24 on
PaymentMethod
- #1112 Add support for BACS Debit as a
Capability
onAccount
- #1109 Add support for BACS Debit as a
PaymentMethod
- #1108 Add
Metadata
andObject
onTopup
- #1106 Add support for
ProductData
onLineItems
for CheckoutSession
- #1105 Add
AuthenticationFlow
toChargePaymentMethodDetailsCardThreeDSecure
- #1104 Add support for
TaxIDTypeAETRN
,TaxIDTypeCLTIN
andTaxIDTypeSAVAT
onTaxId
- #1103 Add support for
Result
andResultReason
onChargePaymentMethodDetailsCardThreeDSecure
- #1101 Multiple API Changes
- Add
BalanceTransactionTypeAnticipationRepayment
as aType
onBalanceTransaction
- Add
PaymentMethodTypeInteracPresent
as aType
onPaymentMethod
- Add
ChargePaymentMethodDetailsInteracPresent
onCharge
- Add
TransferData
onSubscriptionSchedule
- Add
- #1099 Multiple API changes
- Add
issuing_dispute
as atype
onBalanceTransaction
- Add
BalanceTransactions
as a a list ofBalanceTransaction
on IssuingDispute
- Add
Fingerprint
andTransactionId
inChargePaymentMethodDetailsAlipay
onCharge
- Add
Amount
inInvoiceTransferData
andInvoiceTransferDataParams
onInvoice
- Add
AmountPercent
inSubscriptionTransferData
andSubscriptionTransferDataParams
onSubscription
- Add
- #1097 Fixing
LineItems
to beLineItemList
on CheckoutSession
- #1096 Add support for
PurchaseDetails
on IssuingTransaction
- #1091 Add support for the
LineItem
resource and APIs
- #1093 Add support for
Metadata
forPaymentIntentData
andSubscriptionData
on CheckoutSession
- #1095 Add
SupportAddress
inBusinessProfile
onAccount
creation and update - #1094 Fix parameters supported in
Recurring
forPriceData
across the API
- #1089 Add support for
Issuing
inBalance
- #1087 Add support for Brazilian tax ids on
TaxID
- #1085 Add
Object
onBankAccount
- #1065 Adding support for the
Price
resource and APIs
- #1083 Add support for
JCBPayments
andCardIssuing
as aCapability
- #1082 Add support for expandable
CVC
andNumber
on IssuingCard
- #1080 Remove spurious newline in logs
- #1079 Add support for
Coupon
when for subscriptions on Checkout
- #1078 Add missing error codes such as
ErrorCodeCardDeclinedRateLimitExceeded
- #1063 Add support for the
BillingPortal
namespace and theSession
API and resource
- #1076 Add
Deleted
onInvoice
- #1074 Add
CardholderName
toChargePaymentMethodDetailsCardPresent
onCharge
- #1075 Add new enum values for
AccountCompanyStructure
onAccount
Version 71 of stripe-go contains some major changes. Many of them are breaking, but only in minor ways. We've written a migration guide with more details to help with the upgrade.
- #1052 Remove all beta features from Issuing APIs
- #1054 Make API response accessible on returned API structs
- #1061 Start using Go Modules
- #1068 Multiple breaking API changes
PaymentIntent
is now expandable onCharge
Percentage
was removed as a filter when listingTaxRate
- Removed
RenewalInterval
onSubscriptionSchedule
- Removed
Country
andRoutingNumber
fromChargePaymentMethodDetailsAcssDebit
- #1069 Default number of network retries to 2
- #1070 Clean up logging for next major
- #1066 Add support for
SecondaryColor
onAccount
- #1062 Add
Description
onWebhookEndpoint
- #1060 Add support for
CancellationReason
on IssuingCard
- #1058 Add support for
TaxIDTypeSGGST
onTaxId
- #1057 Add missing properties on
Review
- #1056 Add
CalculatedStatementDescriptor
onCharge
- #1053 Add
AccountCapabilityCardIssuing
as aCapability
- #1050 Multiple API changes for Issuing
- Add support for
SpendingControls
onCard
andCardholder
- Add new values for
Reason
onAuthorization
- Add new value for
Type
onCardholder
- Add new value for
Service
onCard
- Mark many classes and other fields as deprecated for the next major
- Add support for
- #1049 Add support for
PauseCollection
onSubscription
- #1048 Add new capabilities for AU Becs Debit and tax reporting
- #1046 Add new fields to Issuing
Card
andAuthorization
- #1044 Multiple changes for Issuing APIs
- Rename
Speed
toService
on IssuingCard
- Rename
WalletProvider
toWallet
andAddressZipCheck
toAddressPostalCodeCheck
on IssuingAuthorization
- Mark
IsDefault
as deprecated on IssuingCardholder
- Rename
- #1043 Add support for
Shipping
andShippingAddressCollection
on CheckoutSession
- #1042 Add support for
ThreeDSecure
on IssuingAuthorization
- #1041 Add new reason values and
ExpiryCheck
for Issuing `authorization
- #1040 Add support for
Errors
inRequirements
onAccount
,Capability
andPerson
- #1039 Multiple API changes:
- Move to latest API version
2020-03-02
- Add support for
NextInvoiceSequence
onCustomer
- Move to latest API version
- #1038 Add
TaxIDTypeMYSST
forTaxId
- #1037 Add new enum values for
IssuingDisputeReason
- #1036 Add support for listing Checkout
Session
and passing tax rate information
- #1035 Add support for
ProrationBehavior
onSubscriptionSchedule
- #1034 Add support for
Timezone
onReportRun
- #1033 Make
Subscription
expandable onInvoice
- #1029 Add support for
Amount
inCheckoutSessionPaymentIntentDataTransferDataParams
- #1027 Add new constants for
TaxIDType
- #1028 Add support for
StatementDescriptorSuffix
on CheckoutSession
- #1026 Multiple changes on the
Balance
resource:- Add support for
ConnectReserved
- Add support for
SourceTypes
for a given type of balance. - Add support for FPX balance as a constant.
- Add support for
- #1024 Add
FilePurposeAdditionalVerification
andFilePurposeBusinessIcon
onFile
- #1018 Add support for
ErrorOnRequiresAction
onPaymentIntent
- #1023 Add support for
TaxIDTypeTHVAT
andTaxIDTypeTWVAT
onTaxId
- #1022 Add support for
Structure
onAccount
- #1021 Add support for
TaxIDTypeESCIF
onTaxId
- #1019 Add support for
Shipping.Speed
andShipping.TrackingURL
onIssuingCard
- #1017 Add new values for
TaxIDType
and fixTaxIDTypeCHVAT
- #1015 Replace duplicate code in GetBackend method
- #1014 Add
Metadata
support on CheckoutSession
- #1012 Adds
PendingUpdate
toSubscription
- #1013 Add support for
CreditNoteLineItem
- #1011 Add support for
InvoiceItem
and fixLivemode
onInvoiceLine
- #1008 Add
ReportingCategory
toBalanceTransaction
- #1009 Add constant for
TaxIDTypeSGUEN
onTaxId
- #1007 Add support for
SpendingLimitsCurrency
on IssuingCard
andCardholder
- #1006 Adds
ExecutivesProvided
toAccount
- #1005 Add
Metadata
andLivemode
to TerminalReader
and `Location'
- #1002 Add support for AU BECS Debit on PaymentMethod
- #1001 Add support for
Network
onCharge
- #1000 Multiple breaking changes:
- Pin to API version
2019-12-03
- Rename
InvoiceBillingStatus
toInvoiceStatus
for consistency - Remove typo-ed field
OutOfBankdAmount
onCreditNote
- Remove deprecated
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
andSetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
fromPaymentIntent
andSetupIntent
. - Remove
OperatorAccount
onTerminalLocationListParams
- Pin to API version
- #999 Add support for
Status
filter when listingInvoice
s.
- #997 Add new refund reason
RefundReasonExpiredUncapturedCharge
- #998 Add support for
CreditNote
preview
- #994 Support for the
now
onStartDate
on Subscription Schedule creation
- #993 Add
PaymentIntent
filter when listingDispute
s
- #991 Add missing constant for PaymentMethod of type FPX
- #989 Add support for
ViolatedAuthorizationControls
on IssuingAuthorization
- #988 Add
Company
andIndividual
to IssuingCardholder
- #985 Multiple API changes
- Add
Disputed
toCharge
- Add
PaymentIntent
toRefund
andDispute
- Add
Charge
toDisputeListParams
- Add
PaymentIntent
toRefundListParams
andRefundParams
- Add
- #986 Add support for iDEAL and SEPA debit on
PaymentMethod
- #987 Move to the latest API version and add new changes
- Move to API version
2019-11-05
- Add
DefaultSettings
onSubscritionSchedule
- Remove
BillingThresholds
,CollectionMethod
,DefaultPaymentMethod
andDefaultSource
andinvoice_settings
fromSubscriptionSchedule
OffSession
onPaymentIntent
is now always a boolean
- Move to API version
- #984 Add support for
UseStripeSDK
onPaymentIntent
create and confirm
- #978 Properly pass
Type
inPaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams
- Note that this is technically a breaking change, however we've chosen to release it as a patch version as this shipped yesterday and is a new feature
- #977 Contributor Convenant
- #974 Add support for installments on
PaymentIntent
andCharge
- #975 Add support for
PendingInvoiceItemInterval
onSubscription
- #976 Add
TaxIDTypeMXRFC
constant toTaxIDType
- #973 Multiple breaking changes
- Pin to the latest API version
2019-10-17
- Remove
RenewalBehavior
onSubscriptionSchedule
- Remove
RenewalBehavior
andRenewalInterval
as parameters onSubscriptionSchedule
- Pin to the latest API version
- #972 Various API changes
Requirements
on IssuingCardholder
PaymentMethodDetails.AuBecsDebit.Mandate
onCharge
PaymentBehavior
onSubscription
creation can now take the valuepending_if_incomplete
PaymentBehavior
onSubscriptionItem
creation is now supportedSubscriptionData.TrialFromPlan
is now supported on CheckoutSession
creation- New values for
TaxIDType
- #970 Properly deserialize
Fulfilled
onStatusTransitions
in theorder
package
- #969 Add
DeviceType
filter when listing TerminalReader
s
- #951 Move to API version
2019-10-08
and other changes- #950 Remove lossy "MarshalJSON" implementations
- #962 Removed deprecated properties and most todos
- Removed
GetBalanceTransaction
andList
from thebalance
package. Prefer usingGet
andList
in thebalancetransaction
package. - Removed
ApplicationFee
from thecharge
andpaymentintent
packages. Prefer usingApplicationFeeAmount
. - Removed
TaxInfo
and related fields from thecustomer
packager. Prefer using thecustomertaxid
package. - Removed unsupported
Customer
parameter onPaymentMethodParams
andPaymentMethodDetachParams
in thepaymentmethod
package. - Removed
Billing
properties in theinvoice
,sub
andsubschedule
packages. Prefer usingCollectionMethod
. - Removed the
InvoiceBilling
type from theinvoice
package. Prefer usingInvoiceCollectionMethod
. - Removed the
SubscriptionBilling
type from thesub
package. Prefer usingSubscriptionCollectionMethod
. - Removed deprecated constants for
PaymentIntentConfirmationMethod
inpaymentintent
package. - Removed
OperatorAccount
from Terminal APIs.
- Removed
- #960 Remove
issuerfraudrecord
package. Prefer usingearlyfraudwarning
- #968 Rename
AccountOpener
toRepresentative
and update to latest API version
- #967 Add
Get
method toOrderReturn
#968 Update to latest API version2019-10-08
- Note: This release is actually a no-op as we failed to merge the changes. Please use 65.0.0 instead.
- #952 Add AU BECS Debit Support
- #964 Add support for
Status
andLocation
filters when listingReader
s
- #963 Update
SourceSourceOrder
Items
field to fix unmarshalling errors
- #961 Properly tag
Customer
as deprecated inPaymentMethodDetachParams
- #954 Add support for
Stripe-Should-Retry
header
- #949 Add support for
DeclineCode
onError
top-level
- #947 Bump API version to
2019-09-09
- #945 Changes to
Account
andPerson
to represent identity verification state
- #943 Add support for
Authentication
andURL
on IssuingAuthorization
- #939 Also log error in case of non-
stripe.Error
- #938 Rearrange error logging so that 402 doesn't log an error
- #937 Add support for
EndBehavior
onSubscriptionSchedule
- #935 Retry requests on a 429 that's a lock timeout
- #934 Add support for
SubscriptionBillingCycleAnchorNow
andSubscriptionBillingCycleAnchorUnchanged
onInvoice
- #933 Add
PendingVerification
onAccount
,Person
andCapability
- #930 Add
FailureReason
toRefund
- #926 Add support for decimal amounts on Billing resources
- #928 Bring retry code in-line with current best practices
- #922 A few Billing changes
- Add
Schedule
toSubscription
- Add missing parameters for the Upcoming Invoice API:
Schedule
,SubscriptionCancelAt
,SubscriptionCancelNow
- Add missing properties and parameters for a
SubscriptionSchedule
phase:BillingThresholds
,CollectionMethod
,DefaultPaymentMethod
,InvoiceSettings
- Add
- #923 Add support for
Mode
on CheckoutSession
- #921 Mark
Customer
as an invalid parameter on PaymentMethod creation
- #918 Fix
RadarEarlyFraudWarnings
to use the proper API endpoint
- #916
- Add support for
PIN
on IssuingCard
to reflect the status of a card's PIN - Add support for
Executive
on Person create, update and list
- Add support for
- #915 Move to API version
2019-08-14
and other changes- Pin to API version
2019-08-14
- Rename
AccountCapabilityPlatformPayments
toAccountCapabilityTransfers
- Add
Executive
inPersonRelationship
- Remove
PayentMethodOptions
as there was a typo which was fixed - Make
OffSession
only support booleans onPaymentIntent
- Remove
PaymentIntentLastPaymentError
and useError
instead - Move
DeclineCode
onError
to theDeclineCode
type instead ofstring
- Pin to API version
- #914 Update webhook handler example to use
http.MaxBytesReader
- #913 Remove
SubscriptionScheduleRevision
- Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.
- #911
- Add support for
PaymentMethodDetails.Card.Moto
onCharge
- Add support
StatementDescriptorSuffix
onCharge
andPaymentIntent
- Add support
SubscriptionData.ApplicationFeePercent
on CheckoutSession
- Add support for
- #910 Add
balancetransaction
package with aGet
andList
methods
- #906 Add decline code type and constants (for use with card errors)
- #879 Add support for OAuth API endpoints
- #909 Rename
PayentMethodOptions
toPaymentMethodOptions
onPaymentIntent
andSetupIntent
. Keep the old name until the next major version for backwards-compatibility
- #904 Add support for Klarna and source orders
- #897 Add all missing error codes
- #903 Disable HTTP/2 by default (until underlying bug in Go's implementation is fixed)
- #905 Add missing
Authenticated
field for 3DS charges
- #902 Add support for
StatementDescriptor
when capturing aPaymentIntent
- #898 Add
Customer
filter when listingCreditNote
- #899 Add
OffSession
parameter when updatingSubscriptionItem
- #895 Add
VoidedAt
onCreditNote
- #894 Introduce encoding for high precision decimal fields
- #893
- Add support for
PaymentMethodOptions
onPaymentIntent
andSetupIntent
- Add missing parameters to
PaymentIntentConfirmParams
- Add support for
- #891 Various changes relaed to SCA for Billing
- Add support for
PendingSetupIntent
onSubscription
- Add support for
PaymentBehavior
onSubscription
creation and update - Add support for
PaymentBehavior
onSubscriptionItem
update - Add support for
OffSession
when paying anInvoice
- Add support for
OffSession
onSubscription
creation and update
- Add support for
- #888 Add support for
SetupFutureUsage
onPaymentIntent
update and confirm - #890 Add support for
SetupFutureUsage
on CheckoutSession
- #887 Allow
OffSession
to be a bool onPaymentIntent
creation and confirmation
- #886 Add
CardVerificationUnavailable
constant value
- #884 Add support for the
SetupIntent
resource and APIs - #885 Quick fix to the
NextAction
property onSetupIntent
- #882 Add
DefaultPaymentMethod
andDefaultSource
toSubscriptionSchedule
- Note: This release was deleted after we merged some bad code. Please use 61.9.0 instead.
- #881 Documentation fixes
- #880
- Add support for
CollectionMethod
onInvoice
,Subscription
andSubscriptionSchedule
- Add support for
UnifiedProration
onInvoiceLine
- Add support for
- #878 Enable request latency telemetry by default
- #877 Add
CancellationReason
toPaymentIntent
- #874 Log only to info on 402 errors from Stripe
- #870 Add support for
MerchantAmount
MerchantCurrency
to IssuingTransaction
- #871 Add support for
SubmitType
to CheckoutSession
- #867 Add support for
Location
on TerminalConnectionToken
- #868 Add support for
Balance
and deprecateAccountBalance
on Customer
- #865 Fix
earlyfraudwarning
client
- #864 Pin library to API version
2019-05-16
- #862 Add support for
radar.early_fraud_warning
resource
- #861 Add new tax ID types:
TaxIDTypeINGST
andTaxIDTypeNOVAT
- #860 Add
OffSession
parameter to payment intents
- #859 Add missing
InvoiceSettings
toCustomer
- #855 Add support for the capability resource and APIs
- #858 Add
StartDate
toSubscription
- #857 Fix invoice's
PaymentIntent
so its JSON tag uses API snakecase
- #853 Add paymentmethod package to the clients list
- #850
OperatorAccount
is now deprecated across all Terminal endpoints - #851 Add
Customer
on theSource
object
- #843 Lock mutex while in
SetBackends
- #848 Fix
Items
onCheckoutSessionSubscriptionDataParams
to be a slice
- #846 Add support for the
PaymentIntent
filter onChargeListParams
- #841 Add support for the
Customer
filter onPaymentIntentListParams
- #842 Add support for replacing another Issuing
Card
on creation
- #839 Add support for ACSS Debit in
PaymentMethodDetails
onCharge
- #840 Add support for
FileLinkData
onFile
creation
- #828 Add support for the
TaxRate
resource and APIs
- #834 Add support for the
TaxId
resource and APIs
- #823 Add support for the
CreditNote
resource and APIs - #829 Add support for
Address
,Name
,Phone
andPreferredLocales
onCustomer
and related fields onInvoice
- #837 Add helpers to go from
[]T
to[]*T
forstring
,int64
,float64
,bool
- #836 Fix
SpendingLimits
onAuthorizationControlsParams
andAuthorizationControls
to be a slice on IssuingCard
andCardholder
- #740 Add support for the Checkout
Session
resource and APIs - #832 Add support for
version
andsucceeded
properties in thepayment_method_details[card][three_d_secure]
hash forCharge
. - #835 Add support for passing
payment_method
onCustomer
creation
- #833 Add more context when failing to unmarshal JSON
- #831 Add support for
authorization_controls
onCardholder
andauthorization_controls[spending_limits]
added toCard
too for Issuing resources
- #827 Add support for
confirmation_method
onPaymentIntent
creation
- #824 Add support for
PaymentIntent
andPaymentMethod
onCustomer
,Subscription
andInvoice
.
- #825 Fix the API for usage record summary listing
- #820 Add various missing parameters
- On
PIIParams
the previousPersonalIDNumber
is fixed toIDNumber
which we're releasing as a minor breaking change even though the old version probably didn't work correctly
- On
- #819 Add default level prefixes in messages from
LeveledLogger
- #818 Implement leveled logging (very minor breaking change -- only a couple properties were removed from the internal
BackendImplementation
)
- #815 Add support for passing token on account or person creation
- #811 Add support for API version 2019-03-14
- #814 Properly override API version if it's set in the request
- #806 Add support for the
PaymentMethod
resource and APIs - #812 Add support for deleting a Terminal
Location
andReader
- #810 Add support for
columns
onReportRun
anddefault_columns
onReportType
.
- #808 Add support for
backdate_start_date
andcancel_at
onSubscription
.
- #807 Add support for
current_period_end
andcurrent_period_start
filters when listingInvoice
.
- #798 Properly support serialization of
Event
.
- #803 Add support for
api_version
onWebhookEndpoint
.
- #795 Add support for
created
andstatus_transitions
onInvoice
- #802 Add support for
latest_invoice
onSubscription
- #800 Add
UsageRecordSummaries
to the list of clients.
- #796 Correct
InvoiceItems
inInvoiceParams
to be a slice of structs instead of a struct (this is technically a breaking change, but the previous implementation was non-functional, so we're releasing it as a minor version)
- #794 Properly pin to API version
2019-02-19
. The previous major version incorrectly stayed on API version2019-02-11
which prevented requests to manage Connected accounts from working and charges to have the new statement descriptor behavior.
Important: This version is non-functional and has been yanked in favor of 57.0.1.
- #782 Changes related to the new API version
2019-02-19
:- The library is now pinned to API version
2019-02-19
- Numerous changes to the
Account
resource and APIs:- The
legal_entity
property on the Account API resource has been replaced withindividual
,company
, andbusiness_type
- The
verification
hash has been replaced with arequirements
hash - Multiple top-level properties were moved to the
settings
hash - The
keys
property onAccount
has been removed. Platforms should authenticate as their connected accounts with their own key via theStripe-Account
header
- The
- The
requested_capabilities
property onAccount
creation is now required for accounts in the US - The deprecated parameter
save_source_to_customer
onPaymentIntent
has now been removed. Usesave_payment_method
instead
- The library is now pinned to API version
- #737 Add support for setting
request_capabilities
and retrievingcapabilities
onAccount
- #793 Add support for
save_payment_method
onPaymentIntent
- #785 Changes to the Payment Intent APIs for the next API version
- #789 Allow API arrays to be emptied by setting an empty array
- #764 Add support for
transfer_data[destination]
onInvoice
andSubscription
- #784
- Add support for
SubscriptionSchedule
andSubscriptionScheduleRevision
- Add support for
payment_method_types
onPaymentIntent
- Add support for
- #787 Add support for
transfer_data[amount]
onCharge
- #765 Add support for
destination_payment_refund
andsource_refund
on theReversal
resource
- #779 Add support for
receipt_url
onCharge
- #766 Add optional support for sending request telemetry to Stripe
- #776 Add support for billing thresholds
- #769 Add field
Amount
toIssuingTransaction
- #763 Add
application_fee_amount
toCharge
and on charge create and capture params
- #738 Add support for the account link resource
- #762 Add support for new invoice items parameters when retrieving an upcoming invoice
- #744 Add support for
transfer_data[destination]
on Charge struct and params - #746 Add support for
wallet_provider
on the Issuing Authorization
- #745 Add support for
pending
parameter when listing invoice items
- #742 Add field
FraudType
toIssuerFraudRecord
- #741 Add missing parameters
InvoiceNow
andProrate
for subscription cancellation
- #743 Add support for
clear_usage
onSubscriptionItem
deletion
- #739 Use
ApplicationFee
struct forFeeRefund.Fee
(minor breaking change)
- #734 Put
/v1/
prefix as part of all paths instead of URL
- #733 Fix malformed URL generated for the uploads API when using
NewBackends
- #721 Add support for
RadarValueList
andRadarValueListItem
- #721 Remove
Closed
andForgiven
fromInvoiceParams
- #721 Add
PaidOutOfBand
toInvoicePayParams
- #728 Add
IssuingCard
toEphemeralKeyParams
- #727 Add support for
TransferData
on payment intent create and update
- #725 Improved error deserialization
- #723 Add support for
last_payment_error
onPaymentIntent
. - #724 Add support for
transfer_data[destination]
onPaymentIntent
.
- #714 Fix bug in retry logic that would cause the client to panic
- #716 Drop support for Go 1.8.
- #715 Ship changes to the
PaymentIntent
resource to match the final layout. - #717 Add support for
flat_amount
onPlan
tiers. - #718 Add support for
supported_transfer_countries
onCountrySpec
. - #720 Add support for
review
onPaymentIntent
. - #707 Add new invoice methods and fixes to the Issuing Cardholder resource (multiple breaking changes)
- Move to API version 2018-11-08.
- Add support for new API methods, properties and parameters for
Invoice
. - Add support for
default_source
onSubscription
andInvoice
.
- #711 Set
Request.GetBody
when making requests - #711 Drop support for Go 1.7 (hasn't been supported by Go core since the release of Go 1.9 in August 2017)
- #708 Add Stripe Terminal endpoints to master to
client.API
- #704 Add support for
subscription_cancel_at_period_end
on the Upcoming Invoice API.
- #702 Add support for
delivery_success
filter when listing Events.
- #700 Add support for
on_behalf_of
on Subscription and Charge resources.
- #698 Move to API version 2018-09-24
- Rename
FileUpload
toFile
(and allFileUpload*
structs toFile*
) - Fix file links client
- Rename
- #695 Rename
Transaction
toDisputedTransaction
inIssuingDisputeParams
(minor breaking change) - #695 Add support for Stripe Terminal
- #697 Fix
number
JSON tag on theIssuingCardDetails
resource.
- #694 Add
ErrorCodeResourceMissing
error code constant
- #693 Change
Product
underPlan
from a string to a fullProduct
struct pointer (this is a minor breaking change -- upgrade by changing toplan.Product.ID
)
- #691 Add
InvoicePrefix
toCustomer
andCustomerParams
- #690 Add support for reporting resources
- #683 Add
StatusTransitions
filter parameters toOrderListParams
- #681 Handle deserialization of
OrderItem
parent into an object if expanded (minor breaking change)
- New major version for better compatibility with Go's new module system (no breaking changes)
- #688 Encode
Params
inAppendToAsSourceOrExternalAccount
(bug fix) - #689 Add
go.mod
for the new module system
- #686 Add
Mandate
andReceiver
toSourceObjectParams
and changeDate
onSourceMandateAcceptance
toint64
(minor breaking change)
- #680 Change
SubscriptionTaxPercent
onInvoice
fromint64
tofloat64
(minor breaking change)
- #678 Allow payment intent capture to take its own parameters
- #675 Fix incorrectly encoded parameter in
UsageRecordSummaryListParams
- #668 Move to API version 2018-08-23
- Add
TaxInfo
andTaxInfoVerification
toCustomer
- Rename
Amount
toUnitAmount
onPlanTierParams
- Remove
BusinessVATID
fromCustomer
- Remove
AtPeriodEnd
fromSubscriptionCancelParams
- Add
- #667 Add
Forgive
toInvoicePayParams
- #666 Add
Subscription
toSubscriptionItem
- #664 Add
AvailablePayoutMethods
toCard
- #663 Add support for usage record summaries and rename
Live
onIssuerFraudRecord,
SourceTransaction, and
UsageRecordto
Livemode` (a minor breaking change)
- #659 Remove mutating Bitcoin receiver API calls (these were no longer functional anyway)
- #661 Correct
IssuingCardShipping
's type toint64
- #662 Rename
IssuingCardShipping
'sEta
toETA
- #657 Use integer-indexed encoding for all arrays
- #656 Expose new
ValidatePayload
functions for validating incoming payloads without constructing an event
- #652 Change the type of
FileUpload.Links
toFileLinkList
(this is a bug fix given that the previous type would never have worked)
- #653 All
BackendImplementation
s should sleep by default on retries
- #648 Introduce buffers so a request's body can be read multiple times (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users)
- #649 Rename
BackendConfiguration
toBackendImplementation
(likewise, technically breaking, but minor) - #650 Export
webhook.ComputeSignature
- #646 Set request body before every retry (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users)
- #643 Bug fix and various code/logging improvements to retry code
- #641 Minor breaking changes to correct a few naming inconsistencies:
IdentityVerificationDetailsCodeScanIdCountryNotSupported
becomesIdentityVerificationDetailsCodeScanIDCountryNotSupported
IdentityVerificationDetailsCodeScanIdTypeNotSupported
becomesIdentityVerificationDetailsCodeScanIDTypeNotSupported
BitcoinUri
onBitcoinReceiver
becomesBitcoinURI
NetworkId
onIssuingAuthorization
becomesNetworkID
- #637 Add support for Sigma scheduled query runs
- #639 Move to API version
2018-07-27
(breaking)- Remove
SKUs
fromProduct
- Subscription creation and update can no longer take a source
- Change
PercentOff
on coupon struct and params from integer to float
- Remove
- #640 Add missing field
Created
toAccount
- #636 Add
RiskScore
toChargeOutcome
- #635 Add support for Stripe Issuing
- #633 Fix encoding of list params for bank accounts and cards
- #627 Wire an
http.Client
fromNewBackends
through to backends
- #624 Add
AutoAdvance
forInvoice
- #606 Add support for payment intents
- #623 Changed
Payout.Destination
fromstring
to*PayoutDestination
to support expanding (minor breaking change)
- #622 Correct position of
DeclineChargeOn
(it was added accidentally onLegalEntityParams
when it should have been onAccountParams
)
- #620 Add support for
Quantity
andUnitAmount
toInvoiceItemParams
andQuantity
toInvoiceItem
- #618 Add support for
DeclineChargeOn
toAccount
andAccountParams
- #616 Adding missing clients to the
API
struct including aUsageRecords
entry
- #611 Introduce
GetBackendWithConfig
and make logging configurable per backend
- #607 Add support for
PartnerID
fromstripe.SetAppInfo
- #604 Add extra parameters
CustomerReference
andShippingFromZip
toChargeLevel3Params
andChargeLevel3
- #603 Add support for Level III data on charge creation
- #601 Add missing parameters for retrieving an upcoming invoice
- #599 Add
ExchangeRate
toBalanceTransaction
- #596 Add
Type
toProductListParams
so that products can be listed by type
- #595 Add
Product
toPlanListParams
so that plans can be listed by product
- #592 Add
Name
field toCoupon
andCouponParams
- #557 Add automatic retries for intermittent errors (enabling using
BackendConfiguration.SetMaxNetworkRetries
) - #589 Fix all
Get
methods to support standardized parameter structs + remove some deprecated functionsIssuerFraudRecordListParams
now uses*string
forCharge
(set it usingstripe.String
like elsewhere)event.Get
now takesstripe.EventParams
instead ofParams
for consistency- The
Get
method forcountryspec
,exchangerate
,issuerfraudrecord
now take an extra params struct parameter to be consistent and allow setting a connected account (usestripe.CountrySpecParams
,stripe.ExchangeRateParams
, andIssuerFraudRecordParams
) charge.MarkFraudulent
andcharge.MarkSafe
have been removed; usecharge.Update
insteadcharge.CloseDispute
andcharge.UpdateDispute
have been removed; usedispute.Update
ordispute.Close
insteadloginlink.New
now properly passes its params struct into its API call
- #587 Use
net/http
constants instead of string literals for HTTP verbs (this is an internal cleanup and should not affect library behavior)
- #581 Push parameter encoding into
BackendConfiguration.Call
(this is an internal cleanup and should not affect library behavior)
- #586 Add
AmountPaid
,AmountRemaining
,BillingReason
(including newInvoiceBillingReason
and constants), andSubscriptionProrationDate
toInvoice
- #585 Remove
File
in favor ofFileUpload
, and consolidating both classes which were already nearly identical exceptMIMEType
has been replaced byType
(this is technically a breaking change, but quite a small one)
- #578 Improve expansion parsing by not discarding unmarshal errors
- #583 Add new account constants, rename one, and fix
DueBy
(this is technically a breaking change, but quite a small one)
- #582 Fix unmarshaling of
LegalEntity
(specifically when we havelegal_entity[additional_owners][][verification]
) so that it comes out as a struct
- #577 Add
DocumentBack
to account legal entity identity verification parameters and response
- #576 Fix plan transform usage to use
BucketSize
instead ofDivideBy
; note this is technically a breaking API change, but we've released it as a minor because the previous manifestation didn't work
- #571 Add
HostedInvoiceURL
andInvoicePDF
toInvoice
- #573 Add
FormatURLPath
helper to allow safer URL path building
- #572 Add
Active
to plan parameters and response
- #569 Fix unmarshaling of expanded transaction sources in balance transactions
- #544 MAJOR changes that make all fields on parameter structs pointers, and rename many fields on parameter and response structs to be consistent with naming in the REST API; we've written a migration guide with complete details to help with the upgrade
- #566 Support
DisputeParams
indispute.Close
- #562 Add
go.mod
for vgo support
- #558 Add
SubscriptionItem
toInvoiceLine
- #552 Add support for issuer fraud records
- #550 Append standard
Params
as well as card options when encodingCardParams
- #546 Add
SubParams.TrialFromPlan
andSubItemsParams.ClearUsage
- #543 Support listing orders by customer (add
Customer
toOrderListParams
)
- #541 Add
Mandate
onSource
(and associated mandate structs)
- #538 Introduce flexible billing primitives for subscriptions
- #535 Add constant for redirect status
not_required
(RedirectFlowStatusNotRequired
)
- #534 Add
AmountZero
toInvoiceItemParams
- #533 Make
DestPayment
underTransfer
expandable by changing it from a string to aCharge
- #530 Fix mixed up types in
CountrySpec.SupportedBankAccountCurrencies
- #527 Add
MaidenName
,PersonalIDNumber
,PersonalIDNumberProvided
fields toOwner
struct
- #525 Support shipping carrier and tracking number in orders
- #526 Fix ignored
commonParams
when returning an order
- #522 Bump API version and fix creating plans with a product
- #520 Add support for topups
WARNING: Please use 29.1.1 instead.
- #519 Correct the implementation of
PaymentSource.MarshalJSON
to also handle bank account sources
WARNING: Please use 29.1.1 instead.
- #518 Bump API version to 2018-02-06 and add support for Product & Plan API
- #517 Add
BillingCycleAnchor
toSub
andBillingCycleAnchorUnchanged
toSubParams
- #516 Add
AmountZero
toPlanParams
to it's possible to send zero values when creating or updating a plan
- #512 Encode empty values found in maps (like
Meta
)
- #509 Plumb through additional possible errors when unmarshaling polymorphic types (please test your integrations while upgrading)
- #506 Add support for recursing into slices in
event.GetObjValue
- #500 Support sharing for bank accounts and cards (adds
ID
field to bank account and charge parameters)
- #494 Add
Automatic
toPayout
struct
- #492 Correct name of user agent header used to send Go version to Stripe's API
- #491 Support for exchange rates APIs
- #488 Support for listing source transactions
- #486 Send the required
object=bank_account
parameter when adding a bank account through an account - #487 Make bank account's
account_holder_name
andaccount_holder_type
parameters truly optional
- #484 Error early when params not specified for card-related API calls
- #477 Support context on API requests with
Params.Context
andListParams.Context
- #479 Pass token in only one of
external_account
or source when appending card
- #476 Make initializing new backends concurrency-safe
- #359 Add support for verify sources (added
Values
onSourceVerifyParams
)
- #472 Add support for
statement_descriptor
in source objects - #473 Add support for detaching sources from customers
- #471 Add support for
RedirectFlow.FailureReason
for sources
- #468 Fix encoding of pointer-based scalars (e.g.
Active *bool
inProduct
) - #470 Fix concurrent race in
form
package's encoding caches
- #467 Change
Product.Get
to includeProductParams
for request metadata - #467 Fix sending extra parameters on product and SKU requests
- #465 Fix encoding of
CVC
parameter inCardParams
- #461 Fix encoding of
TypeData
under sources
- #458 Remove
ChargeParams.Token
(this seems like it was added accidentally)
- Introduce
form
package so it's no longer necessary to build conditional structures to encode parameters -- this may result in parameters that were set but previously not encoded to now be encoded so PLEASE TEST CAREFULLY WHEN UPGRADING! - Alphabetize all struct fields -- this may result in position-based struct initialization to fail if it was being used
- Switch to stripe-mock for testing (test suite now runs completely!)
- Remote Displayer interface and Display implementations
- Add
FraudDetails
toChargeParams
- Remove
FraudReport
fromChargeParams
(useFraudDetails
instead)
- Add
OnBehalfOf
to charge parameters. - Add
OnBehalfOf
to subscription parameters.
- Use bearer token authentication for API requests
- All
Del
methods now take params as second argument (which may benil
) - Product
Delete
has been renamed toDel
for consistency - Product
Delete
now returns(*Product, error)
for consistency - SKU
Delete
has been renamed toDel
for consistency - SKU
Delete
now returns(*SKU, error)
for consistency
- Add
FeeZero
to invoice andTaxPercentZero
to subscription for zeroing values
- Add "range queries" for supported parameters (e.g.
created[gte]=123
)
- Add metadata to subscription items
`Pay` on invoice now takes specific pay parameters
- Fix bank account retrieval when using a customer ID
- Support sharing path while creating a source
- Add LoginLinks to client list
plan.Del now takes `stripe.PlanParams` as a second argument
- Support for ephemeral keys
- Support for checking webhook signatures
- Fix returned type of subscription items list
- Note: I meant to release this as 22.3.1, but I'm leaving it as it was released
- Fix parameters for subscription items list
- Support subscription items when getting upcoming invoice
- Support setting subscription's quantity to zero when getting upcoming invoice
- Handle
deleted
parameter when updating subscription items in a subscription
- Change
Logger
to alog.Logger
-like interface so other loggers are usable
- Add support for login links
- Add support for new
Type
for accounts - Make
Event
Request
(renamed fromReq
) a struct with a new idempotency key - Rename
Event
UserID
toAccount
- Fix plan update so
TrialPeriod
parameter is sent
- Implement
Get
forRequestValues
- Pass extra parameters to API calls on bank account deletion
- Add
Billing
andDueDate
filters to invoice listing - Add
Billing
filter to subscription listing
- Add
DetailsCode
toIdentityVerification
- Send user agent information with
X-Stripe-Client-User-Agent
- Add
stripe.SetAppInfo
for plugin authors to register app information
- Allow coupon to be specified when creating orders
- No longer require that items have descriptions when creating orders
- Balances are now retrieved by payout instead of by transfer
- Bump API version to 2017-04-06: https://stripe.com/docs/upgrades#2017-04-06
- Add support for payouts and recipient transfers
- Change the transfer resource to support its new format
- Deprecate recipient creation
- Disputes under charges are now expandable and collapsed by default
- Rules under charge outcomes are now expandable and collapsed by default
- Please see 20.0.0 (bad release)
- Allow the ID of an identity document to be passed into an account owner update
- Add
ShippingCarrier
to dispute evidence
- Add
Period
,Plan
, andQuantity
toInvoiceItem
- Add
AdditionalOwnersEmpty
to allow additional owners to be unset
- Add new form of file upload using
io.FileReader
and filename
- Add
Token
toSourceObjectParams
- Add
CouponEmpty
(allowing a coupon to be cleared) to customer parameters - Add
CouponEmpty
(allowing a coupon to be cleared) to subscription parameters
- Add missing value "all" to subscription statuses
- Add subscription items client to main
client.API
struct
- Add
Statement
(statement descriptor) toCaptureParams
- Add new parameters for invoices and subscriptions
- Add new rich
Destination
type toChargeParams
- Support Connect account as payment source
- Add transfer group to charges and transfers
- Add
Rule
toChargeOutcome
- Add support for updating sources
- Fix subscription
trial_period_days
to be populated by the right value
- Include verification document details when persisting
LegalEntity
- Remote
SubProrationDateNow
field fromInvoiceParams
- Truncate
tax_percent
at four decimals (e.g. 3.9750%) instead of two
- Add retrieve method for 3-D Secure resources
- Add
PaymentSource
toAPI
- Allow bank accounts to be created as a customer source
- Add
TrialPeriodEnd
toSubParams
- Add
StatusTransitions
toOrder
- Add
Application
toCharge
- Add
Review
toCharge
for the charge reviews
- Add
RiskLevel
toChargeOutcome
- Support for 403 status codes (permission denied)
- Add
Status
toSubListParams
to allow filtering subscriptions by status
- Add
HasEvidence
andPastDue
toEvidenceDetails
- Add
NoDiscountable
toInvoiceItemParams
- Add
BusinessLogo
toAccount
- Add
ReceiptNumber
toCharge
- Add
DestPayment
toTransfer
- Support for Apple Pay domains
- Support for subscription items
- Correct
SourceTx
onTransfer
to be aSourceTransaction
- Change
Charge
onResource
to be expandable (now a struct instead of string)
- Support customer-related operations for bank accounts
- Fix but where some parameters were not being included on order update
- Fix bug that required a date of birth to be included on account update
- Add missing Kana and Kanji address and name fields to account's legal entity
- Add
ReceiptNumber
andStatus
toRefund
- Add support for sources endpoint
- Add order returns to
API
- Add
DeactiveOn
toProduct
- Allow expansion of destination on transfers
- Allow expansion of sources on balance transactions
- Add
OriginatingTransaction
toFee
- Allow params to be nil when retrieving a refund
- Add support for 3-D Secure
- Add
ReceiptNumber
toInvoice
- Add
Meta
toAccount
- Allow the migration of recipients to accounts
- Add
MigratedTo
toRecipient
- URL-escape the IDs of coupons and plans when making API requests
- Add
NoClosed
toInvoiceParams
to allow an invoice to be reopened
- Consider
SubParams.QuantityZero
when updating a subscription
- Upgrade API version to 2016-07-06
- Add
Returns
field toOrder
- Remove
Name
field onSKU
; it's not actually supported - Support updating
Product
onSKU
- Allow product and SKU attributes to be updated
- Add
TaxPercent
andTaxPercentZero
toCustomerParams
- Add
TokenizationMethod
toCard
struct
- Add
BalanceZero
toCustomerParams
so that balance can be zeroed out
- Add
ToValues
toRequestValues
struct
- Add
BusinessVatID
to customer creation parameters
- Fix handling of nested objects in arrays in request parameters
- Add granular error types in new
Err
field onstripe.Error
- Allow Relay orders to be returned and add associated types
- When creating a bank account token, only send routing number if it's been set
- When creating a bank account, only send routing number if it's been set
- Add missing SKU clinet to client API type
- Add
Reversed
andAmountReversed
fields toTransfer
- Allow
default_for_currency
to be set when creating a card
- Change the signature for
sub.Delete
. The customer ID is no longer required.
- Add
Currency
toCard
- Fix bug where new external accounts could not be marked default from token
- Expose a number of list types that were previously internal (full list below)
- Expose
stripe.AccountList
- Expose
stripe.TransactionList
- Expose
stripe.BitcoinReceiverList
- Expose
stripe.ChargeList
- Expose
stripe.CountrySpecList
- Expose
stripe.CouponList
- Expose
stripe.CustomerList
- Expose
stripe.DisputeList
- Expose
stripe.EventList
- Expose
stripe.FeeList
- Expose
stripe.FileUploadList
- Expose
stripe.InvoiceList
- Expose
stripe.OrderList
- Expose
stripe.ProductList
- Expose
stripe.RecipientList
- Expose
stripe.TransferList
- Switch to use of
stripe.BitcoinTransactionList
- Switch to use of
stripe.SKUList
- Add support for
TaxPercentZero
to invoice and subscription updates
- Expose
stripe.PlanList
(previously an internal type)
- Add
TaxPercentZero
struct toInvoiceParams
- Add
TaxPercentZero
toSubParams
- Add
Outcome
struct toCharge
- Add
Description
,IIN
, andIssuer
toCard
- Add
SourceType
(and associated constants) toTransfer
- Add
Meta
(metadata) toBankAccount
- Add
Meta
(metadata) toCard
- Add
DefaultCurrency
toCountrySpec
- Add
SourceTransfer
toCharge
- Add
SourceTx
toTransfer
- Add
Reject
onAccount
to support the new API feature
- Upgrade API version to 2016-03-07
- Remove
Account.BankAccounts
in favor ofExternalAccounts
- Remove
Account.Currencies
in favor ofCountrySpec
- Add
ListParams.StripeAccount
for making list calls on behalf of connected accounts - Add
Params.StripeAccount
for symmetry withListParams.StripeAccount
- Deprecate
Params.Account
in favor ofParams.StripeAccount
- Add support for fetching events for managed accounts (
event.Get
now takesParams
)
- Allow a
PII.PersonalIDNumber
number to be used to create a token
- Add missing subscription fields to
InvoiceParams
for use withinvoice.GetNext
- Add
AccountHolderName
andAccountHolderType
to bank accounts
- Add support for
CountrySpec
- Add
SSNProvided
,PersonalIDProvided
andBusinessTaxIDProvided
toLegalEntity
- Fix card update method to correctly take expiration date
- Fix recipient update so that it can take a bank token (like create)
- Add missing field
country
to shipping details ofCharge
andCustomer
- Add missing field
Default
toBankAccount
- Add
OrderParams
parameter toOrder
retrieval - Fix parameter bug when creating a new
Order
- Support special value of 'now' for trial end when updating subscriptions
- Allow an account to be referenced when creating a card
- Add
Update
function onCoupon
client so that metadata can be set
- Add a verification routine for external accounts
- Return models along with
error
when deleting resources withDel
- Fix bug where country parameter wasn't included for some account creation
- Return model (
Sub
) when cancelling a subscription (sub.Cancel
)
- Add ability to list and retrieve refunds without a Charge
- Add ability to list and retrieve disputes
- Add ability to delete an account
- Bug fixes
- Expand logging object
- Move proration date to subscription update
- Send country when creating/updating account
- Add request ID to errors
- Update bank account creation API
- Add destination, application fee, transfer to Charge struct
- Add missing fields to invoice line item
- Rename deprecated customer param value
- Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and
- SupportUrl to Account.
- Change card.dynamic_last_four to card.dynamic_last4
- Rename customer.default_card -> default_source
- Add shipping address to charges
- Expose card.dynamic_last_four
- Expose account.tos_acceptance
- Bug fixes
- Bump API version to most recent one
- Bug fixes
- Add Extra to parameters
- Add TaxPercent for subscriptions
- Event bug fixes
- Add more operations for /accounts endpoint
- Add /transfers/reversals endpoint
- Add /accounts/bank_accounts endpoint
- Add support for Stripe-Account header
- Add new dispute status
warning_closed
- Add SubParams.TrialEndNow to support
trial_end = "now"
- Fix URL for upcoming invoices
- Bump to API version 2014-02-18
- Change Card, DefaultCard, Cards to Source, DefaultSource, Sources in Stripe response objects
- Add paymentsource package for manipulating Customer's sources
- Support Update action for Bitcoin Receivers
- Modify NewIdempotencyKey() algorithm to increase likelihood of randomness
- Add BankAccountParams.Token
- Add Token.ClientIP
- Add LogLevel
- Add Bitcoin support
- Added support for listing FileUploads
- Mime parameter on FileUpload has been changed to Type
- Handle charges with customer card tokens
- Add idempotency support
- Bump to API version 2014-12-17.
- Add FileUpload resource. This brings in a new endpoint (uploads.stripe.com) and thus makes changes to some of the existing interfaces.
- This also adds support for multipart content.
- Add Charge.FraudDetails
- Add timeout value to HTTP requests
- Add Dispute.EvidenceDetails
- Remove Dispute.DueDate
- Change Dispute.Evidence from string to struct
- Change List interface to .Next() and .Resource()
- Better error messages for Get() methods
- EventData.Raw contains the raw event message
- SubParams.QuantityZero can be used for free subscriptions
- Add AddMeta method
- Minor fixes
- Linter-based updates
- Initial version