Skip to main content
POST
/
v1
/
ramp
/
address
/
validate
Validate Crypto Address
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);
}
{
  "status": "success",
  "message": "Operation completed successfully.",
  "data": {
    "valid": true
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
blockchain
string
required

Blockchain network (e.g., 'MATIC')

Example:

"MATIC"

address
string
required

Address to validate

Example:

"0x..."

Response

Crypto account details fetched successfully.

status
string
required
Example:

"success"

message
string
required
Example:

"Operation completed successfully."

data
object

The payload of the successful response.

I