Align SDK with 2026-06-29 API changes (Issuing, Payment Setups, Platforms ACH)#182
Merged
Merged
Conversation
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.
00988e2 to
ba1b0d0
Compare
|
david-ruiz-cko
approved these changes
Jul 2, 2026
Merged
armando-rodriguez-cko
added a commit
that referenced
this pull request
Jul 2, 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.



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/OpenStructand only models request classes).Changes
Issuing — Cards
UpdateCardRequest: addactivation_dateandrevocation_date.schedule-revocationendpoint —schedule_card_revocation/cancel_scheduled_card_revocationclient methods, theSCHEDULE_REVOCATIONconstant andScheduleRevocationRequest. Revocation scheduling now goes throughUpdateCardRequest#revocation_date.Issuing — Cardholders
documentfromUpdateCardholderRequestand deletedIdentificationDocument(dropped from the spec).Issuing — Disputes
IssuingDisputeFraudDetails+IssuingDisputeFraudType(11-value enum).fraud_detailstoCreateDisputeRequestandEscalateDisputeRequest.AmendDisputeRequest+amend_issuing_dispute(POST /issuing/disputes/{id}/amend, not deprecated).submit_issuing_dispute(@deprecated, pointing at create/amend) +SubmitDisputeRequestfor parity/coverage — the endpoint is stilldeprecated: truein the spec and was previously missing from the SDK.Payment Setups (Beta)
BacsPaymentMethod,CardPresentPaymentMethod,PayByBankPaymentMethod,StablecoinPaymentMethod(following the existingBlikPaymentMethodconvention).order.amount_allocationsreuses the existingCommon::AmountAllocations.Platforms / Accounts
InstrumentDetailsAch(account_number,routing_number,account_type).Tests
fraud_typecovered value-by-value (all 11).amend+submitclient unit tests; ACH and setup-PM specs.Breaking changes (for release notes)
documentfield andIdentificationDocument.