Approval Rate approval rate
Returns the payment approval rate for the current company over a reporting period. Each data point counts the approved (success) and declined payments in its bucket, with a per-status breakdown. kpis.total is the approval percentage for the whole period (approved / (approved + declined) x 100), compared against the preceding period. Always scoped to the caller’s company. Optional filters[integration_class][], filters[adapter_class][], filters[status][], filters[currency_code][] and filters[payment_action][] narrow the payments counted, and filters[type] (test or live) separates test from live traffic. A custom period without a valid start_date / end_date pair returns 400. Requires a company admin Bearer token with the reports.view permission.
curl --request GET \
--url https://api.fluid.app/api/v202506/payments/company_reports/approval_rate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202506/payments/company_reports/approval_rate"
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/v202506/payments/company_reports/approval_rate', 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/v202506/payments/company_reports/approval_rate",
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/v202506/payments/company_reports/approval_rate"
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/v202506/payments/company_reports/approval_rate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202506/payments/company_reports/approval_rate")
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_points": [
{
"timestamp": "2026-09-23T00:00:00Z",
"value": 44,
"interval": "daily",
"breakdown": {
"approved": 41,
"declined": 3
}
},
{
"timestamp": "2026-09-24T00:00:00Z",
"value": 40,
"interval": "daily",
"breakdown": {
"approved": 38,
"declined": 2
}
},
{
"timestamp": "2026-09-25T00:00:00Z",
"value": 49,
"interval": "daily",
"breakdown": {
"approved": 45,
"declined": 4
}
},
{
"timestamp": "2026-09-26T00:00:00Z",
"value": 55,
"interval": "daily",
"breakdown": {
"approved": 52,
"declined": 3
}
},
{
"timestamp": "2026-09-27T00:00:00Z",
"value": 52,
"interval": "daily",
"breakdown": {
"approved": 47,
"declined": 5
}
},
{
"timestamp": "2026-09-28T00:00:00Z",
"value": 38,
"interval": "daily",
"breakdown": {
"approved": 36,
"declined": 2
}
},
{
"timestamp": "2026-09-29T00:00:00Z",
"value": 47,
"interval": "daily",
"breakdown": {
"approved": 44,
"declined": 3
}
},
{
"timestamp": "2026-09-30T00:00:00Z",
"value": 20,
"interval": "daily",
"breakdown": {
"approved": 19,
"declined": 1
}
}
],
"kpis": {
"total": 93.44,
"previous_period_total": 92.1,
"growth": {
"value": 1.34,
"percent": 1.45
},
"average": 93.44,
"min": 93.44,
"max": 93.44
},
"period": {
"from": "2026-09-23T00:00:00Z",
"to": "2026-09-30T23:59:59Z",
"interval": "daily"
},
"previous_period": {
"from": "2026-09-15T00:00:00Z",
"to": "2026-09-23T00:00:00Z"
},
"meta": {
"request_id": "c0a8012e-7f3b-4d6a-9e21-5b8d4f2a6c17",
"timestamp": "2026-09-30T14:15:22Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Reporting period for the time series. Use custom together with start_date and end_date.
last_24_hours, last_7_days, last_30_days, last_month, last_year, custom ISO 8601 start of a custom period. Required when period is custom; must be before end_date.
ISO 8601 end of a custom period. Required when period is custom.
Time-series bucket size. Allowed values depend on period; defaults per period when omitted.
hourly, daily, weekly, monthly curl --request GET \
--url https://api.fluid.app/api/v202506/payments/company_reports/approval_rate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202506/payments/company_reports/approval_rate"
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/v202506/payments/company_reports/approval_rate', 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/v202506/payments/company_reports/approval_rate",
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/v202506/payments/company_reports/approval_rate"
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/v202506/payments/company_reports/approval_rate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202506/payments/company_reports/approval_rate")
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_points": [
{
"timestamp": "2026-09-23T00:00:00Z",
"value": 44,
"interval": "daily",
"breakdown": {
"approved": 41,
"declined": 3
}
},
{
"timestamp": "2026-09-24T00:00:00Z",
"value": 40,
"interval": "daily",
"breakdown": {
"approved": 38,
"declined": 2
}
},
{
"timestamp": "2026-09-25T00:00:00Z",
"value": 49,
"interval": "daily",
"breakdown": {
"approved": 45,
"declined": 4
}
},
{
"timestamp": "2026-09-26T00:00:00Z",
"value": 55,
"interval": "daily",
"breakdown": {
"approved": 52,
"declined": 3
}
},
{
"timestamp": "2026-09-27T00:00:00Z",
"value": 52,
"interval": "daily",
"breakdown": {
"approved": 47,
"declined": 5
}
},
{
"timestamp": "2026-09-28T00:00:00Z",
"value": 38,
"interval": "daily",
"breakdown": {
"approved": 36,
"declined": 2
}
},
{
"timestamp": "2026-09-29T00:00:00Z",
"value": 47,
"interval": "daily",
"breakdown": {
"approved": 44,
"declined": 3
}
},
{
"timestamp": "2026-09-30T00:00:00Z",
"value": 20,
"interval": "daily",
"breakdown": {
"approved": 19,
"declined": 1
}
}
],
"kpis": {
"total": 93.44,
"previous_period_total": 92.1,
"growth": {
"value": 1.34,
"percent": 1.45
},
"average": 93.44,
"min": 93.44,
"max": 93.44
},
"period": {
"from": "2026-09-23T00:00:00Z",
"to": "2026-09-30T23:59:59Z",
"interval": "daily"
},
"previous_period": {
"from": "2026-09-15T00:00:00Z",
"to": "2026-09-23T00:00:00Z"
},
"meta": {
"request_id": "c0a8012e-7f3b-4d6a-9e21-5b8d4f2a6c17",
"timestamp": "2026-09-30T14:15:22Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}