POST
https://exchange-core.whitebird.io/api/v1/merchant/sdk/token
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
| x-api-key | String | Yes | Merchant security key |
| linkId | String | Yes | Linked client id |
Request params
| Name | Type | Required | Description |
|---|---|---|---|
| linkId | String | Yes | Linked 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'