await axios.post('https://api.bspix.co/v2/pix/payment', {
amount: 500,
external_id: '123456',
description: 'Descrição',
creditParty: {
name: 'Pamela G. Ferreira',
keyType: 'EMAIL',
key: 'p.ferreira@bspix.com',
taxId: '99999999999'
},
postbackUrl: 'https://linkdoseuwebhook.com',
}, {
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${token}`
}
});