Creating a crypto Payin Order

POST /crypto/payin API

{
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "type": "individual",
  "country": "PH",
  "amount": 5,
  "cryptoTicker": "ETH",
  "purposeCode": "payroll_processing",
  "partnerContext": {},
  "withdrawDetails": {
    "cryptoTicker": "USDT",
    "walletAddress": "0xAa0C36a9b2Aa957139b1c28fb0b098510c6F9c8D"
  }
}

This returns the deposit wallet address details to which the user can pay the crypto. Also, withdrawDetails object is to be filled in incase you wish to receive instant settlements in crypto.