Release 4.2.0 - Top-up instructions and amount allocations - #236
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 |
🟢 Advisory review: Looks good to meThis PR still needs a human approval — wall-e cannot auto-approve it. For what it's worth, I read the diff and found nothing I'd block on. This PR bumps the version to 4.2.0 and adds top-up instructions support to the Balances API, a new OAuth scope, and amount_allocations to payment sessions, with accompanying tests. What I checked
This is not an approval. wall-e cannot auto-approve this PR — it is an opinion to help whoever does. Advisory review · us.anthropic.claude-sonnet-4-6 · wall-e 2026.06.19-02 |
|



This release adds support for retrieving top-up instructions for currency accounts via the balances API, enhances the
BalancesQueryfilter with improved typing and serialization, and introduces comprehensive tests to ensure correct serialization and response handling. It also adds a new OAuth scope for top-up instructions and updates the test coverage accordingly.Balances API enhancements:
retrieve_top_up_instructionstoBalancesClientfor fetching top-up instructions for a specific currency account, and defined the required endpoint paths. [1] [2]BalancesQueryto use correct types:with_currency_account_idis now a boolean andbalances_atis adatetime, with improved docstrings and comments for clarity.OAuth and authorization:
balances:top-up-instructionsOAuth scope toOAuthScopesand included it in the default OAuth API test client configuration. [1] [2]Testing and serialization:
BalancesQueryto ensure correct camelCase mapping and ISO date formatting. [1] [2] [3]Other SDK improvements:
amount_allocationsfield toSubmitPaymentSessionRequestto support allocation of amounts in payment sessions.