username:passwordAuthorization: Basic *****************{
"externalIdentifier": "{{$randomUUID}}",
"amount": 20.00,
"currency": "BRL",
"paymentMethod": "PIX",
"customer": {
"documentNumber": "43278243803",
"firstName": "Iago",
"lastName": "Senefonte"
},
"bankAccount":{
"key": "43278243803"
}
}curl --location --request POST '/withdrawals' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"externalIdentifier": "{{$randomUUID}}",
"amount": 20.00,
"currency": "BRL",
"paymentMethod": "PIX",
"customer": {
"documentNumber": "43278243803",
"firstName": "Iago",
"lastName": "Senefonte"
},
"bankAccount":{
"key": "43278243803"
}
}'{
"id": "669a9c231482bf548bb723f6",
"externalIdentifier": "5a43294e-dc5c-491b-9518-3588ea1c9d19",
"amount": 20,
"currency": "BRL",
"paymentMethod": "PIX",
"message": null,
"status": "PENDING",
"customer": {
"id": "b8d5eba9-94fa-47cb-bdcf-3b193cbfbdca",
"documentNumber": "43278243803",
"firstName": "Iago",
"lastName": "Senefonte",
"status": "REGISTERED",
"registeredAt": "2024-07-19T13:57:35.807Z",
"registrationUrl": null
}
}