Create Member
Members (buyers/recipients) for payments. (node_id, external_id) must be unique per node.
Authentication: Bearer token required.
Endpoint: POST /api/v1/members
Request Body
| Field | Type | Required | Validation | Description |
|---|---|---|---|---|
| node_id | string | Yes | UUID | Node UUID |
| external_id | string | Yes | 1–255 chars | External identifier (unique per node) |
| name | string | Yes | 1–255 chars | Member name |
| surname | string | No | max 255 | Surname |
| string | No | max 255, email | ||
| phone | string | No | max 50 | Phone |
| identity_number | string | No | max 50 | Identity number |
| tax_office | string | No | max 255 | Tax office |
| tax_number | string | No | max 50 | Tax number |
| address | string | No | — | Address |
| district | string | No | max 255 | District |
| city | string | No | max 255 | City |
| country | string | No | max 10 | Country |
| contact_name | string | No | max 255 | Contact name |
| locale | string | No | max 10 | Locale |
Response — 201 Created
Returns full member object including id, created_at.
| Status | Description |
|---|---|
| 404 | Node not found |
| 409 | Member with node_id+external_id already exists |