Create Bank Account Number API

Generate a permanent virtual bank account number linked to your wallet/account for secure payments.

Endpoint Information

POST https://api.moolre.com/open/account/create

To test in sandbox, use https://sandbox.moolre.com/open/account/create instead.

Authentication & Headers

Header NameTypeRequiredDescription
X-API-USERstringYesYour Moolre username.
X-API-PUBKEYstringYesYour Public API Key. (Not required in Sandbox)

Request Parameters

ParameterTypeRequiredDescription
typeintegerYesMust be 9.
currencystringYesCurrency code (e.g., GHS).
amountnumberNoOptional initial amount.
firstnamestringYesFirst name of the account holder.
lastnamestringYesLast name of the account holder.
phonestringYesPhone number of the account holder.
emailstringYesEmail address of the account holder.
urefstringYesUnique request reference.
accountnumberstringYesYour Moolre Account Number.

Response Examples

200 - Success

Bank account number created successfully.

{
  "status": 1,
  "code": "AD19",
  "message": "Account No. Creation Successful",
  "data": {
    "accountno": "0014730001001",
    "accountname": "Kofi Adeniyi3 MoolrePay",
    "bankname": "First Atlantic Bank",
    "uref": "uref001"
  },
  "go": null
}

400 (Duplicate Name) - Failed

Bank account creation failed because the name is already in use.

{
  "status": 0,
  "code": "AD32",
  "message": "Account No. Creation Failed",
  "data": "all",
  "go": null
}

← Back to AI Documentation Index | View Full API Reference