QM Developer Docs
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
PropertyTypeDescription
sessionIdstringThe session ID of the customer. This is obtained from Register Customer.
verificationCodestringThe 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

PropertyTypeDescription
codenumberThe response code.
messagestringThe response message.
dataobjectThe response data object.
data.redirectOneTimeLinkstringThe one-time link that you will have to redirect the customer to complete the final registration process.
data.expiredOnnumberThe expiry date and time in unix milliseconds of the one-time link.

© 2023-2024 Quantum Metal Sdn Bhd