var unirest = require("unirest"); var req = unirest("POST", apiUrl + "/v3/transactions/payment"); req.type("json"); req.send({ "token_account": "10cb30228afe374", "transaction": { "url_notification": "https://app.meusite.com/bell/" }, "customer": { "name": "Pedro da Silva", "cpf": "827.193.298-18", "email": "pedro.silva@email.com", }, "transaction_product": { "description": "Vestido estampado", "quantity": "1", "price_unit": "99.90" }, });