Feature/int 1692 - Top-up instructions and amount allocations - #201
Conversation
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 10 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. Adds 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 |
🔴 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 |
|



This pull request adds support for retrieving top-up instructions for balances sub-accounts, including new models, client methods, and tests. It also improves serialization for new query parameters and updates OAuth scopes.
Balances API enhancements:
lib/checkout_sdk/balances/balances_client.rb: Added theretrieve_top_up_instructionsmethod to fetch bank details and payment references for sub-account top-ups. Also added new endpoint constants and improved documentation forretrieve_entity_balances.lib/checkout_sdk/balances/top_up_instructions.rb,lib/checkout_sdk/balances/top_up_bank_details.rb,lib/checkout_sdk/balances/top_up_funding_details.rb: Introduced new model classes to represent top-up instructions, bank details, and funding rails. [1] [2] [3]Query serialization improvements:
lib/checkout_sdk/json_serializer.rb: Added camelCase mappings forwith_currency_account_idandbalances_atto ensure correct API requests.OAuth scope updates:
lib/checkout_sdk/oauth_scopes.rb: Added the newbalances:top-up-instructionsscope required for the new endpoint.Testing:
spec/checkout_sdk/balances/balances_client_spec.rb: Added unit tests for the new client method and serialization logic.spec/checkout_sdk/balances/balances_integration_spec.rb: Added integration tests for retrieving top-up instructions, handling both success and documented error responses.