I do request from postman. Hello world works fine but https://sandbox.api.visa.com/aliasdirectory/v1/getAliasMetadata
giving error.
request
curl --location 'https://sandbox.api.visa.com/aliasdirectory/v1/getAliasMetadata' \
--header 'keyId: cec32378-041a-4b45-8a44-63cec766f6d1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic S0E3RjJZRkRTWEU2UjhLOFZaS0YyMXpqSnVrZTdLTWV3aTcxYjdyS3Y4VFlPdnhDRTozaGx1b1Y3NW9jcDl3QTlCQWl0SFpaUWN0NDg=' \
--data '{
"aliases": [
"19002387857"
]
}'
response
{
"responseStatus": {
"status": 401,
"code": "9207",
"severity": "ERROR",
"message": "Token validation failed",
"info": ""
}
}