Create link

Create link.

  • Register new client on Whitebird and create link
  • Create link for existing Whitebird client
POST https://exchange-core.whitebird.io/api/v1/merchant/client

Request headers

NameTypeRequiredDescription
x-api-keyStringYesMerchant security key

Request body

NameTypeRequiredDescription
emailStringYesClient email

Response

{
  "linkId": "string",
  "status": "NOT_VERIFIED"
}
{
 "message": "validation errors",
 "code":"400"
 "status": "INVALID_EMAIL | LINK_ALREADY_EXISTS | BAD_REQUEST"
}
{
 "message": "invalid x-api-key",
 "code":"401"
 "status": "UNAUTHORIZED"
}

Example request

{
"email": "[email protected]"
}
curl -X POST 'https://exchange-core.whitebird.io/api/v1/merchant/client' \
  -H 'Content-Type: application/json' \
  -d '{
	"email": "[email protected]"
}'