Reference
Errors
Failed calls return JSON statusCode and message (string or string[]).
example
{
"statusCode": 400,
"message": "Amount mismatch. SMS shows Tk 500, invoice is Tk 1490.",
"error": "Bad Request"
}| HTTP | Meaning |
|---|---|
| 400 | Validation, amount mismatch, TrxID reused, expired link |
| 401 | Missing/invalid JWT or X-Webhook-Secret |
| 404 | Unknown payment id |