feat(payments): add optional amount to VoidRequest for partial voids - #229
Conversation
🟢 Risk Classification: LOWApproval route: AI Auto-Approval Classification reasons
Operational gates
Files analysed: 2 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 |
|
|
🟠 Withholding auto-approval — merit review raised concerns. This PR is in scope for auto-approval (low-risk class, gates passed, checks green), but the merit review flagged the following for a human to confirm before merge:
A maintainer should review and approve manually if these are acceptable. wall-e 2026.06.19-02 · merit review · us.anthropic.claude-sonnet-4-6 |



Summary
Adds the optional
amountfield to the payment void request, introduced in the API spec on 2026-08-13. When set, only that amount is voided; when omitted, the full payment amount is voided, exactly as before.Changes
amount(integer, min 0, max 9999999999) with doc commentAPI Reference
POST /payments/{id}/voids(VoidRequest.amount)Breaking changes
None.
README
No README impact.