curl --location --request POST 'https://api.novuspagamentos.com/api/v2/payout' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ammmount": 10000,
"type": "",
"description": "",
"notes": "",
"postback_url": "",
"external_id": "",
"pix_key": "",
"pix_key_type": ""
}'{
"data": {
"amount": 1000,
"balances": {
"bank_slip": 0,
"card": 0,
"pix": 10100,
"total": 10100
},
"can_auto_process": true,
"external_id": "cff80120-1520-4338-987c-87926m4201b0",
"has_baas": true,
"id": 24,
"payee": {
"conta": {
"agencia": "123",
"ispb": "12345678",
"numero": "12345",
"tipo": 0
},
"documento": "123456789",
"nome": "PEDRO MIGUEL DA SILVA"
},
"payer": {
"conta": {
"agencia": "1",
"ispb": "12345678",
"numero": "000012345",
"tipo": 0
},
"documento": "123456789101112",
"nome": "EMPRESA MODELO"
},
"pix_key": "12345678910",
"pix_key_type": "CPF",
"postback_url": "https://google.com/",
"status": "processing",
"type": "withdrawal"
},
"message": "Auto-saque processado com sucesso"
}