await axios.post('https://api.bspay.co/v2/pix/payment', {
amount: 500,
external_id: '123456',
description: 'Descrição',
creditParty: {
name: 'Monkey D. Luffy',
keyType: 'EMAIL',
key: 'm.luffy@onepiece.com',
taxId: '99999999999'
},
postbackUrl: 'https://linkdoseuwebhook.com',
}, {
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${token}`
}
});