Validate Address
Validate Address
PUT https://api.sandbox.coindirect.com/api/v1/pay/validate
This endpoint allows you to validate cryptocurrency destination addresses.
Request Body
Name
Type
Description
code
string
Always crypto
currency
string
E.g. USDT, BTC, etc
protocol
string
In case of USDT, it should be either ERC20 or TRC20. For other cryptocurrencies leave this field empty
address
string
Cryptocurrency address
{
"errorList": [
{
"parameter": "payOutInstruction",
"code": "invalidInstruction",
"message": "Invalid Payment Instruction"
}
]
}curl -X "PUT" "https://api.sandbox.coindirect.com/api/v1/pay/validate" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"code": "crypto",
"currency": "USDT",
"protocol": "TRC20",
"address": "TFsmkjujT9omG5TFrEXYbDocTdjeeHgcrQ"
}'Last updated
Was this helpful?