const url = 'https://sandboxapi.me-cash.com/v1/ramp/address/validate';
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: '{"blockchain":"MATIC","address":"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}