feat(issuing): add scheduled_revocation_date and update-card status - #245
armando-rodriguez-cko wants to merge 2 commits into
Conversation
Swagger 2026-09-17: add-card-request and update-card-request gain scheduled_revocation_date (replaces deprecated revocation_date); update-card-request gains status to reactivate an inactive/suspended card. update-card-response no longer includes encrypted_cvv on the live API; this SDK has no typed issuing response classes, so tests are updated to reflect the current response shape.
🟢 Risk Classification: LOWApproval route: AI Auto-Approval Classification reasons
Operational gates
Files analysed: 4 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
There was a problem hiding this comment.
✅ Auto-approved — this PR meets all Low-risk criteria.
All checks passed, no unresolved comments, and the change classification is:
no_low_class_matchedprod_source_modified2.2.6_logical_extension:The change only adds new optional fields to existing request classes and a small enum, reuses the same existing endpoints (POST/PATCH /issuing/cards), introduces no new persisted data, no auth changes, no external integrations, and is a natural extension of the existing issuing card abstractions.
wall-e 2026.06.19-02 · policy 6b4ce2b3b45a…
…ual cards Swagger 2026-09-23 split update-card-response into a virtual/physical discriminator; the virtual variant adds is_single_use (specifies whether the card is set to expire after a single use). Physical cards never send it. This SDK has no typed issuing response classes, so this is a doc + test update.
🟢 Risk Classification: LOWApproval route: AI Auto-Approval Classification reasons
Operational gates
Files analysed: 5 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
|
There was a problem hiding this comment.
✅ Auto-approved — this PR meets all Low-risk criteria.
All checks passed, no unresolved comments, and the change classification is:
no_low_class_matchedprod_source_modified2.2.6_logical_extension:The change only adds new optional fields to existing request dataclasses and a new enum value, reuses existing endpoints (POST/PATCH /issuing/cards), introduces no new persisted data, no auth changes, no new external integrations, and is a natural extension of the existing issuing card abstraction.
wall-e 2026.06.19-02 · policy 6b4ce2b3b45a…



Summary
Adds card scheduled_revocation_date/status per the 2026-09-17 swagger delta (INT-1700), and reflects encrypted_cvv's removal from update-card-response (added by INT-1695, removed by this same delta). This SDK has no typed issuing response classes, so the response-side change is test coverage, not a new type.
Changes
checkout_sdk/issuing/cards.py— CardRequest and UpdateCardRequest gainscheduled_revocation_date; UpdateCardRequest gainsstatus(newCardStatusUpdateenum)tests/issuing/issuing_serialization_test.py— coverage for the new fieldstests/issuing/card_update_headers_wire_test.py,cards_issuing_integration_test.py— updated/removed tests that assertedencrypted_cvvis still returned (no longer true against the live API)API Reference
POST /issuing/cardsPATCH /issuing/cards/{cardId}Breaking changes
update-card-response no longer includes
encrypted_cvv(API-forced, minor per SDK, same precedent as INT-1695's activation_date rename).README
No README changes needed.
🤖 Generated with Claude Code