Repository navigation
4.6.0
Release - 4.6.0 (#311)
This release introduces several enhancements and new features to the SDK, focusing on expanding API coverage, improving file handling. The changes include new client methods for file upload and retrieval, support for additional API clients, improvements to request serialization, and the addition of several new data classes.
Major SDK Feature Additions and Improvements:
- Added new methods to
AccountsClientfor uploading and retrieving files for sub-entities, supporting due diligence documentation. - Introduced new endpoints in
DisputesClientto support arbitration evidence submission and retrieval for disputes. - Added new data classes:
FilePurpose(for file upload purposes),UploadFileRequest(file upload request model),CardholderAccessTokenRequest,UpdateCardholderRequest, andCardMetadata. [1] [2] [3] [4] [5] - Updated
ShippingInstructionsin the issuing cards module to clarify and swap the meaning ofshipping_addressandrecipient_address.
API Client and Serialization Enhancements:
- Improved request body handling in
ApiClientto correctly set content types for JSON, multipart, and form-urlencoded requests, ensuring more robust API interactions. - Added utility methods in
Clientto serialize request objects as form-urlencoded data, converting camelCase properties to snake_case as required by some endpoints.
Expanded API Client Access:
- Registered and exposed new clients in
CheckoutApi:PaymentMethodsClient,StandaloneAccountUpdaterClient, andApplePayClient, with corresponding getter methods for easier access. [1] [2] [3] [4]
Other Minor Improvements:
- Added a missing import for
UploadFileRequestinAccountsClientto support the new file upload feature. - Added a constant for the arbitration path in
DisputesClient.