---
title: "Register Client"
method: POST
path: "/api/v1/client/register-client"
tags: ["Clients"]
---

# Register Client

`POST /api/v1/client/register-client`

## Request

- Base URL: `https://api.monapay.vn`
- URL: `https://api.monapay.vn/api/v1/client/register-client`
- Auth: `Bearer Auth` (a scheme the document does not define)

## Request body

- ClientCreate
  - `username` string, required: Client username is required
  - `password` string, required: Client password is required
  - `name` string, required: Client name is required

## Response `200`

OK - The request has succeeded.

- Response
  - `success` boolean, required
  - `message` string, required
  - `data` unknown

## Other responses

- `201`: Successful Response
- `400`: Bad Request - The server cannot or will not process the request due to a client error.
- `401`: Unauthorized - Authentication is required and has failed or has not been provided.
- `422`: Validation Error
- `500`: Internal Server Error - The server encountered an unexpected condition that prevented it from fulfilling the request.

---

[API](https://skmtc.dev/monapay/apis/mona-pay-api-v1.md) · [All operations](https://skmtc.dev/monapay/apis/mona-pay-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/monapay/apis/mona-pay-api-v1/revisions/ed3fbd821dce?raw)
