Start hyperCard SDK
Path:/hypercard/sdk/merchant/start
Method:POST
Content-Type:application/json
Response Content-Type:application/json
Description:
Example Request:
{
"user_identifier": "hypercard@legend.tech"
}
Request Parameter:
Parameter Name | Type | Required | Description |
---|---|---|---|
user_identifier | string | true | User unique identifier,Maximum 64 characters |
API Response:
Parameter Name | Description | Type |
---|---|---|
code | Error code | string |
data | object | Data object for this respond |
token | token | string |
msg | Error message | string |
Example Response:
{
"code": "00000",
"data": {
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTkxNjQ4NjEsInVzZXJuYW1lIjoiYWRtaW4ifQ.fo5a-H_C7XG3fSnNdCEMzM2QmrF5c7yypzoSxGzgJOo"
},
"msg": "ok"
}