Criar saque Pix
curl --request POST \
--url https://nuvrapayments.com/api/v1/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 50000,
"externalReference": "saque-1099",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"description": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 50000,
externalReference: 'saque-1099',
pixKey: '12345678909',
pixKeyType: 'cpf',
description: '<string>'
})
};
fetch('https://nuvrapayments.com/api/v1/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://nuvrapayments.com/api/v1/payouts"
payload = {
"amount": 50000,
"externalReference": "saque-1099",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nuvrapayments.com/api/v1/payouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 50000,
'externalReference' => 'saque-1099',
'pixKey' => '12345678909',
'pixKeyType' => 'cpf',
'description' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"amount": 50000,
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2026-12-03T12:00:00.000Z",
"currency": "BRL",
"endToEndId": "<string>",
"environment": "live",
"externalReference": "saque-1099",
"failureReason": "<string>",
"fee": 350,
"id": "pay_...",
"method": "pix",
"originIp": "<string>",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"recipient": {
"name": "<string>",
"document": "<string>",
"documentType": "cpf",
"bank": {
"ispb": "<string>",
"name": "<string>",
"cnpj": "<string>"
},
"account": {
"branch": "<string>",
"number": "<string>",
"type": "<string>"
}
},
"status": "processing",
"totalDebited": 50350,
"type": "pix_key"
}{
"amount": 50000,
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2026-12-03T12:00:00.000Z",
"currency": "BRL",
"endToEndId": "<string>",
"environment": "live",
"externalReference": "saque-1099",
"failureReason": "<string>",
"fee": 350,
"id": "pay_...",
"method": "pix",
"originIp": "<string>",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"recipient": {
"name": "<string>",
"document": "<string>",
"documentType": "cpf",
"bank": {
"ispb": "<string>",
"name": "<string>",
"cnpj": "<string>"
},
"account": {
"branch": "<string>",
"number": "<string>",
"type": "<string>"
}
},
"status": "processing",
"totalDebited": 50350,
"type": "pix_key"
}Saldo e saques
Criar saque Pix
Envia dinheiro do saldo para uma chave Pix ou paga um QR Code Pix (type: "brcode"). Tudo é validado antes de qualquer débito. Exige a permissão sensível payout:create, cadastro aprovado e IP na allowlist. Idempotente por externalReference: reenviar devolve o mesmo saque.
POST
/
payouts
Criar saque Pix
curl --request POST \
--url https://nuvrapayments.com/api/v1/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 50000,
"externalReference": "saque-1099",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"description": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 50000,
externalReference: 'saque-1099',
pixKey: '12345678909',
pixKeyType: 'cpf',
description: '<string>'
})
};
fetch('https://nuvrapayments.com/api/v1/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://nuvrapayments.com/api/v1/payouts"
payload = {
"amount": 50000,
"externalReference": "saque-1099",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nuvrapayments.com/api/v1/payouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 50000,
'externalReference' => 'saque-1099',
'pixKey' => '12345678909',
'pixKeyType' => 'cpf',
'description' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"amount": 50000,
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2026-12-03T12:00:00.000Z",
"currency": "BRL",
"endToEndId": "<string>",
"environment": "live",
"externalReference": "saque-1099",
"failureReason": "<string>",
"fee": 350,
"id": "pay_...",
"method": "pix",
"originIp": "<string>",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"recipient": {
"name": "<string>",
"document": "<string>",
"documentType": "cpf",
"bank": {
"ispb": "<string>",
"name": "<string>",
"cnpj": "<string>"
},
"account": {
"branch": "<string>",
"number": "<string>",
"type": "<string>"
}
},
"status": "processing",
"totalDebited": 50350,
"type": "pix_key"
}{
"amount": 50000,
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2026-12-03T12:00:00.000Z",
"currency": "BRL",
"endToEndId": "<string>",
"environment": "live",
"externalReference": "saque-1099",
"failureReason": "<string>",
"fee": 350,
"id": "pay_...",
"method": "pix",
"originIp": "<string>",
"pixKey": "12345678909",
"pixKeyType": "cpf",
"recipient": {
"name": "<string>",
"document": "<string>",
"documentType": "cpf",
"bank": {
"ispb": "<string>",
"name": "<string>",
"cnpj": "<string>"
},
"account": {
"branch": "<string>",
"number": "<string>",
"type": "<string>"
}
},
"status": "processing",
"totalDebited": 50350,
"type": "pix_key"
}Authorizations
Body
application/json
- Chave Pix
- QR Code Pix (copia e cola)
Response
Já existe um saque com esta externalReference: devolvemos o mesmo saque, mesmo que o corpo seja diferente. Nada novo foi criado.