curl --request POST \
--url https://billing.platform.arb.inc/charge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "charge-2025-08-15-abc123def456",
"skus": [
{
"code": "DOCUMENT_FILING",
"quantity": 1
}
],
"createdBy": "user-2720f109-0caf-4c62-af22-5d08c853711c",
"userID": "2720f109-0caf-4c62-af22-5d08c853711c",
"orgID": "3840f219-1dbf-5d73-bg33-6e19d964822d",
"caseID": "2025-08-00292",
"partyID": "claimant",
"useCredits": true,
"taxCredits": 0.5,
"taxDollars": 0
}
'import requests
url = "https://billing.platform.arb.inc/charge"
payload = {
"idempotencyKey": "charge-2025-08-15-abc123def456",
"skus": [
{
"code": "DOCUMENT_FILING",
"quantity": 1
}
],
"createdBy": "user-2720f109-0caf-4c62-af22-5d08c853711c",
"userID": "2720f109-0caf-4c62-af22-5d08c853711c",
"orgID": "3840f219-1dbf-5d73-bg33-6e19d964822d",
"caseID": "2025-08-00292",
"partyID": "claimant",
"useCredits": True,
"taxCredits": 0.5,
"taxDollars": 0
}
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({
idempotencyKey: 'charge-2025-08-15-abc123def456',
skus: [{code: 'DOCUMENT_FILING', quantity: 1}],
createdBy: 'user-2720f109-0caf-4c62-af22-5d08c853711c',
userID: '2720f109-0caf-4c62-af22-5d08c853711c',
orgID: '3840f219-1dbf-5d73-bg33-6e19d964822d',
caseID: '2025-08-00292',
partyID: 'claimant',
useCredits: true,
taxCredits: 0.5,
taxDollars: 0
})
};
fetch('https://billing.platform.arb.inc/charge', 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://billing.platform.arb.inc/charge",
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([
'idempotencyKey' => 'charge-2025-08-15-abc123def456',
'skus' => [
[
'code' => 'DOCUMENT_FILING',
'quantity' => 1
]
],
'createdBy' => 'user-2720f109-0caf-4c62-af22-5d08c853711c',
'userID' => '2720f109-0caf-4c62-af22-5d08c853711c',
'orgID' => '3840f219-1dbf-5d73-bg33-6e19d964822d',
'caseID' => '2025-08-00292',
'partyID' => 'claimant',
'useCredits' => true,
'taxCredits' => 0.5,
'taxDollars' => 0
]),
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://billing.platform.arb.inc/charge"
payload := strings.NewReader("{\n \"idempotencyKey\": \"charge-2025-08-15-abc123def456\",\n \"skus\": [\n {\n \"code\": \"DOCUMENT_FILING\",\n \"quantity\": 1\n }\n ],\n \"createdBy\": \"user-2720f109-0caf-4c62-af22-5d08c853711c\",\n \"userID\": \"2720f109-0caf-4c62-af22-5d08c853711c\",\n \"orgID\": \"3840f219-1dbf-5d73-bg33-6e19d964822d\",\n \"caseID\": \"2025-08-00292\",\n \"partyID\": \"claimant\",\n \"useCredits\": true,\n \"taxCredits\": 0.5,\n \"taxDollars\": 0\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://billing.platform.arb.inc/charge")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"charge-2025-08-15-abc123def456\",\n \"skus\": [\n {\n \"code\": \"DOCUMENT_FILING\",\n \"quantity\": 1\n }\n ],\n \"createdBy\": \"user-2720f109-0caf-4c62-af22-5d08c853711c\",\n \"userID\": \"2720f109-0caf-4c62-af22-5d08c853711c\",\n \"orgID\": \"3840f219-1dbf-5d73-bg33-6e19d964822d\",\n \"caseID\": \"2025-08-00292\",\n \"partyID\": \"claimant\",\n \"useCredits\": true,\n \"taxCredits\": 0.5,\n \"taxDollars\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://billing.platform.arb.inc/charge")
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 \"idempotencyKey\": \"charge-2025-08-15-abc123def456\",\n \"skus\": [\n {\n \"code\": \"DOCUMENT_FILING\",\n \"quantity\": 1\n }\n ],\n \"createdBy\": \"user-2720f109-0caf-4c62-af22-5d08c853711c\",\n \"userID\": \"2720f109-0caf-4c62-af22-5d08c853711c\",\n \"orgID\": \"3840f219-1dbf-5d73-bg33-6e19d964822d\",\n \"caseID\": \"2025-08-00292\",\n \"partyID\": \"claimant\",\n \"useCredits\": true,\n \"taxCredits\": 0.5,\n \"taxDollars\": 0\n}"
response = http.request(request)
puts response.read_body{
"transactionID": "7e2a8c9f-1b3d-4e6f-8a7c-9b1e3d5f7a9c",
"balanceID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"subtotal": 10,
"tax": 0.5,
"total": 10.5,
"currency": "credits",
"balanceAfterCredits": 140,
"balanceAfterDollars": 25.75,
"items": [
{
"skuCode": "DOCUMENT_FILING",
"skuName": "Document Filing",
"quantity": 1,
"unitPrice": 10,
"lineSubtotal": 10
}
],
"created": "2025-08-15T14:30:00.000Z"
}Process a charge
Processes a charge against a balance for specified SKUs with idempotency support. The charge can be processed in credits or dollars depending on the useCredits flag. Requires billing.transactions.creator permission.
curl --request POST \
--url https://billing.platform.arb.inc/charge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "charge-2025-08-15-abc123def456",
"skus": [
{
"code": "DOCUMENT_FILING",
"quantity": 1
}
],
"createdBy": "user-2720f109-0caf-4c62-af22-5d08c853711c",
"userID": "2720f109-0caf-4c62-af22-5d08c853711c",
"orgID": "3840f219-1dbf-5d73-bg33-6e19d964822d",
"caseID": "2025-08-00292",
"partyID": "claimant",
"useCredits": true,
"taxCredits": 0.5,
"taxDollars": 0
}
'import requests
url = "https://billing.platform.arb.inc/charge"
payload = {
"idempotencyKey": "charge-2025-08-15-abc123def456",
"skus": [
{
"code": "DOCUMENT_FILING",
"quantity": 1
}
],
"createdBy": "user-2720f109-0caf-4c62-af22-5d08c853711c",
"userID": "2720f109-0caf-4c62-af22-5d08c853711c",
"orgID": "3840f219-1dbf-5d73-bg33-6e19d964822d",
"caseID": "2025-08-00292",
"partyID": "claimant",
"useCredits": True,
"taxCredits": 0.5,
"taxDollars": 0
}
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({
idempotencyKey: 'charge-2025-08-15-abc123def456',
skus: [{code: 'DOCUMENT_FILING', quantity: 1}],
createdBy: 'user-2720f109-0caf-4c62-af22-5d08c853711c',
userID: '2720f109-0caf-4c62-af22-5d08c853711c',
orgID: '3840f219-1dbf-5d73-bg33-6e19d964822d',
caseID: '2025-08-00292',
partyID: 'claimant',
useCredits: true,
taxCredits: 0.5,
taxDollars: 0
})
};
fetch('https://billing.platform.arb.inc/charge', 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://billing.platform.arb.inc/charge",
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([
'idempotencyKey' => 'charge-2025-08-15-abc123def456',
'skus' => [
[
'code' => 'DOCUMENT_FILING',
'quantity' => 1
]
],
'createdBy' => 'user-2720f109-0caf-4c62-af22-5d08c853711c',
'userID' => '2720f109-0caf-4c62-af22-5d08c853711c',
'orgID' => '3840f219-1dbf-5d73-bg33-6e19d964822d',
'caseID' => '2025-08-00292',
'partyID' => 'claimant',
'useCredits' => true,
'taxCredits' => 0.5,
'taxDollars' => 0
]),
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://billing.platform.arb.inc/charge"
payload := strings.NewReader("{\n \"idempotencyKey\": \"charge-2025-08-15-abc123def456\",\n \"skus\": [\n {\n \"code\": \"DOCUMENT_FILING\",\n \"quantity\": 1\n }\n ],\n \"createdBy\": \"user-2720f109-0caf-4c62-af22-5d08c853711c\",\n \"userID\": \"2720f109-0caf-4c62-af22-5d08c853711c\",\n \"orgID\": \"3840f219-1dbf-5d73-bg33-6e19d964822d\",\n \"caseID\": \"2025-08-00292\",\n \"partyID\": \"claimant\",\n \"useCredits\": true,\n \"taxCredits\": 0.5,\n \"taxDollars\": 0\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://billing.platform.arb.inc/charge")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"charge-2025-08-15-abc123def456\",\n \"skus\": [\n {\n \"code\": \"DOCUMENT_FILING\",\n \"quantity\": 1\n }\n ],\n \"createdBy\": \"user-2720f109-0caf-4c62-af22-5d08c853711c\",\n \"userID\": \"2720f109-0caf-4c62-af22-5d08c853711c\",\n \"orgID\": \"3840f219-1dbf-5d73-bg33-6e19d964822d\",\n \"caseID\": \"2025-08-00292\",\n \"partyID\": \"claimant\",\n \"useCredits\": true,\n \"taxCredits\": 0.5,\n \"taxDollars\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://billing.platform.arb.inc/charge")
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 \"idempotencyKey\": \"charge-2025-08-15-abc123def456\",\n \"skus\": [\n {\n \"code\": \"DOCUMENT_FILING\",\n \"quantity\": 1\n }\n ],\n \"createdBy\": \"user-2720f109-0caf-4c62-af22-5d08c853711c\",\n \"userID\": \"2720f109-0caf-4c62-af22-5d08c853711c\",\n \"orgID\": \"3840f219-1dbf-5d73-bg33-6e19d964822d\",\n \"caseID\": \"2025-08-00292\",\n \"partyID\": \"claimant\",\n \"useCredits\": true,\n \"taxCredits\": 0.5,\n \"taxDollars\": 0\n}"
response = http.request(request)
puts response.read_body{
"transactionID": "7e2a8c9f-1b3d-4e6f-8a7c-9b1e3d5f7a9c",
"balanceID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"subtotal": 10,
"tax": 0.5,
"total": 10.5,
"currency": "credits",
"balanceAfterCredits": 140,
"balanceAfterDollars": 25.75,
"items": [
{
"skuCode": "DOCUMENT_FILING",
"skuName": "Document Filing",
"quantity": 1,
"unitPrice": 10,
"lineSubtotal": 10
}
],
"created": "2025-08-15T14:30:00.000Z"
}Authorizations
access token
Body
Unique key to prevent duplicate charges (1-255 characters)
"charge-2025-08-15-abc123def456"
List of SKUs to charge (at least one required)
Show child attributes
Show child attributes
Identifier of who created this charge (1-255 characters)
"user-2720f109-0caf-4c62-af22-5d08c853711c"
User ID to charge (exactly one of userID or orgID must be provided)
"2720f109-0caf-4c62-af22-5d08c853711c"
Organization ID to charge (exactly one of userID or orgID must be provided)
"3840f219-1dbf-5d73-bg33-6e19d964822d"
Optional case ID to associate with the charge (max 20 characters)
"2025-08-00292"
Optional filing party ID (max 20 characters)
"claimant"
Whether to charge in credits (true) or dollars (false)
true
Tax amount in credits (must be non-negative)
0.5
Tax amount in dollars (must be non-negative)
0
Response
Charge processed successfully
"7e2a8c9f-1b3d-4e6f-8a7c-9b1e3d5f7a9c"
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
"completed"
10
0.5
10.5
"credits"
140
25.75
Show child attributes
Show child attributes
"2025-08-15T14:30:00.000Z"