Get sdk token by client

POST https://exchange-core.whitebird.io/api/v1/merchant/sdk/token

Request headers

NameTypeRequiredDescription
x-api-keyStringYesMerchant security key
linkIdStringYesLinked client id

Request params

NameTypeRequiredDescription
linkIdStringYesLinked client id

Response

{
  "expiresAt": "2022-01-04T09:01:29.558Z",
  "token": "string"
}
{
 "message": "link not found",
 "code":"404"
 "status": "NOT_FOUND"
}
{
 "message": "invalid x-api-key",
 "code":"401"
 "status": "UNAUTHORIZED"
}

Example request

curl -X POST 'https://exchange-core.whitebird.io/api/v1/merchant/sdk/token' \
  -H 'Content-Type: application/json'