Skip to content

Bank Collections

POST
/open/account/create

Use this API to provision a permanent virtual bank account for a customer, linked directly to your Moolre wallet. The generated account details, including the assigned account number and bank name, are returned immediately upon success. Specifying an amount is optional. Omitting it creates the account without a preset limit.

history

Request History

Your request history will appear here.

Headers

X-API-USER stringrequired

This is your Moolre username.

X-API-PUBKEY stringrequired

This is your Public API Key Generated from your Account.

Body Params

typerequired

ID of the function. Must be 9.

currencyrequired

Currency code (e.g., GHS).

amount (Optional)

Optional initial/transactional amount.

firstnamerequired

First name of the account holder.

lastnamerequired

Last name of the account holder.

phonerequired

Phone number of the account holder (e.g., +233240000002).

emailrequired

Email address of the account holder.

externalrefrequired

Unique external reference for this request.

accountnumberrequired

Your Moolre Account Number.

Responses

RESPONSE BODY
statusinteger
codestring
messagestring
dataobject
accountnostring
accountnamestring
banknamestring
externalrefstring
gonull
RESPONSE BODY
statusinteger
codestring
messagestring
datastring
gonull

Language

curl --request POST \     --url 'https://api.moolre.com/open/account/create' \     --header 'X-API-USER: Your Username' \     --header 'X-API-PUBKEY: YOUR_PUBLIC_KEY' \     --header 'Content-Type: application/json' \     --data '{  "type": 9,  "currency": "GHS",  "amount": "",  "firstname": "",  "lastname": "",  "phone": "",  "email": "",  "externalref": "",  "accountnumber": ""}'

Response

Body

{  "status": 1,  "code": "AD19",  "message": "Account No. Creation Successful",  "data": {    "accountno": "0014730001001",    "accountname": "Kofi Adeniyi3 MoolrePay",    "bankname": "First Atlantic Bank",    "externalref": "BANK-1001"  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}