Create User

This api allows you to create a user.

POST https://wallet-api.xaigate.com/api/v1/createUser

Parameter content type: application/json

Request Body

NameTypeDescription

apiKey*

string

fdda9f03-6409-43eb-a6ef-e1f6cea71c2e

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Request Parameter

Parameter

Type

Sample Value

apiKey (required)

String

Example Value

{
    "apiKey": "332a2eb7-916a-46e0-833a-a058375d1a34"
}

Response (200 Ok - https status code)

Response

Type

Sample Value

userId

String

status

String

createdAt

String

Example Value

{
    "userId": "097f35dd-a806-43ef-ab0d-f121cb11567e",
    "createdAt": "2023-11-13T07:31:34.764154Z",
    "status": "active"
}

Last updated