curl --request GET \
--url https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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://api.sandbox.rails.wayex.com/v1/treasury/payouts/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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": "<string>",
"clientId": "<string>",
"beneficiaryId": "<string>",
"amount": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
},
"fee": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
},
"sourceDebit": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
},
"status": "accepted",
"configurationId": "<string>",
"externalReference": "<string>",
"purpose": "<string>",
"reservation": {
"status": "reserved",
"amount": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
}
},
"nextAction": "none",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"walletProviderReference": "<string>",
"downstreamMerchantReference": "<string>",
"evidenceId": "<string>",
"providerReference": "<string>",
"statusReason": "<string>",
"remitter": "wayex",
"onBehalfOf": "<string>",
"statementReference": "<string>"
}Get an AUD payout
Returns the authoritative amount, fee, reservation, beneficiary, references, and lifecycle for one AUD payout.
curl --request GET \
--url https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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://api.sandbox.rails.wayex.com/v1/treasury/payouts/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.rails.wayex.com/v1/treasury/payouts/{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": "<string>",
"clientId": "<string>",
"beneficiaryId": "<string>",
"amount": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
},
"fee": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
},
"sourceDebit": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
},
"status": "accepted",
"configurationId": "<string>",
"externalReference": "<string>",
"purpose": "<string>",
"reservation": {
"status": "reserved",
"amount": {
"amount": "<string>",
"currency": "AUD",
"network": "ethereum"
}
},
"nextAction": "none",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"walletProviderReference": "<string>",
"downstreamMerchantReference": "<string>",
"evidenceId": "<string>",
"providerReference": "<string>",
"statusReason": "<string>",
"remitter": "wayex",
"onBehalfOf": "<string>",
"statementReference": "<string>"
}What this endpoint does
Returns the authoritative amount, fee, reservation, beneficiary, references, and lifecycle for one AUD payout.When to use it
Use it after a webhook, timeout, hold, return, or support question to determine the current payout outcome.Before you call
Authenticate withtreasury:read and pass a payout ID owned by the same tenant account.
Money and balance effect
This is a read-only request. It does not reserve, debit, credit, or settle money.States and completion
Read the status, reason, reservation state, and next action together. Never infer settlement fromaccepted or submitted.
Safe retries
GET requests are read-only and may be retried with normal exponential backoff. Do not send anIdempotency-Key.
Read Beneficiaries and payouts for the complete workflow.Authorizations
Send the same Wayex API key as Authorization: Bearer <key>.
Path Parameters
Response
111Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
accepted, held, submitted, settled, failed, returned 1Your own reference for this payout, echoed back for correlation and reconciliation. This is NOT the idempotency key — use the Idempotency-Key header for retry-safety.
11 - 255Show child attributes
Show child attributes
none, wait_for_settlement, contact_support, retry_new_request, review_balance Optional. Your own reference for the upstream wallet or provider these funds relate to. Stored and returned for your reconciliation; Wayex does not interpret it.
1Optional. Your own reference for the downstream merchant or end-customer this payout is made for. Reconciliation and reporting metadata only; Wayex does not interpret it.
1The specific source-of-funds evidence record backing this payout (auto-selected when you do not pin one).
111wayex, tenant 11
