github stripe/stripe-go v71.40.0

4 years ago
  • #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 and InvoiceItem on Discount.
    • Add support for Discounts on Invoice, InvoiceItem and InvoiceLineItem
    • Add support for DiscountAmounts on CreditNote, CreditNoteLineItem, InvoiceLineItem
    • Add support for TotalDiscountAmounts on Invoice
    • Add Object to Invoice, InvoiceLine, Discount and Coupon

See the changelog for more details.

Don't miss a new stripe-go release

NewReleases is sending notifications on new releases.