Customer Reference
Verify Registration
Upon successful customer register, a one-time verification code will be sent to the customer's specified primary login method. Use this endpoint to verify the customer's registration process.
Verify a customer's registration.
POST /v1/customer/verify-registration HTTP/1.1
Content-Type: application/json
Key: {API Key}
Sign: {Signature}
{
"sessionId": "string",
"verificationCode": "string"
}
Request
Body
application/json
Property | Type | Description |
---|---|---|
sessionId | string | The session ID of the customer. This is obtained from Register Customer. |
verificationCode | string | The one-time verification code sent to the customer's specified primary login method during registration. |
Response
Upon successful response, a one-time link will be returned. You will have to redirect the customer to the specified link to complete the final registration process. This step is the final step of the registration process before the customer can be binded.
Body
application/json{
"code": 0,
"message": "string",
"data": {
"redirectOneTimeLink": "string",
"expiredOn": 1706600000000
}
}
Properties
Property | Type | Description |
---|---|---|
code | number | The response code. |
message | string | The response message. |
data | object | The response data object. |
data.redirectOneTimeLink | string | The one-time link that you will have to redirect the customer to complete the final registration process. |
data.expiredOn | number | The expiry date and time in unix milliseconds of the one-time link. |
Register Customer
Register a new customer if the customer has not been registered yet on the platform.
Request One-Time Link
The one-time link is returned upon successful verify registration. If the one-time link is expired before customer is able to complete the final registration process, you can request for a new one-time link.