API Reference / Account
Create Account
POSThttps://api.moolre.com/open/account/create
Create a test business wallet/account in Sandbox only. For compliance reasons, create Live wallets in the Moolre portal: https://app.moolre.com/.
Headers
- X-API-USER string required
Your Moolre username.
- X-API-KEY string optional
Optional in Sandbox. Omit placeholder keys.
Body parameters
- type integer required
Must be 1.
- accountname string required
Registered name of the business.
- currency string required
Currency code: GHS (Ghana Cedis).
- api boolean optional
Set to true to enable API transactions for the new account.
- callback string required
Webhook URL for processing real-time transaction callbacks.
- settlement object required
Required settlement object. Leave frequency, channel, recipient, and sublist empty when automatic settlement is not configured.
Responses
200 Success
Account created successfully.
{ "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": [] }}