📅  最后修改于: 2022-03-11 15:02:14.742000             🧑  作者: Mango
const pagarme = require('pagarme')
pagarme.client.connect({ api_key: 'SUA_API_KEY' })
.then(client => client.customers.all())
.then(customers => console.log(customers))