Skip to content

Create Account

POST
/open/account/create

Create a test business account. This endpoint always uses sandbox.moolre.com, even when the documentation is set to Live. Create Live wallets in the Moolre portal. The settlement object is required, but its configuration fields may remain empty when automatic settlement is not enabled.

science

Sandbox Simulation Mode

All actions on this page are fully simulated. No real accounts are created, and no real money is debited or credited. Use this environment to safely test your integration workflow.

history

Request History

Your request history will appear here.

Headers

X-API-USER stringrequired

This is your Moolre username.

X-API-KEY stringoptional

Your Private API Key.

Body Params

typerequired

ID of the account status function. Must be 1.

currencyrequired

Select the currency for the merchant account.

accountnamerequired

Registered name of the business: 2 to 30 characters, letters in any script, digits, spaces and . , & ( ) ' ’ / _ - @ # + :

apiboolean

Enable API transactions for this new account. Enabled by default.

callbackrequired

Callback URL for collection results. It must be an absolute https URL on port 443 with a public host name and no credentials or fragment.

SETTLEMENT (REQUIRED)
currency

Select the settlement currency.

frequency

When settlements are paid out.

  • 0No: no automatic settlement.
  • 1Instant
  • 2Daily at 4 pm
  • 3Daily at 12 am
channel

Where settlements are paid. Send the channel name (case-insensitive). The numeric ids still work but are deprecated and return a notice.

  • MTNMTN Mobile Money (deprecated id 1).
  • TELECELTelecel Cash (deprecated id 6).
  • ATAT Money (deprecated id 7).
  • BANKInstant bank transfer (deprecated id 2).
recipient

Destination phone/account number.

sublist

Bank ID if channel is Bank Transfer.

Responses

RESPONSE BODY
statusstring
codestring
messagearray
dataobject
accountnamestring
accountnumberstring
paymentidstring
apiinteger
callbackstring
secretstring
settlementobject

Language

curl --request POST \     --url 'https://sandbox.moolre.com/open/account/create' \     --header 'X-API-USER: Your Username' \     --header 'Content-Type: application/json' \     --data '{  "type": 1,  "currency": "GHS",  "accountname": "",  "api": true,  "settlement": {    "currency": "GHS",    "frequency": "",    "channel": "",    "recipient": "",    "sublist": ""  }}'

Response

Body

{  "status": "1",  "code": "WC02",  "message": [    "Wallet Created Successfully",    "Your wallet will be reloaded shortly or Click close to refresh now."  ],  "data": {    "status": 1,    "accountnumber": "100000157291",    "accountname": "My Business LTD",    "paymentid": "0757291",    "api": 0,    "callback": "",    "settlement": {},    "secret": "cf2a797f-c8d8-470c-a736-6f5f78ae1d86"  },  "go": [    "wallets",    "1.57291"  ],  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}