Get a transaction
Retrieves a single transaction by slug, including its action, status,
amounts, and fee breakdown. Read-only. Only transactions created through
this API (live or sandbox) are addressable: a slug belonging to a checkout,
storefront, or admin transaction returns 404, as does any slug unknown to
the authenticated merchant.
curl --request GET \
--url https://api.fluid.app/api/payment/v2026-04/transactions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/payment/v2026-04/transactions/{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{
"data": {
"id": "fpi_01k5dm7w3q8hscranton",
"gateway_id": "stripe-usd",
"payment_method_id": "0192a3f4-6b1c-7d2e-8f40-5a6b7c8d9e01",
"card_network": "visa",
"parent_transaction_id": null,
"action": "authorize",
"status": "success",
"amount_cents": 5499,
"currency_code": "USD",
"payment_source": "CreditCard",
"gateway_transaction_id": "pi_3SBx7L2eZvKYlo2C1dM4sQ9f",
"reference_token": "order_48213",
"description": null,
"processing_fee_cents": 0,
"platform_fee_cents": 0,
"credited_amount_cents": 0,
"retain_on_success": false,
"metadata": {},
"created_at": "2026-09-15T17:04:31Z",
"updated_at": "2026-09-15T17:04:31Z"
},
"meta": {
"request_id": "0192a3f4-8495-71a2-a3c4-2f3a4b5c6d78",
"timestamp": "2026-09-16T08:30:00Z"
}
}{
"message": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"status": "<string>"
}{
"message": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": "error",
"message": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"errors": "<string>"
}Authorizations
Merchant API key (fp_live_* for live, fp_test_* for sandbox) or an
admin-tier JWT (company admin or root admin). Non-admin JWTs are
rejected with 403; live API keys additionally require the merchant's
API access to be enabled.
A company admin, company token or partner token also needs the role
grant for the action, or gets 403: gateways.view, .create,
.update or .delete (or the matching apm.* grant) for gateway
configuration, transactions.update for purchase, authorize, verify,
capture, void and credit, and transactions.view to read transactions.
API keys, root admins and droplet tokens are not checked against roles.
Path Parameters
Transaction slug
curl --request GET \
--url https://api.fluid.app/api/payment/v2026-04/transactions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{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.fluid.app/api/payment/v2026-04/transactions/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/payment/v2026-04/transactions/{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{
"data": {
"id": "fpi_01k5dm7w3q8hscranton",
"gateway_id": "stripe-usd",
"payment_method_id": "0192a3f4-6b1c-7d2e-8f40-5a6b7c8d9e01",
"card_network": "visa",
"parent_transaction_id": null,
"action": "authorize",
"status": "success",
"amount_cents": 5499,
"currency_code": "USD",
"payment_source": "CreditCard",
"gateway_transaction_id": "pi_3SBx7L2eZvKYlo2C1dM4sQ9f",
"reference_token": "order_48213",
"description": null,
"processing_fee_cents": 0,
"platform_fee_cents": 0,
"credited_amount_cents": 0,
"retain_on_success": false,
"metadata": {},
"created_at": "2026-09-15T17:04:31Z",
"updated_at": "2026-09-15T17:04:31Z"
},
"meta": {
"request_id": "0192a3f4-8495-71a2-a3c4-2f3a4b5c6d78",
"timestamp": "2026-09-16T08:30:00Z"
}
}{
"message": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"status": "<string>"
}{
"message": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": "error",
"message": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"errors": "<string>"
}