const request = require('request');

const options = {
  method: 'POST',
  url: 'https://api.betterez.com/accounts/tokens',
  headers: {'content-type': 'application/json', 'x-api-key': '{{x-api-key}}'},
  body: {key: '{{customerNumber}}', type: 'activate-customer-account'},
  json: true
};

request(options, function (error, response, body) {
	if (error) throw new Error(error);

	console.log(body);
});