Version 2.3.0#208
Merged
Merged
Conversation
|
armando-rodriguez-cko
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This release introduces major new features and improvements to the SDK, including the addition of support for Agentic Commerce delegated payment tokens, reserve rules management for accounts, identities modules and compliance requests. It includes a general review of all SDK structs to update them with the latest changes and also enhances the core HTTP client to allow dynamic injection of custom headers from request structs, improving flexibility for new API features. The most important changes are grouped below by theme.
Agentic Commerce Support
agenticcommercepackage with types and a client for creating delegated payment tokens, including support for custom headers and comprehensive tests. (agenticcommerce/agentic_commerce.go,agenticcommerce/client.go,agenticcommerce/client_test.go) [1] [2] [3]Reserve Rules Management
accountsfor creating, updating, and retrieving reserve rules, including support for rolling reserve rules and holding durations. (accounts/reserve_rules.go,accounts/accounts.go,accounts/client.go) [1] [2] [3]Compliance Requests
compliancerequestspackage with a client to get and respond to compliance requests for a payment. (compliancerequests/client.go)Identities modules
amlscreening,applicants,faceauthentication,iddocumentverification,identityverificationpackages with clients to get and respond to identity requests.Flow
Updated payments-sessions module with the latest flow changes.
payments/search
Updated payments/search endpoint to admit string dates in the query response.
General Review
Added last fields of the requests/responses, general review of all the SDK structs and full update.
Core HTTP Client Enhancements
Headersfield in request structs, allowing APIs to define and inject arbitrary headers as needed. (client/client.go) [1] [2] [3] [4] [5] [6] [7]These changes significantly extend the SDK's capabilities for new API features and improve its flexibility for future enhancements.