Validate new order

If you want to validate all client orders before creation, you should implement endpoint and parse incoming requests.

Whitebird send POST request with preorder data:

{
  "id": "string",
  "asset": 100,
  "assetPosition": "INPUT",
  "currencyPair": {
    "fromCurrency": "USD",
    "toCurrency": "BTC"
  },
  "externalOrderId": "string",
  "orderType": "DEPOSIT",
  "exchangeType": "SELL",
  "limit": 100,
  "bonus": 0.1,
  "cryptoAddress": "string",
  "paymentToken": "UUID",
  "providerType": "ASSIST"
}

And expect response in JSON from merchant server:

{
"validationResult":"APPROVED/DECLINED", // Required
"validationMessage":"Some text" // Optional
}