4.7.0
Release - 4.7.0 (#330)
This release adds support for new sdk clients: Agentic Commerce, Compliance Requests and GooglePay. It introduces new API clients, request/response entity classes, and updates the main CheckoutApi class to expose these clients. Additionally, it updates the API client to allow passing custom headers for POST requests. These changes enable delegated payment token creation, compliance request retrieval, and response submission.
Agentic Commerce API integration:
- Added
AgenticCommerceClientfor creating delegated payment tokens, including support for custom integrity headers and idempotency keys. - Introduced related entity classes:
DelegatedPaymentRequest,DelegatedPaymentAllowance,DelegatedPaymentBillingAddress,DelegatedPaymentMethodCard,DelegatedPaymentRiskSignal, and supporting enums/types for card and funding types. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
Compliance Requests API integration:
- Added
ComplianceRequestsClientto retrieve and respond to compliance requests by payment ID. - Added entity classes for compliance response fields and grouping by party:
ComplianceRespondedField,ComplianceRespondedFields. [1] [2]
Google Pay API integration:
- Added
GooglePayClientto manage all google pay enrollments and domains
Core API enhancements:
- Updated
ApiClient::postto accept optional custom headers, supporting new API requirements for integrity and versioning.
Main API surface changes:
- Updated
CheckoutApito instantiate and exposeAgenticCommerceClient,ComplianceRequestsClient, andGooglePayClientvia new getter methods. [1] [2] [3] [4] [5]