This commit is contained in:
@@ -224,7 +224,14 @@ curl --request POST \
|
||||
}
|
||||
```
|
||||
|
||||
`success: false` — the `message` field contains the reason. Common causes: wrong OTP, insufficient balance, invalid account.
|
||||
`success: false` — the error text may appear in either of two fields. The client prefers `payload` (when it is a non-blank string and not `"null"`) and falls back to `message` (`BmlTransferClient.kt:86-88`):
|
||||
|
||||
| Field | When used |
|
||||
|---|---|
|
||||
| `payload` (string) | Validation-style errors — e.g. insufficient balance, account-specific failures |
|
||||
| `message` | Generic errors — e.g. invalid OTP, generic transfer failure |
|
||||
|
||||
Common causes: wrong OTP, insufficient balance, invalid account, currency mismatch.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user