Commit 557bc19
committed
Fix JSON property casing: BTCPay outer envelope is camelCase
Protocol response shape (confirmed via CI diagnostic):
{
"success": true,
"message": "Wallet setup successfully.",
"result": {
"results": {
"BTC": { "success": true, ... },
"LBTC": { "success": true, ... }
}
}
}
Outer envelope keys are camelCase (success/message/result/results).
Per-method keys preserve their explicit JsonProperty PascalCase
(BTC/LBTC/BTC_LN). End-to-end flow works - OTP create via Greenfield,
descriptor parsing, response shape all green.1 parent d8a1e77 commit 557bc19
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | | - | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | | - | |
113 | | - | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
119 | | - | |
| 122 | + | |
120 | 123 | | |
121 | | - | |
122 | | - | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
0 commit comments