Skip to content

Register user

POST /v1/pam/v1/registration/iframe

Registers a user using the iframe form, if the user does not already exist. Purpose: pre-registration of iFrame players. This endpoint is used in scenarios where a client mirrors their own registration on our platform. Not designed for batch player migrations

Body example

JSON
{
  "address": "string",
  "city": "string",
  "country": "string",
  "defaultCurrency": "USD",
  "externalUserId": "MzwXXs",
  "formName": "IFRAMEFORM",
  "operatorUserId": "4321",
  "operatorUserName": "BackofficeUser",
  "selectedLanguage": "en"
}

Parameters

Name In Type Required Description
Authorization header string true Access token for client (See "Auth API")
X-Actor-Id header string false none
X-Actor-Ip header string false none
X-Actor-Type header string false none
X-Brand header string true Client's brand via request header.
X-Operator-Id header string true Client's operator identifier via request header.
body body object true none

Example responses

200 Response
"no example"
400 Response
{
  "code": "INVALID_MODEL",
  "detail": "Value cannot be null. (Parameter 'brand')",
  "status": 400,
  "title": "Bad Request",
  "traceId": "00-8a7360721b1ec597bc31dca0cf63e596-788503c2e0a3e5b1-00",
  "type": "https://tools.ietf.org/html/rfc7235#section-3.1"
}
429 Response
"no example"
500 Response
{
  "code": "UNEXPECTED_ERROR",
  "status": 500,
  "title": "An error occurred while processing your request.",
  "traceId": "00-9a75fd8dc2c5c1034b0af2bbd5efbdfa-6c3745f455cb4464-00",
  "type": "https://tools.ietf.org/html/rfc7231#section-6.6.1"
}

Responses

Status Meaning Description Schema
200 OK In case successful registration empty response None
400 Bad Request One of the following has occurred: invalid request (INVALID_MODEL code), form validation failure (INVALID_MODEL code) or the user already exists (ACCOUNT_ALREADY_REGISTERED code) None
429 Too Many Requests The endpoint is overloaded at the current moment or the client has exceeded the allowed request limit for a given period None
500 Internal Server Error An internal error has occurred None