Register a User
POST/openapi/v1/users/createUser| Item | Value |
|---|---|
| HTTP method | POST |
| Request path | /openapi/v1/users/createUser |
| Request type | application/json |
Request parameters:
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | User email address. |
externalId | string | Yes | User ID on the merchant side. |
firstName | string | Yes | First name. |
lastName | string | Yes | Last name. |
cardTypeId | string | Yes | Card type ID. |
Response data
| Field | Type | Description |
|---|---|---|
success | boolean | Whether processing succeeded. |
code | string | Platform response code. |
message | string | Platform response message. |
memberId | string | Platform member ID. |
email | string | User email address. |
firstName | string | First name. |
lastName | string | Last name. |
currency | string | User default currency, usually a three-letter ISO 4217 code; additional values may be introduced. |
status | string | Raw user status from the external provider; additional values may be introduced. Currently known values are normal, suspended. |
kycStatus | string | User KYC status: not_submitted, pending_approval, approved, rejected, modify, or cert_required. |
createdAt | string | User creation time at the external provider, as an ISO 8601 date-time string. |
