Release 3.12.0 - Address Document Verification endpoints + sessions enum alignment - #225
Merged
Conversation
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 1 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 |
|
armando-rodriguez-cko
approved these changes
Aug 6, 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.



Release 3.12.0 bundles two changes: the new Address Document Verification endpoints (#223, INT-1665) and the sessions enum alignment with the API spec (#224, INT-1667).
Address Document Verification (Adv) endpoints
Implements the Adv family from swagger 2026-07-16:
POST/GET /address-document-verifications, anonymize, attempts (create, list, get) and pdf-report. Reuses the identity-verification scope.AddressDocumentVerificationClientwith 7 methods. (checkout_sdk/identities/addressdocumentverification/addressdocumentverification_client.py)AddressDocumentVerificationRequestandAddressDocumentVerificationAttemptRequestmodels. (checkout_sdk/identities/addressdocumentverification/addressdocumentverification.py)CheckoutApivia the identity API client. (checkout_sdk/checkout_api.py)tests/identities/addressdocumentverification/.Enum and API spec alignment for sessions
SessionChallengeIndicatorandChallengeIndicatorenums to clearly document and enforce their distinct value sets, separating the exemption values for/sessionsfrom the four-value set used in payments endpoints. (checkout_sdk/common/enums.py,checkout_sdk/sessions/sessions.py)ThreeDsMethodCompletionenum to use uppercase values ('Y','N','U') as required by the API.SessionSchemeenum with the missing'discover'and'upi'values.ShippingIndicatorenum with all seven spec-compliant values, makingMerchantRiskInfo.shipping_indicatorusable.Test coverage and guardrails
tests/sessions/challenge_indicator_serialization_test.pyverifies the enums expose the correct values, serialize as expected, and that exemption values are not accepted where unsupported.tests/sessions/session_request_serialization_test.pyensures allSessionRequestattributes serialize correctly, including defaults and nested objects.tests/sessions/sessions_enums_test.pysystematically checks that all session enums match the API spec, with the correct casing and full value coverage.