Skip to main content
POST
/
api
/
v2.1
/
customer
/
individual
/
{customerId}
/
activation
cURL
curl --request POST \
  --url https://sandbox.finhub.cloud/api/v2.1/customer/individual/{customerId}/activation \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-For: <x-forwarded-for>' \
  --header 'X-Forwarded-From: <x-forwarded-from>' \
  --header 'X-Tenant-ID: <x-tenant-id>' \
  --header 'deviceId: <deviceid>' \
  --header 'platform: <platform>' \
  --data '
{
  "userId": "customer.20260331114946-387074@testcorp.com",
  "code": "ACTIVATION_CODE_20260331114954"
}
'

Individual Activation

Activates an individual customer account.

Endpoint

POST /api/v2.1/customer/individual/{customerId}/activation

Required Headers

Request Body (runner-aligned)

{
  "userId": "customer.20260331114946-387074@testcorp.com",
  "code": "ACTIVATION_CODE_20260331114954"
}

cURL

curl -X POST "https://sandbox.finhub.cloud/api/v2.1/customer/individual/{customerId}/activation" \
  -H "Content-Type: application/json" \
  -H "X-Tenant-ID: 97e7ff29-15f3-49ef-9681-3bbfcce4f6cd" \
  -H "Authorization: Bearer YOUR_ADMIN_TOKEN" \
  -d '{
    "userId": "customer.20260331114946-387074@testcorp.com",
    "code": "ACTIVATION_CODE_20260331114954"
  }'

Success Response

200
{
  "code": 200,
  "data": {},
  "message": "Success"
}
Used in B2C step runner Step 8 and aligned with individual-playground.crx.js.

Headers

X-Forwarded-For
string
required
X-Tenant-ID
string
required
X-Forwarded-From
string
required
platform
string
required
deviceId
string
required
Authorization
string
required

Path Parameters

customerId
string
required

Body

application/json
userId
string
required
Example:

"customer.20260331114946-387074@testcorp.com"

code
string
required
Example:

"ACTIVATION_CODE_20260331114954"

Response

200

Activated