Payouts
Create Payout
Creates a new payout to send funds to a recipient.
POST
/
v1
/
payouts
Create payout
curl --request POST \
--url https://api-sandbox.y.uno/v1/payouts \
--header 'Content-Type: application/json' \
--header 'private-secret-key: <api-key>' \
--header 'public-api-key: <api-key>' \
--data '
{
"amount": {
"currency": "BRL",
"value": 500
},
"country": "BR",
"recipient_id": "d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a",
"description": "Seller payout - Order #1234",
"merchant_reference": "payout-ref-001",
"purpose": "SELLER_PAYMENT"
}
'import requests
url = "https://api-sandbox.y.uno/v1/payouts"
payload = {
"amount": {
"currency": "BRL",
"value": 500
},
"country": "BR",
"recipient_id": "d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a",
"description": "Seller payout - Order #1234",
"merchant_reference": "payout-ref-001",
"purpose": "SELLER_PAYMENT"
}
headers = {
"public-api-key": "<api-key>",
"private-secret-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'public-api-key': '<api-key>',
'private-secret-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount: {currency: 'BRL', value: 500},
country: 'BR',
recipient_id: 'd1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a',
description: 'Seller payout - Order #1234',
merchant_reference: 'payout-ref-001',
purpose: 'SELLER_PAYMENT'
})
};
fetch('https://api-sandbox.y.uno/v1/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.y.uno/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' => [
'currency' => 'BRL',
'value' => 500
],
'country' => 'BR',
'recipient_id' => 'd1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a',
'description' => 'Seller payout - Order #1234',
'merchant_reference' => 'payout-ref-001',
'purpose' => 'SELLER_PAYMENT'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"private-secret-key: <api-key>",
"public-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.y.uno/v1/payouts"
payload := strings.NewReader("{\n \"amount\": {\n \"currency\": \"BRL\",\n \"value\": 500\n },\n \"country\": \"BR\",\n \"recipient_id\": \"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n \"description\": \"Seller payout - Order #1234\",\n \"merchant_reference\": \"payout-ref-001\",\n \"purpose\": \"SELLER_PAYMENT\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("public-api-key", "<api-key>")
req.Header.Add("private-secret-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.y.uno/v1/payouts")
.header("public-api-key", "<api-key>")
.header("private-secret-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": {\n \"currency\": \"BRL\",\n \"value\": 500\n },\n \"country\": \"BR\",\n \"recipient_id\": \"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n \"description\": \"Seller payout - Order #1234\",\n \"merchant_reference\": \"payout-ref-001\",\n \"purpose\": \"SELLER_PAYMENT\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.y.uno/v1/payouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["public-api-key"] = '<api-key>'
request["private-secret-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": {\n \"currency\": \"BRL\",\n \"value\": 500\n },\n \"country\": \"BR\",\n \"recipient_id\": \"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n \"description\": \"Seller payout - Order #1234\",\n \"merchant_reference\": \"payout-ref-001\",\n \"purpose\": \"SELLER_PAYMENT\"\n}"
response = http.request(request)
puts response.read_body{
"id": "e2f3a4b5-c6d7-8e9f-0a1b-2c3d4e5f6a7b",
"status": "PENDING",
"amount": {
"currency": "BRL",
"value": 500
},
"country": "BR",
"recipient_id": "d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a",
"merchant_reference": "payout-ref-001",
"created_at": "2026-03-01T16:00:00.000Z"
}{
"code": "VALIDATION_ERROR",
"messages": [
"amount must be greater than 0",
"country must not be blank"
]
}Authorizations
Your public API key from the Yuno Dashboard
Your private secret key (server-side only)
Body
application/json
Show child attributes
Show child attributes
Example:
{ "currency": "BRL", "value": 100 }
ISO 3166-1 alpha-2 country code
Pattern:
^[A-Z]{2}$Example:
"BR"
The recipient to send funds to
Example:
"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a"
Payout description
Example:
"Seller payout - Order #1234"
Your internal payout reference
Example:
"payout-ref-001"
Purpose of the payout (see Purposes reference list)
Example:
"SELLER_PAYMENT"
Response
Payout created successfully
Example:
"e2f3a4b5-c6d7-8e9f-0a1b-2c3d4e5f6a7b"
Current payout status
Available options:
SUCCEEDED, PENDING, FAILED, CANCELLED Example:
"PENDING"
Show child attributes
Show child attributes
Example:
{ "currency": "BRL", "value": 100 }
Example:
"BR"
Example:
"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a"
Example:
"payout-ref-001"
Example:
"2026-03-01T16:00:00.000Z"
⌘I
Create payout
curl --request POST \
--url https://api-sandbox.y.uno/v1/payouts \
--header 'Content-Type: application/json' \
--header 'private-secret-key: <api-key>' \
--header 'public-api-key: <api-key>' \
--data '
{
"amount": {
"currency": "BRL",
"value": 500
},
"country": "BR",
"recipient_id": "d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a",
"description": "Seller payout - Order #1234",
"merchant_reference": "payout-ref-001",
"purpose": "SELLER_PAYMENT"
}
'import requests
url = "https://api-sandbox.y.uno/v1/payouts"
payload = {
"amount": {
"currency": "BRL",
"value": 500
},
"country": "BR",
"recipient_id": "d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a",
"description": "Seller payout - Order #1234",
"merchant_reference": "payout-ref-001",
"purpose": "SELLER_PAYMENT"
}
headers = {
"public-api-key": "<api-key>",
"private-secret-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'public-api-key': '<api-key>',
'private-secret-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount: {currency: 'BRL', value: 500},
country: 'BR',
recipient_id: 'd1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a',
description: 'Seller payout - Order #1234',
merchant_reference: 'payout-ref-001',
purpose: 'SELLER_PAYMENT'
})
};
fetch('https://api-sandbox.y.uno/v1/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.y.uno/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' => [
'currency' => 'BRL',
'value' => 500
],
'country' => 'BR',
'recipient_id' => 'd1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a',
'description' => 'Seller payout - Order #1234',
'merchant_reference' => 'payout-ref-001',
'purpose' => 'SELLER_PAYMENT'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"private-secret-key: <api-key>",
"public-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.y.uno/v1/payouts"
payload := strings.NewReader("{\n \"amount\": {\n \"currency\": \"BRL\",\n \"value\": 500\n },\n \"country\": \"BR\",\n \"recipient_id\": \"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n \"description\": \"Seller payout - Order #1234\",\n \"merchant_reference\": \"payout-ref-001\",\n \"purpose\": \"SELLER_PAYMENT\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("public-api-key", "<api-key>")
req.Header.Add("private-secret-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.y.uno/v1/payouts")
.header("public-api-key", "<api-key>")
.header("private-secret-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": {\n \"currency\": \"BRL\",\n \"value\": 500\n },\n \"country\": \"BR\",\n \"recipient_id\": \"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n \"description\": \"Seller payout - Order #1234\",\n \"merchant_reference\": \"payout-ref-001\",\n \"purpose\": \"SELLER_PAYMENT\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.y.uno/v1/payouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["public-api-key"] = '<api-key>'
request["private-secret-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": {\n \"currency\": \"BRL\",\n \"value\": 500\n },\n \"country\": \"BR\",\n \"recipient_id\": \"d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a\",\n \"description\": \"Seller payout - Order #1234\",\n \"merchant_reference\": \"payout-ref-001\",\n \"purpose\": \"SELLER_PAYMENT\"\n}"
response = http.request(request)
puts response.read_body{
"id": "e2f3a4b5-c6d7-8e9f-0a1b-2c3d4e5f6a7b",
"status": "PENDING",
"amount": {
"currency": "BRL",
"value": 500
},
"country": "BR",
"recipient_id": "d1e2f3a4-b5c6-7d8e-9f0a-1b2c3d4e5f6a",
"merchant_reference": "payout-ref-001",
"created_at": "2026-03-01T16:00:00.000Z"
}{
"code": "VALIDATION_ERROR",
"messages": [
"amount must be greater than 0",
"country must not be blank"
]
}