SDK

API Integration

Guest Login

This API will help to register the metamask account in our platform so in future we can track their orders and further activity of the user. After guest login wandxApp generation on random userId for identification of the user.

API URL : /RegisterUser

Method : POST

Headers : Ocp-Apim-Subscription-Key

Register User

Parameters

Name Type Description
UserAccount Address User Account address
UserEmail String Email address of the user
Name String Name of the user

Get Token

After Guest login we are using this API give the JWT token for particular user that login using guest login API. The token we will after response of this API will use for further validation of user request and also token will expire in 3 days

API URL : /Token

Method : POST

Headers : Ocp-Apim-Subscription-Key

Token

Parameters

Name Type Description
UserAccount Address User Account address
UserEmail String Email address of the user
Name String Name of the user

Platform Token

This API will get the all platform token that are regsitered in our wandx app with detail like id, name and address of the token that will use for the get buy order API.

API URL : /PlatformToken

Method : GET

Headers : "Ocp-Apim-Subscription-Key,

Token : token(JWT)"

Platform Token

getBuyorder

This API will get the all buyorder of the particular token with ownerid, selling token list and all address with status and many more this please check attachment for that.

API URL : /order/sell/getall/+tokenId

Method : GET

Headers : "Ocp-Apim-Subscription-Key,

Token : token(JWT)"

Get Buyer Order