Creating a Crypto Payin Order

POST /crypto/payin API

curl --request POST \
     --url https://sandbox-api.transfi.com/v2/crypto/payin \
     --header 'accept: application/json' \
     --header 'authorization: Basic dHJhbnNmaV9xYT' \
     --header 'MID: ABCDEF_NA_NA' \
     --header 'content-type: application/json' \
     --data '
{
  "email": "[email protected]",
  "amount": 100,
  "cryptoTicker": "USDTPOLYGON",
  "purposeCode": "payroll_processing"
}
'
{
  "orderId": "OR-241043569613457",
  "walletAddress": "0xbd09d42285b27626b23cd2e2d4517943df008606"
}

This returns the deposit wallet address details to which the user can pay the crypto.