Skip to content

Error messages

Success: { "code": 0, "msg": "ok", "data": ... }

Pakistan-specific

msgMeaning
countryCode and currency must match merchant country configDo not send wrong countryCode/currency on create—omit them; inferred from merchant account
unsupported bankCodeInvalid bankCode; use uppercase codes from appendix
channel is under maintenanceThe selected bankCode or payment channel is temporarily unavailable
merchant balance insufficientInsufficient PKR for payout

Common

msgMeaning
signature invalidRSA2 verification failed
merchant not foundInvalid X-Merchant-No
merchant inactiveMerchant disabled
merchant request expiredTimestamp skew
merchant duplicate nonceReused nonce
merchant ip not allowedIP whitelist block
merchant order no already existsDuplicate merchantOrderNo
merchant order not foundUnknown order
merchant balance insufficientPayout wallet balance too low
amount must be greater than zeroInvalid amount

Callback must return HTTP 200 and body OK or platform will retry.

Released under the MIT License.

2-1-2 Nihonbashi-Hongokucho,Chuo-ku,Tokyo