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"
}
HTTPMeaning
400Validation, amount mismatch, TrxID reused, expired link
401Missing/invalid JWT or X-Webhook-Secret
404Unknown payment id