Commit 5d3168e
docs(fx-payment): expose currentState on PaymentInstructionResponse
Mirrors the fx-payment change in #61 (Mario's review): payment
instructions now carry a `currentState` object instead of a flat
`status` string, matching the existing `OperationState` pattern.
- Rename orphaned `BeneficiaryStatus` schema → `InstructionStatus`
(the values were always instruction-status anyway: PENDING_REVIEW,
APPROVED, REJECTED).
- New `InstructionState` schema (status, reason, createdAt) modeled
after `OperationState`.
- `PaymentInstructionResponse.status` (enum) → `currentState`
(`InstructionState`).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1173f8e commit 5d3168e
1 file changed
Lines changed: 25 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
248 | 267 | | |
249 | 268 | | |
250 | 269 | | |
| |||
1398 | 1417 | | |
1399 | 1418 | | |
1400 | 1419 | | |
1401 | | - | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
| 1420 | + | |
| 1421 | + | |
1408 | 1422 | | |
1409 | 1423 | | |
1410 | 1424 | | |
| |||
1414 | 1428 | | |
1415 | 1429 | | |
1416 | 1430 | | |
1417 | | - | |
| 1431 | + | |
1418 | 1432 | | |
1419 | 1433 | | |
1420 | 1434 | | |
| |||
0 commit comments