Integrations
Preview a Stripe payout reconciliation
Retrieves the payout and automatic payout balance transactions, checks qualified ledger lineage and persists the reconciliation evidence. Only paid automatic standard bank payouts with matching currency/net totals are ready; unsupported or unmatched activity returns needs_review. Does not create a QuickBooks Deposit. Requires permission: one of access_payment_gateways.
POST
/
admin
/
quickbooks
/
stripe-payouts
/
preview
Preview a Stripe payout reconciliation
curl --request POST \
--url https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payout_id": "po_example123"
}
'import requests
url = "https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview"
payload = { "payout_id": "po_example123" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({payout_id: 'po_example123'})
};
fetch('https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview', 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.gratona.com/v1/admin/quickbooks/stripe-payouts/preview",
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([
'payout_id' => 'po_example123'
]),
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;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview"
payload := strings.NewReader("{\n \"payout_id\": \"po_example123\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.gratona.com/v1/admin/quickbooks/stripe-payouts/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payout_id\": \"po_example123\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payout_id\": \"po_example123\"\n}"
response = http.request(request)
puts response.read_body{
"reconciliation": {
"id": 42,
"stripe_payout_id": "po_example123",
"status": "needs_review",
"reason_code": "Example",
"currency": "USD",
"gross_minor": 25,
"refunds_minor": 25,
"disputes_minor": 25,
"fees_minor": 25,
"unmatched_minor": 25,
"payout_minor": 25,
"difference_minor": 25,
"quickbooks_deposit_id": "Example",
"updated_at": "2026-10-20T12:00:00Z"
}
}{
"message": "Unauthorized",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}Authorizations
bearerAuthapiKeyAuth
Passport bearer token authentication for legacy admin sessions.
Body
application/json
Validated request fields for this operation.
Payout id belonging to the organization connected Stripe account.
Maximum string length:
191Pattern:
^po_[A-Za-z0-9]+$Example:
"po_example123"
Response
Operation result.
Stored payout reconciliation summary; preview persists evidence. A 200 needs_review response is not a successful QuickBooks posting.
Show child attributes
Show child attributes
⌘I
Preview a Stripe payout reconciliation
curl --request POST \
--url https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payout_id": "po_example123"
}
'import requests
url = "https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview"
payload = { "payout_id": "po_example123" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({payout_id: 'po_example123'})
};
fetch('https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview', 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.gratona.com/v1/admin/quickbooks/stripe-payouts/preview",
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([
'payout_id' => 'po_example123'
]),
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;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview"
payload := strings.NewReader("{\n \"payout_id\": \"po_example123\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.gratona.com/v1/admin/quickbooks/stripe-payouts/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payout_id\": \"po_example123\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/quickbooks/stripe-payouts/preview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payout_id\": \"po_example123\"\n}"
response = http.request(request)
puts response.read_body{
"reconciliation": {
"id": 42,
"stripe_payout_id": "po_example123",
"status": "needs_review",
"reason_code": "Example",
"currency": "USD",
"gross_minor": 25,
"refunds_minor": 25,
"disputes_minor": 25,
"fees_minor": 25,
"unmatched_minor": 25,
"payout_minor": 25,
"difference_minor": 25,
"quickbooks_deposit_id": "Example",
"updated_at": "2026-10-20T12:00:00Z"
}
}{
"message": "Unauthorized",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}