Skip to content

Release 7.9.0 - Idempotency keys upgrade#605

Merged
david-ruiz-cko merged 1 commit into
masterfrom
release/7.9.0
Jun 2, 2026
Merged

Release 7.9.0 - Idempotency keys upgrade#605
david-ruiz-cko merged 1 commit into
masterfrom
release/7.9.0

Conversation

@david-ruiz-cko

Copy link
Copy Markdown
Contributor

This release introduces support for idempotency keys in several client interfaces and their implementations, enhancing the ability to safely retry API requests without unintended side effects. The changes affect the Agentic Commerce, Issuing, and Payment Contexts clients, updating both asynchronous and synchronous methods to accept an idempotencyKey parameter. Corresponding unit and integration tests have been updated or added to verify this new functionality.

Idempotency Key Support

  • Added idempotencyKey parameters to key client interface methods and their implementations for AgenticCommerceClient, IssuingClient, and PaymentContextsClient, affecting both async and sync variants. This ensures that duplicate requests can be safely handled by the API. [1] [2] [3] [4] [5] [6]
  • Updated implementation classes (AgenticCommerceClientImpl, IssuingClientImpl, PaymentContextsClientImpl) to pass the idempotencyKey to the underlying apiClient methods. [1] [2] [3] [4] [5] [6] [7] [8]

Dispute Management Enhancements (IssuingClient)

  • Added async and sync methods for dispute operations (createDispute, getDispute, cancelDispute, escalateDispute) in IssuingClientImpl, with support for idempotency keys. [1] [2] [3] [4] [5] [6] [7] [8]

Test Updates

  • Updated and expanded unit and integration tests to cover new method signatures with idempotency keys, ensuring correct behavior for both regular and idempotent requests. [1] [2] [3] [4]

Minor Code Cleanup

  • Removed an unused import (@AllArgsConstructor) from VelocityCardControlResponse.java.

@david-ruiz-cko david-ruiz-cko requested a review from a team June 2, 2026 11:00
@sonarqubecloud

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown

@david-ruiz-cko david-ruiz-cko merged commit 0c59df9 into master Jun 2, 2026
6 checks passed
@david-ruiz-cko david-ruiz-cko deleted the release/7.9.0 branch June 2, 2026 13:21
@david-ruiz-cko david-ruiz-cko changed the title Release 7.9.0 - General payments upgrade Release 7.9.0 - Idempotency keys upgrade Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants