Collecting a crypto address from your merchant
To send the funds to your merchant they'll need to give you a valid crypto address. In this step, we will use the Validate address endpoint to check that the address given is valid.
curl --request PUT \
     --url https://api.sandbox.bvnk.com/api/v1/pay/validate \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "code": "crypto",
     "currency": "USDT",
     "protocol": "TRC20",
     "address": "TFsmkjujT9omG5TFrEXYbDocTdjeeHgcrQ"
}
'You'll need the following information:
Parameter  | Type  | Description  | 
|---|---|---|
  | string  | Set to crypto.  | 
  | string  | The currency code of the address you are checking.  | 
  | string  | The protocol of the address you are checking.  | 
  | string  | The address you are checking.  | 
If the address is correct, you'll receive a 200 HTTP code response.
Updated 6 months ago
What’s Next