Create Account API

Create new business wallets/accounts.

# Create Account API

Create a new business wallet/account.

## Endpoint
- **Method**: POST
- **URL**: https://api.moolre.com/open/account/create

## Headers
| Header | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| X-API-USER | string | Yes | Your Moolre username. |
| X-API-KEY | string | Yes | Your Private API Key. |

## Request Body
| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| type | integer | Yes | Must be 1. |
| accountname | string | Yes | Registered name of the business. |
| currency | string | Yes | Currency code: GHS (Ghana Cedis). |
| api | boolean | No | Set to true to enable API transactions for the new account. |
| callback | string | Yes | Webhook URL for processing real-time transaction callbacks. |
| settlement | object | Yes | Required settlement object. Leave frequency, channel, recipient, and sublist empty when automatic settlement is not configured. |

## Response (200 Success)
Account created successfully.

```json
{
  "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"
  ]
}
```

Back to the Moolre AI documentation index