> For the complete documentation index, see [llms.txt](https://developer.providusbank.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.providusbank.com/xpress-wallet-api/merchant/merchant-registration.md).

# Merchant Registration

Register a new merchant account.

* **Endpoint**: `POST {{base-url}}/merchant`
* **Body**:

  ```json
  {
    "firstName": "Yemi",
    "lastName": "Alade",
    "password": "cGFzc3dvcmQ=",
    "accountNumber": "9988776633",
    "phoneNumber": "08055484569",
    "businessName": "Yemi-Alade",
    "email": "neyosoft3@mailinator.com",
    "businessType": "FINANCIAL-SERVICES",
    "sendEmail": true
  }
  ```
* **Response**:
  * **201 Created**:

    ```json
    {
      "status": true,
      "requireVerification": true,
      "message": "Your activation code has been sent to your email. It expires in 24 hours"
    }
    ```
* **Sample Code (Dart)**:

  ```dart
  var request = http.Request('POST', Uri.parse('{{base-url}}/merchant'));
  request.body = '''{
    "firstName": "Demo",
    "lastName": "User",
    "password": "password",
    "businessName": "Neyosoft",
    "phoneNumber": "+2349034514808",
    "email": "demoneyo@mailinator.com",
    "businessType": "FINANCIAL-SERVICES"
  }''';
  http.StreamedResponse response = await request.send();
  if (response.statusCode == 200) {
    print(await response.stream.bytesToString());
  } else {
    print(response.reasonPhrase);
  }
  ```
