Get a payout
curl --request GET \
--url https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/', 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://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "be90c3cc-7d18-4e2d-8e6e-9f5d7e4a5c3b",
"business_id": "3c90c3cc-8c03-4c1a-9c7a-8e5c9a3b4f2d",
"external_id": "stripe_po_2024_12_20",
"processor": "stripe",
"processor_payout_id": "po_1OeYZb2eZvKYlo2C6KqhQWxE",
"paid_out_amount_cents": 920000,
"fee_cents": 30000,
"additional_refunds_amount_cents": 0,
"net_amount_cents": 890000,
"currency": "GBP",
"status": "paid",
"completed_at": "2024-12-20T14:30:45Z",
"imported_at": "2024-12-20T15:00:12Z",
"reference_number": "PAYOUT-2024-W51",
"memo": "Weekly Stripe settlement",
"metadata": {
"batch_id": "w51"
},
"payment_count": 2,
"refund_payment_count": 1,
"gross_payments_amount_cents": 1000000,
"total_refunds_amount_cents": 50000,
"expected_net_amount_cents": 920000,
"amount_variance_cents": 0,
"payments": [
{
"id": "3c90c3cc-8c03-4c1a-9c7a-8e5c9a3b4f2d",
"external_id": "stripe_pi_xyz123",
"payment_reference": "PAY-2024-0042",
"customer_name": "The Red Lion Pub Ltd",
"payment_date": "2024-12-15",
"total_amount_cents": 450000,
"currency": "GBP"
}
],
"refund_payments": [
{
"id": "5e92e5ee-ae25-6e3c-be9c-ag7ebe5d6h4f",
"external_id": "stripe_re_abc456",
"refund_id": "6f03f6ff-bf36-7f4d-cf0d-bh8fcf6e7i5g",
"customer_name": "The Red Lion Pub Ltd",
"refunded_amount_cents": 50000,
"completed_at": "2024-12-16T10:00:00Z"
}
],
"reconciliation_status": "unreconciled",
"settlement_file_id": null,
"created_at": "2024-12-20T15:00:12Z",
"updated_at": "2024-12-20T15:00:12Z"
}Payouts
Get a payout
Get detailed information about a specific payout, including expanded payment and refund payment arrays.
GET
/
v1
/
platform
/
businesses
/
{business_id}
/
payouts
/
{payout_id}
/
Get a payout
curl --request GET \
--url https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/', 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://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev-backend.thredfi.com/v1/platform/businesses/{business_id}/payouts/{payout_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "be90c3cc-7d18-4e2d-8e6e-9f5d7e4a5c3b",
"business_id": "3c90c3cc-8c03-4c1a-9c7a-8e5c9a3b4f2d",
"external_id": "stripe_po_2024_12_20",
"processor": "stripe",
"processor_payout_id": "po_1OeYZb2eZvKYlo2C6KqhQWxE",
"paid_out_amount_cents": 920000,
"fee_cents": 30000,
"additional_refunds_amount_cents": 0,
"net_amount_cents": 890000,
"currency": "GBP",
"status": "paid",
"completed_at": "2024-12-20T14:30:45Z",
"imported_at": "2024-12-20T15:00:12Z",
"reference_number": "PAYOUT-2024-W51",
"memo": "Weekly Stripe settlement",
"metadata": {
"batch_id": "w51"
},
"payment_count": 2,
"refund_payment_count": 1,
"gross_payments_amount_cents": 1000000,
"total_refunds_amount_cents": 50000,
"expected_net_amount_cents": 920000,
"amount_variance_cents": 0,
"payments": [
{
"id": "3c90c3cc-8c03-4c1a-9c7a-8e5c9a3b4f2d",
"external_id": "stripe_pi_xyz123",
"payment_reference": "PAY-2024-0042",
"customer_name": "The Red Lion Pub Ltd",
"payment_date": "2024-12-15",
"total_amount_cents": 450000,
"currency": "GBP"
}
],
"refund_payments": [
{
"id": "5e92e5ee-ae25-6e3c-be9c-ag7ebe5d6h4f",
"external_id": "stripe_re_abc456",
"refund_id": "6f03f6ff-bf36-7f4d-cf0d-bh8fcf6e7i5g",
"customer_name": "The Red Lion Pub Ltd",
"refunded_amount_cents": 50000,
"completed_at": "2024-12-16T10:00:00Z"
}
],
"reconciliation_status": "unreconciled",
"settlement_file_id": null,
"created_at": "2024-12-20T15:00:12Z",
"updated_at": "2024-12-20T15:00:12Z"
}Authorizations
PartnerJWTBusinessScopedJWTBasicAuthBearerUnscopedBearerBusinessScoped
Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>
Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.
Path Parameters
Response
Full payout serializer for detail views and create responses Includes all computed fields and expanded payment/refund arrays
Was this page helpful?