Fundraising
Read handwritten-card workspace settings
Returns saved defaults, spending governance, catalog counts and Postal Mail balance with separate funding/fulfillment readiness. May create default preference/governance rows; reading does not grant balance. Requires the configured Handwrytten feature (normally handwrytten_mailings). Requires permission: one of access_account_settings, manage_settings, mailings_view, mailings_generate, mailings_manage, manage_email.
GET
/
admin
/
handwrytten
/
settings
Read handwritten-card workspace settings
curl --request GET \
--url https://api.gratona.com/v1/admin/handwrytten/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/handwrytten/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/handwrytten/settings', 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.gratona.com/v1/admin/handwrytten/settings",
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.gratona.com/v1/admin/handwrytten/settings"
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.gratona.com/v1/admin/handwrytten/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/handwrytten/settings")
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": {
"preference": {
"account_mode": "hys_managed",
"partner_owned_setup_enabled": true,
"account_connected": true,
"status": "Example",
"test_mode": true,
"default_card_catalog_item_id": 42,
"default_signer_user_id": 42,
"default_card_vendor_id": "Example",
"default_font_label": "Example",
"default_insert_vendor_id": "Example",
"catalog_sync_status": "Example",
"catalog_sync_error": "Example",
"default_sender_address_json": {
"first_name": "Example",
"last_name": "Example",
"name": "Example",
"address1": "Example",
"address2": "Example",
"street": "Example",
"address_line2": "Example",
"city": "Example",
"state": "Example",
"province": "Example",
"zip": "Example",
"postal_code": "Example",
"country": "Example",
"country_code": "Example",
"country_id": 1
},
"default_return_address_json": {
"first_name": "Example",
"last_name": "Example",
"name": "Example",
"address1": "Example",
"address2": "Example",
"street": "Example",
"address_line2": "Example",
"city": "Example",
"state": "Example",
"province": "Example",
"zip": "Example",
"postal_code": "Example",
"country": "Example",
"country_code": "Example",
"country_id": 1
},
"estimated_monthly_volume": 100,
"low_credit_threshold": 100,
"catalog_synced_at": "2026-10-20T12:00:00Z",
"saved_preferences_json": {}
},
"operational_readiness": {
"status": "Example",
"ready": true,
"can_purchase_credits": true,
"can_submit_orders": true,
"fulfillment_enabled": true,
"funding_enabled": true,
"provider_configured": true,
"account_validated": true,
"provider_mode_sync_pending": true,
"catalog_synced": true,
"defaults_configured": true,
"sender_configured": true,
"webhook_configured": true,
"provider_fulfillment_ready": true,
"status_sync_strategy": "polling",
"blocking_reasons": [
"Choose a default card and handwriting style."
],
"credit_purchase_blocking_reasons": [
"Live Postal Mail sending has not been enabled by Gratona."
]
},
"governance": {
"id": 100,
"client_id": 100,
"monthly_cap_cents": 100,
"per_user_monthly_cap_cents": 100,
"low_balance_threshold_cents": 100,
"require_approval_over_cents": 100,
"outcome_window_days": 100,
"updated_by_user_id": 100,
"require_director_for_inserts": true,
"enforce_suppression": true,
"household_dedupe": true,
"require_cass_verification": true,
"program_caps_json": {},
"campaign_caps_json": {},
"created_at": "2026-10-20T12:00:00Z",
"updated_at": "2026-10-20T12:00:00Z"
},
"catalog_counts": {
"cards": 100,
"fonts": 100,
"inserts": 100
},
"credits": {
"balance_cents": 100,
"reserved_cents": 100,
"low_balance_threshold_cents": 100,
"low_balance": true,
"auto_reload": {
"enabled": true,
"threshold_cents": 100,
"pack_key": "postal-mail-50",
"requires_confirmation": true
},
"available_packs": [
{
"key": "postal-mail-50",
"amount_cents": 100
}
],
"balance_purchase_configured": true,
"pending_balance_purchase": {
"attempt_reference": "Example",
"pack_key": "Example",
"amount_cents": 100,
"payment_status": "Example",
"created_at": "2026-10-20T12:00:00Z"
},
"billing_mode": "managed_wallet",
"billing_status": "Example",
"pricing_version": "Example",
"standard_domestic_price_cents": 100,
"rate_label": "Example",
"currency": "usd",
"current_month": {
"spent_cents": 100,
"cards_submitted": 100,
"top_up_cash_collected_cents": 100,
"refunded_cents": 100
},
"recent_entries": [
{
"id": 100,
"credit_delta": 100,
"balance_delta_cents": 100,
"balance_after_cents": 100,
"balance_after_credits": 100,
"amount_cents": 100,
"entry_type": "Example",
"currency": "usd",
"created_at": "2026-10-20T12:00:00Z"
}
]
},
"managed_account": {
"configured": true
}
}
}{
"message": "Unauthorized",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}⌘I
Read handwritten-card workspace settings
curl --request GET \
--url https://api.gratona.com/v1/admin/handwrytten/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/handwrytten/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/handwrytten/settings', 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.gratona.com/v1/admin/handwrytten/settings",
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.gratona.com/v1/admin/handwrytten/settings"
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.gratona.com/v1/admin/handwrytten/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/handwrytten/settings")
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": {
"preference": {
"account_mode": "hys_managed",
"partner_owned_setup_enabled": true,
"account_connected": true,
"status": "Example",
"test_mode": true,
"default_card_catalog_item_id": 42,
"default_signer_user_id": 42,
"default_card_vendor_id": "Example",
"default_font_label": "Example",
"default_insert_vendor_id": "Example",
"catalog_sync_status": "Example",
"catalog_sync_error": "Example",
"default_sender_address_json": {
"first_name": "Example",
"last_name": "Example",
"name": "Example",
"address1": "Example",
"address2": "Example",
"street": "Example",
"address_line2": "Example",
"city": "Example",
"state": "Example",
"province": "Example",
"zip": "Example",
"postal_code": "Example",
"country": "Example",
"country_code": "Example",
"country_id": 1
},
"default_return_address_json": {
"first_name": "Example",
"last_name": "Example",
"name": "Example",
"address1": "Example",
"address2": "Example",
"street": "Example",
"address_line2": "Example",
"city": "Example",
"state": "Example",
"province": "Example",
"zip": "Example",
"postal_code": "Example",
"country": "Example",
"country_code": "Example",
"country_id": 1
},
"estimated_monthly_volume": 100,
"low_credit_threshold": 100,
"catalog_synced_at": "2026-10-20T12:00:00Z",
"saved_preferences_json": {}
},
"operational_readiness": {
"status": "Example",
"ready": true,
"can_purchase_credits": true,
"can_submit_orders": true,
"fulfillment_enabled": true,
"funding_enabled": true,
"provider_configured": true,
"account_validated": true,
"provider_mode_sync_pending": true,
"catalog_synced": true,
"defaults_configured": true,
"sender_configured": true,
"webhook_configured": true,
"provider_fulfillment_ready": true,
"status_sync_strategy": "polling",
"blocking_reasons": [
"Choose a default card and handwriting style."
],
"credit_purchase_blocking_reasons": [
"Live Postal Mail sending has not been enabled by Gratona."
]
},
"governance": {
"id": 100,
"client_id": 100,
"monthly_cap_cents": 100,
"per_user_monthly_cap_cents": 100,
"low_balance_threshold_cents": 100,
"require_approval_over_cents": 100,
"outcome_window_days": 100,
"updated_by_user_id": 100,
"require_director_for_inserts": true,
"enforce_suppression": true,
"household_dedupe": true,
"require_cass_verification": true,
"program_caps_json": {},
"campaign_caps_json": {},
"created_at": "2026-10-20T12:00:00Z",
"updated_at": "2026-10-20T12:00:00Z"
},
"catalog_counts": {
"cards": 100,
"fonts": 100,
"inserts": 100
},
"credits": {
"balance_cents": 100,
"reserved_cents": 100,
"low_balance_threshold_cents": 100,
"low_balance": true,
"auto_reload": {
"enabled": true,
"threshold_cents": 100,
"pack_key": "postal-mail-50",
"requires_confirmation": true
},
"available_packs": [
{
"key": "postal-mail-50",
"amount_cents": 100
}
],
"balance_purchase_configured": true,
"pending_balance_purchase": {
"attempt_reference": "Example",
"pack_key": "Example",
"amount_cents": 100,
"payment_status": "Example",
"created_at": "2026-10-20T12:00:00Z"
},
"billing_mode": "managed_wallet",
"billing_status": "Example",
"pricing_version": "Example",
"standard_domestic_price_cents": 100,
"rate_label": "Example",
"currency": "usd",
"current_month": {
"spent_cents": 100,
"cards_submitted": 100,
"top_up_cash_collected_cents": 100,
"refunded_cents": 100
},
"recent_entries": [
{
"id": 100,
"credit_delta": 100,
"balance_delta_cents": 100,
"balance_after_cents": 100,
"balance_after_credits": 100,
"amount_cents": 100,
"entry_type": "Example",
"currency": "usd",
"created_at": "2026-10-20T12:00:00Z"
}
]
},
"managed_account": {
"configured": true
}
}
}{
"message": "Unauthorized",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}