Skip to main content
POST
/
v1
/
ramp
/
address
/
validate
Validate Crypto Address
const options = {
  method: 'POST',
  headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({blockchain: 'MATIC', address: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'})
};

fetch('https://sandboxapi.me-cash.com/v1/ramp/address/validate', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "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.