Error Codes

API error codes and their interpretations

bKash Payment Gateway API operation can return different error codes, subject to corresponding failure scenario.

Error CodeError Description
2001Invalid App Key
2002Invalid Payment ID
2003Process failed
2004Invalid firstPaymentDate
2005Invalid frequency
2006Invalid amount
2007Invalid currency
2008Invalid intent
2009Invalid Wallet
2010Invalid OTP
2011Invalid PIN
2012Invalid Receiver MSISDN
2013Resend Limit Exceeded
2014Wrong PIN
2015Wrong PIN count exceeded
2016Wrong verification code
2017Wrong verification limit exceeded
2018OTP verification time expired
2019PIN verification time expired
2020Exception Occurred
2021Invalid Mandate ID
2022The mandate does not exist
2023Insufficient Balance
2024Exception occurred
2025Invalid request body
2026The reversal amount cannot be greater than the original transaction amount
2027The mandate corresponding to the payer reference number already exists and cannot be created again
2028Reverse failed because the transaction serial number does not exist
2029Duplicate for all transactions
2030Invalid mandate request type
2031Invalid merchant invoice number
2032Invalid transfer type
2033Transaction not found
2034The transaction cannot be reversed because the original transaction has been reversed
2035Reverse failed because the initiator has no permission to reverse the transaction
2036The direct debit mandate is not in Active state
2037The account of the debit party is in a state which prohibits execution of this transaction
2038Debit party identity tag prohibits execution of this transaction
2039The account of the credit party is in a state which prohibits execution of this transaction
2040Credit party identity tag prohibits execution of this transaction
2041Credit party identity is in a state which does not support the current service
2042Reverse failed because the initiator has no permission to reverse the transaction.
2043The security credential of the subscriber is incorrect.
2044Identity has not subscribed to a product that contains the expected service or the identity is not in Active status.
2045The MSISDN of the customer does not exist.
2046Identity has not subscribed to a product that contains requested service.
2047TLV Data Format Error
2048Invalid Payer Reference
2049Invalid Merchant Callback URL
2050Agreement already exists between payer and merchant
2051Invalid Agreement ID
2052Agreement is in incomplete state
2053Agreement has already been cancelled
2054Agreement execution pre-requisite hasn't been met
2055Invalid Agreement State
2056Invalid Payment State
2057Not a bKash Account
2058Not a Customer Wallet
2059Multiple OTP request for a single session denied
2060Payment execution pre-requisite hasn't been met
2061This action can only be performed by the agreement or payment initiator party
2062The payment has already been completed
2063Mode is not valid as per request data
2064This product mode currently unavailable
2065Mendatory field missing
2066Agreement is not shared with other merchant
2067Invalid permission
2068Transaction has already been completed
2069Transaction has already been cancelled
2116The agreement execution has already been completed
2117The payment execution has already been completed
2118The Platform value is invalid
2119The authorized payment has already been processed
503System is undergoing maintenance. Please try again later