Billing
List the changes to the company's credit balance
Every change to the authenticated company’s credit balance, newest first, one cursor page at a time, with the balance after each. A promotional movement names no one and gives no reason. Reading changes nothing.
GET
/
api
/
settings
/
billing
/
credits
/
movements
List the changes to the company's credit balance
curl --request GET \
--url https://api.fluid.app/api/settings/billing/credits/movements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/settings/billing/credits/movements"
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/settings/billing/credits/movements', 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/settings/billing/credits/movements",
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/settings/billing/credits/movements"
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/settings/billing/credits/movements")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/settings/billing/credits/movements")
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{
"credit_movements": [
{
"id": "5e0f4a9c-2d7b-4c61-8f3a-b19e7d6c2a58",
"kind": "draw",
"label": "AI usage",
"source": "purchase",
"amount_cents": -1250,
"balance_after_cents": 184250,
"category": "ai",
"usage_event_id": "a8d3c6e1-4f2b-4b97-9e05-7c1a3d8f6b24",
"purchase_id": null,
"occurred_at": "2026-09-29T19:48:33Z"
},
{
"id": "0b9c7e3d-81a4-4f5e-a6d2-3c8e1f7b9a40",
"kind": "grant",
"label": "Bonus credits",
"source": "bonus",
"amount_cents": 10000,
"balance_after_cents": 185500,
"category": null,
"usage_event_id": null,
"purchase_id": 7342,
"occurred_at": "2026-09-12T16:20:05Z"
},
{
"id": "d2f6a8b1-3e7c-4a90-b5d4-6f1c9e2a7b83",
"kind": "grant",
"label": "Credits purchased",
"source": "purchase",
"amount_cents": 100000,
"balance_after_cents": 175500,
"category": null,
"usage_event_id": null,
"purchase_id": 7342,
"occurred_at": "2026-09-12T16:20:05Z"
}
],
"status": 200,
"meta": {
"request_id": "f3b8c2d1-6a4e-4f7b-9c1d-2e5a8b7c4d90",
"timestamp": "2026-09-30T14:05:11Z",
"pagination": {
"cursor": null,
"limit": 25,
"prev_cursor": null,
"next_cursor": "eyJvY2N1cnJlZF9hdCI6IjIwMjYtMDktMTJUMTY6MjA6MDVaIiwiaWQiOiJkMmY2YThiMSJ9"
}
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer token authentication
Query Parameters
The cursor of the page to read; left out is the newest page.
Movements per page.
Required range:
1 <= x <= 100⌘I
List the changes to the company's credit balance
curl --request GET \
--url https://api.fluid.app/api/settings/billing/credits/movements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/settings/billing/credits/movements"
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/settings/billing/credits/movements', 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/settings/billing/credits/movements",
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/settings/billing/credits/movements"
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/settings/billing/credits/movements")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/settings/billing/credits/movements")
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{
"credit_movements": [
{
"id": "5e0f4a9c-2d7b-4c61-8f3a-b19e7d6c2a58",
"kind": "draw",
"label": "AI usage",
"source": "purchase",
"amount_cents": -1250,
"balance_after_cents": 184250,
"category": "ai",
"usage_event_id": "a8d3c6e1-4f2b-4b97-9e05-7c1a3d8f6b24",
"purchase_id": null,
"occurred_at": "2026-09-29T19:48:33Z"
},
{
"id": "0b9c7e3d-81a4-4f5e-a6d2-3c8e1f7b9a40",
"kind": "grant",
"label": "Bonus credits",
"source": "bonus",
"amount_cents": 10000,
"balance_after_cents": 185500,
"category": null,
"usage_event_id": null,
"purchase_id": 7342,
"occurred_at": "2026-09-12T16:20:05Z"
},
{
"id": "d2f6a8b1-3e7c-4a90-b5d4-6f1c9e2a7b83",
"kind": "grant",
"label": "Credits purchased",
"source": "purchase",
"amount_cents": 100000,
"balance_after_cents": 175500,
"category": null,
"usage_event_id": null,
"purchase_id": 7342,
"occurred_at": "2026-09-12T16:20:05Z"
}
],
"status": 200,
"meta": {
"request_id": "f3b8c2d1-6a4e-4f7b-9c1d-2e5a8b7c4d90",
"timestamp": "2026-09-30T14:05:11Z",
"pagination": {
"cursor": null,
"limit": 25,
"prev_cursor": null,
"next_cursor": "eyJvY2N1cnJlZF9hdCI6IjIwMjYtMDktMTJUMTY6MjA6MDVaIiwiaWQiOiJkMmY2YThiMSJ9"
}
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}