Authenticate requests to the PayEvo REST API
The PayEvo API uses REST architecture and returns all responses in JSON format. To access API resources, use Basic Authentication by providing your secret key. The secret key is located in the PayEvo control panel under Settings → API Credentials. The key must be Base64 encoded and included in the
Authorization request header.const options = {
method: "POST",
url: "https://apiv2.payevo.com.br/functions/v1/transactions",
headers: {
authorization: 'Basic ' + new Buffer("{SECRET_KEY}").toString('base64')
}
}