POST
Activate User's Cashback Account

Authorizations

app-id
string
header
required

A unique identifier assigned to each application.

secret-key
string
header
required

A secure token associated with the app-id.

Body

application/json
user_id
string
required

The unique user ID provided by the merchant. This ID is used to identify the user in all cashback transactions.

Example:

"user_123"

first_name
string
required

The user's first name.

Example:

"John"

last_name
string
required

The user's last name.

Example:

"Doe"

phone
string

The user's phone number in international format (e.g., "+61412345678").

Example:

"+61412345678"

email
string

The user's email address, used for notifications and identification.

Example:

"user@example.com"

Response

User activated successfully.

user_id
string

The unique user ID assigned by the merchant.

Example:

"8GAVZZKTI3"

site_id
string

The unique identifier of the site associated with the user.

Example:

"3BAVFJ6H"

first_name
string

The user's first name.

Example:

"John"

last_name
string

The user's last name.

Example:

"Doe"

email
string | null

The user's email address.

Example:

"example@gmail.com"

phone
string | null

The user's phone number.

Example:

"+61412345678"

created_at
string<date-time>

The timestamp when the user was created in the cashback system.

Example:

"2024-11-06T16:39:48.264Z"

updated_at
string<date-time>

The timestamp when the user's information was last updated.

Example:

"2024-11-06T16:39:48.264Z"