5.1.0
Release 5.1.0 (#347)
This release introduces several new features and improvements to the issuing and payments domains, including expanded support for dispute handling, enhancements to card activation and revocation scheduling, and richer order/payment setup models. It also removes some deprecated or redundant classes and fields to streamline the codebase.
Issuing Disputes Enhancements:
- Added new models for handling fraud-related dispute details (
IssuingDisputeFraudDetails,IssuingDisputeFraudType) and integrated them into dispute request classes, allowing for more granular and structured fraud reporting. [1] [2] [3] [4] [5] [6] - Introduced the
AmendDisputeRequestmodel and correspondingamendDisputemethod inIssuingClient, enabling amendments to disputes that are blocked or require additional information. [1] [2] [3] [4] - Marked the
submitDisputemethod as deprecated, guiding users towards the new dispute amendment flow.
Card Management Improvements:
- Added
activation_dateandrevocation_datefields to bothCardRequestandUpdateCardRequestclasses, allowing for scheduled card activation and automatic revocation. [1] [2] - Removed the
ScheduleRevocationRequestclass and related scheduling methods fromIssuingClient, consolidating revocation scheduling into the main card request models. [1] [2] [3]
Payments and Order Setup Extensions:
- Enhanced the
Ordermodel with new fields forinvoice_id,shipping_amount,surcharge_amount,tax_amount,tipping_amount, andamount_allocations, supporting more detailed order breakdowns. - Added new models for
PaymentSetupAmountAllocationandAmountAllocationCommission, enabling split payments and commission handling in setup flows. [1] [2] - Introduced the
PaymentSetupBillingDescriptormodel for richer payment descriptions and billing information.
Account and Instrument Details:
- Added
InstrumentAccountTypeandInstrumentDetailsAchmodels to support ACH payment instrument details, including account and routing numbers. [1] [2]
Cleanup and Deprecations:
- Removed the
CardholderDocumentclass and related references from cardholder request models, simplifying cardholder data structures. [1] [2] [3] [4]
These changes collectively improve the flexibility, compliance, and functionality of the issuing and payments APIs, while also streamlining the codebase for easier maintenance.…nd Platforms instrument details)