feat(issuing): add scheduled_revocation_date and update-card status - #383
armando-rodriguez-cko merged 2 commits into
Conversation
…status 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 returns raw arrays with no typed 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: 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:All changes are non-destructive additions of new public fields to existing request classes and corresponding test updates, reusing existing endpoints and abstractions without introducing new types, services, auth changes, or persisted data.
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 returns raw arrays for issuing responses, so this is a doc + test update.
🟢 Risk Classification: LOWApproval route: AI Auto-Approval Classification reasons
Operational gates
Files analysed: 6 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:All changes are non-destructive additions of new optional fields to existing request classes and a doc comment update, reusing existing endpoints and abstractions with no new persisted types, auth changes, external integrations, or background processes.
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 returns raw arrays for issuing card responses with no typed response classes, so the response-side change is test coverage, not a new type.
Changes
lib/Checkout/Issuing/Cards/Create/CardRequest.php— add-card-request gainsscheduled_revocation_date,revocation_datemarked deprecated in the doc commentlib/Checkout/Issuing/Cards/Update/UpdateCardRequest.php— update-card-request gainsscheduled_revocation_dateandstatustest/Checkout/Tests/Issuing/Cards/CardsClientTest.php— coverage for the new request fieldstest/Checkout/Tests/Issuing/Cards/CardUpdateHeadersTest.php,CardsIntegrationTest.php— updated mocks/removed an integration test 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