Introduction

Merchant get user token by this API.

Domains

Test Environment: https://api-nft-sbx.alchemytech.cc//nft/openapi/merchant/getToken

Prod Environment: https://openapi-nft.alchemypay.org/nft/openapi/merchant/getToken

API Description

Request Method: POST

Content-Type: application/json

Request Parameters

Header Parameters:

ParameterRequiredTypeDescription
appIdYstringUnique identifier for the application
timestampYstringCurrent UTC 13-digit timestamp, valid for 5 minutes
signYstringSignature, SHA1(appId + appSecret + timestamp),refer to Check on signature

Body Parameters:

ElementMandatoryData TypeRemarks
emailYstringend user’s email

Request Parameter Example:

{
    "email": "[email protected]"
}

Response sample

{
    "success": true,
    "returnCode": "0000",
    "returnMsg": "SUCCESS",
    "extend": "",
    "data": {
        "id": "0SRTSiMeHuVsghfkCCjpnQ==",
        "email": "sQiRfS/xy/cHWFHXmEsSVA==",
        "accessToken": "amLscAfRB5GUOzDWnlcT"  //user token,validate period is 7200s
    }
}