User Activate Request

Validating user contacts (phone number - email address) using One Time Password.

General Input For Any Request

Headers

Name
Type
Description

Content-Type*

string

application/json

ApiKey*

string

API Key

Authorization*

string

Bearer Access Token `Bearer <accessToken>` that returned from login Api

Request Body

Name
Type
Description

geoLocation*

object :

User Current Location {latitude, longitude}

userDeviceUtcTime*

requestId

<GUID>

{
  "data": <Data model according to each model described below>,
  "error_code": <int>,
  "error_message": <string>
}

Step 1 - Request Activate OTP

POST https://api.vlenseg.com/api/BusinessRequest/Activate

Use parameters mentioned in general input above, check the data model in responses below.

Step 2 - Validate The OTP

POST https://api.vlenseg.com/api/BusinessRequest/Activate

Use parameters mentioned in general input above, check the data model in responses below.

Request Body

Name
Type
Description

transactionId*

<GUID>

returned from the first step

otpRequestId*

<GUID>

returned from the first step

otpCode*

<string>

Sent to user register Phone Number via SMS

scanTransaction

{

"image": <string>

}

Mandatory if needsReValidate = true in the first step, contains user captured image as base 64 string.

Step 3 - Preform Payment

Use the payment Link that returned from Step 2 to preform payment action to the using iFrame in the mobile or external browser

Step 4 - Validate Payment & Activate Contract

POST https://api.vlenseg.com/api/BusinessRequest/Activate

Use parameters mentioned in general input above, check the data model in responses below.

Request Body

Name
Type
Description

transactionId*

<GUID>

returned from the first step

Last updated