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

code

string

Set to crypto.

currency

string

The currency code of the address you are checking.

protocol

string

The protocol of the address you are checking.

address

string

The address you are checking.

If the address is correct, you'll receive a 200 HTTP code response.


Did this page help you?