Creating a crypto withdrawal
Validating the crypto address
If integrated directly with our API, before making a withdrawal, it is recommended to validate the crypto address with the Validate address endpoint. This checks that all required data is present to achieve a successful transaction. This improves the end-user experience by providing feedback before creating the withdrawal.
For example, the message is required for XRP, XEM and XLM withdrawals to exchanges, ensuring the funds are allocated to the correct customer. Message for XRP means wallet tag, for XEM it is the message and for XLM is memo.
{
"valid": true
}
Error messageIf the address is invalid the withdrawal request will fail and you'll see an error like the following:
{
"defaultMessage": "string",
"errorCode": "WS_19 - Invalid crypto address",
"spanId": "string",
"traceId": "string"
}Updated about 17 hours ago
Did this page help you?