Skip to content

Conversation

@david-ruiz-cko
Copy link

This pull request introduces a new Payment Setups API to the SDK, enabling users to create, update, retrieve, and confirm payment setups. It adds comprehensive models for payment setups, integrates the new client into the main API, and provides unit and integration tests to ensure reliability. The update also includes minor enhancements to existing payment models and a version bump.

Payment Setups API Integration

  • Added the PaymentSetupsClient to the SDK, exposing methods for creating, updating, retrieving, and confirming payment setups. The client is now accessible via the main CheckoutApi class as api.setups. [1] [2] [3] [4]
  • Implemented comprehensive models for payment setups, including request/response structures, payment method entities, customer and order details, industry-specific data, and enums for statuses and options in setups.py.

Testing and Validation

  • Added unit tests for the new PaymentSetupsClient covering all major methods.
  • Added integration tests for creating, updating, and retrieving payment setups, including realistic test data and validation helpers.
  • Updated the main API instantiation test to verify the presence of the new setups client.

@david-ruiz-cko david-ruiz-cko requested a review from a team December 11, 2025 16:06
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

3 participants