Skip to content

Align SDK with 2026-06-29 API changes (Issuing, Payment Setups, Platforms ACH)#182

Merged
armando-rodriguez-cko merged 1 commit into
masterfrom
feature/api-align-2026-06-29
Jul 2, 2026
Merged

Align SDK with 2026-06-29 API changes (Issuing, Payment Setups, Platforms ACH)#182
armando-rodriguez-cko merged 1 commit into
masterfrom
feature/api-align-2026-06-29

Conversation

@armando-rodriguez-cko

Copy link
Copy Markdown
Contributor

Summary

Aligns the Ruby SDK with the 2026-06-29 swagger changes across Issuing, Payment Setups (Beta) and Platforms/Accounts. Response-only schema work is N/A by design (Ruby returns Hash/OpenStruct and only models request classes).

Changes

Issuing — Cards

  • UpdateCardRequest: add activation_date and revocation_date.
  • ⚠️ BREAKING: removed the schedule-revocation endpoint — schedule_card_revocation / cancel_scheduled_card_revocation client methods, the SCHEDULE_REVOCATION constant and ScheduleRevocationRequest. Revocation scheduling now goes through UpdateCardRequest#revocation_date.

Issuing — Cardholders

  • ⚠️ BREAKING: removed document from UpdateCardholderRequest and deleted IdentificationDocument (dropped from the spec).

Issuing — Disputes

  • New IssuingDisputeFraudDetails + IssuingDisputeFraudType (11-value enum).
  • Added fraud_details to CreateDisputeRequest and EscalateDisputeRequest.
  • New AmendDisputeRequest + amend_issuing_dispute (POST /issuing/disputes/{id}/amend, not deprecated).
  • Added submit_issuing_dispute (@deprecated, pointing at create/amend) + SubmitDisputeRequest for parity/coverage — the endpoint is still deprecated: true in the spec and was previously missing from the SDK.

Payment Setups (Beta)

  • New payment-method builder classes BacsPaymentMethod, CardPresentPaymentMethod, PayByBankPaymentMethod, StablecoinPaymentMethod (following the existing BlikPaymentMethod convention). order.amount_allocations reuses the existing Common::AmountAllocations.

Platforms / Accounts

  • New InstrumentDetailsAch (account_number, routing_number, account_type).

Tests

  • Serialization roundtrips for every new/changed property; fraud_type covered value-by-value (all 11).
  • amend + submit client unit tests; ACH and setup-PM specs.
  • Full suite: 488 examples, 0 failures, 151 pending (integration skips).

Breaking changes (for release notes)

  1. Removal of the schedule-revocation methods/model.
  2. Removal of the cardholder document field and IdentificationDocument.

Issuing cards:
- UpdateCardRequest: add activation_date and revocation_date
- Remove schedule-revocation endpoint (client methods + request model) [BREAKING]

Issuing cardholders:
- Remove document field from UpdateCardholderRequest + IdentificationDocument [BREAKING]

Issuing disputes:
- New IssuingDisputeFraudDetails + IssuingDisputeFraudType (11-value enum)
- Add fraud_details to CreateDisputeRequest and EscalateDisputeRequest
- New AmendDisputeRequest + amend_issuing_dispute (POST .../amend)
- Add deprecated submit_issuing_dispute + SubmitDisputeRequest (POST .../submit)

Payment Setups (Beta):
- New Bacs/CardPresent/PayByBank/Stablecoin payment-method builder classes

Platforms/Accounts:
- New InstrumentDetailsAch (account_number, routing_number, account_type)

Tests: serialization roundtrips for all new/changed properties (fraud_type
covered value-by-value), amend/submit client unit tests, ACH + setup PM specs.
Full suite: 488 examples, 0 failures, 151 pending.
@armando-rodriguez-cko armando-rodriguez-cko force-pushed the feature/api-align-2026-06-29 branch from 00988e2 to ba1b0d0 Compare July 2, 2026 08:05
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

@armando-rodriguez-cko armando-rodriguez-cko merged commit 88234d9 into master Jul 2, 2026
5 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/api-align-2026-06-29 branch July 2, 2026 08:36
armando-rodriguez-cko added a commit that referenced this pull request Jul 2, 2026
- feat(issuing/setups/accounts): align SDK with 2026-06-29 API changes (#182)
- Add authorization_type and payment_plan to payment link, hosted, and session requests (#177)
- fix: route forward client to dedicated base URL (#172)
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