feature/INT-1667 - ChallengeIndicator/SessionChallengeIndicator enum alignment - #190
Conversation
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 11 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 |
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 13 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 |
|



This pull request updates the Sessions API model to align with the latest Checkout.com API specification, adds missing fields, corrects value sets, and introduces comprehensive spec-conformance tests to prevent regressions. The changes improve the accuracy and maintainability of the SDK by ensuring all wire values and model fields match the API exactly, and by removing fields that are not part of the spec.
API Model Corrections and Additions
SessionRequest, includinggoogle_spa(with newGoogleSpamodel),preferred_experiences(with newExperiencevalue module), anddevice_information. Removed the undocumentedprior_transaction_referencefield. [1] [2] [3] [4] [5]SessionChallengeIndicatorvalue module to support the full set of challenge indicator values required by the Sessions API, and updated references from the shared payments challenge indicator. [1] [2] [3] [4]BrowserSessionfor Google SPA support:iframe_payment_allowedanduser_agent_client_hint. [1] [2]SessionScheme:DISCOVERandUPI.Value Corrections
non_paymentto snake_case inCategory, fixedQUASI_CARD_TRANSACTIONspelling inTransactionType, updatedThreeDsMethodCompletionto use uppercase codes, and replacedvisawith the correct set inShippingIndicator. [1] [2] [3] [4]Field Removals
store_for_future_usefield fromCardSource, which is not present in the Sessions API model.Spec-Conformance Tests
References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]