---
title: "Create consumer (user)"
method: POST
path: "/consumer"
tags: ["Consumer"]
---

# Create consumer (user)

`POST /consumer`

## Headers

- `X-Request-ID` string

## Request body

- object
  - `externalId` string, required — Merchant consumer ID (user ID)
  - `username` string — Username
  - `email` string, email — Email address
  - `firstName` string — First name
  - `lastName` string — Last name
  - `birthday` string, nullable — Date of birth
  - `country` string, ISO3 — Country name in ISO3 format
  - `groupId` unknown

## Response `201`

Created

- object
  - `id` string, required — Gateway consumer ID (user ID)
  - `externalId` string — Merchant consumer ID (user ID)
  - `username` string — Username
  - `email` string, email — Email address
  - `firstName` string — First name
  - `lastName` string — Last name
  - `birthday` string, nullable — Date of birth
  - `country` string, ISO3 — Country name in ISO3 format
  - `groupId` unknown
  - `blocked` boolean — Consumer ID blocked

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/centrobill/apis/centrobill-payment-api.md) · [All operations](https://skmtc.dev/centrobill/apis/centrobill-payment-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/centrobill/centrobill-payment-api/revisions/d0334aeb55ce/schema)
