Fundraising
Refresh handwritten-card delivery status
Polls the recorded provider connection for an assigned vendor order and reconciles monotonic delivery state, confirmed cancellation/refund and pending work completion. Does not resubmit the card. Requires the configured Handwrytten feature (normally handwrytten_mailings). Requires permission: one of mailings_manage, manage_email.
POST
/
admin
/
handwrytten
/
orders
/
{handwryttenOrderId}
/
sync-status
Refresh handwritten-card delivery status
curl --request POST \
--url https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status', 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/orders/{handwryttenOrderId}/sync-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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/orders/{handwryttenOrderId}/sync-status"
req, _ := http.NewRequest("POST", 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.post("https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": 42,
"donor_id": 42,
"generated_mailing_id": 42,
"mailing_run_id": 42,
"fundraising_work_item_id": 42,
"status": "Example",
"approval_status": "Example",
"vendor_order_id": "Example",
"vendor_status": "Example",
"card_name": "Example",
"card_vendor_id": "Example",
"font_label": "Example",
"insert_vendor_id": "Example",
"message_resolved": "Example",
"created_by_user_name": "Example",
"submitted_at": "2026-10-20T12:00:00Z",
"requested_send_date": "2026-10-20",
"recipient_address_snapshot_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
},
"price": {
"billing_mode": "managed_wallet",
"pricing_version": "Example",
"rate_label": "Example",
"currency": "usd",
"components": [
{
"key": "Example",
"label": "Example",
"amount_cents": 100
}
],
"total_cents": 100
},
"governance_flags_json": {
"blocking_reasons": [
"Missing recipient country."
]
}
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}Authorizations
bearerAuthapiKeyAuth
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Handwryttenorder id in the current organization.
Response
Operation result.
Customer order projection. Practice test_submitted status is presented as verification_complete; provider state, request payloads, credentials and margin are omitted.
Show child attributes
Show child attributes
⌘I
Refresh handwritten-card delivery status
curl --request POST \
--url https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status', 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/orders/{handwryttenOrderId}/sync-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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/orders/{handwryttenOrderId}/sync-status"
req, _ := http.NewRequest("POST", 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.post("https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/sync-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": 42,
"donor_id": 42,
"generated_mailing_id": 42,
"mailing_run_id": 42,
"fundraising_work_item_id": 42,
"status": "Example",
"approval_status": "Example",
"vendor_order_id": "Example",
"vendor_status": "Example",
"card_name": "Example",
"card_vendor_id": "Example",
"font_label": "Example",
"insert_vendor_id": "Example",
"message_resolved": "Example",
"created_by_user_name": "Example",
"submitted_at": "2026-10-20T12:00:00Z",
"requested_send_date": "2026-10-20",
"recipient_address_snapshot_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
},
"price": {
"billing_mode": "managed_wallet",
"pricing_version": "Example",
"rate_label": "Example",
"currency": "usd",
"components": [
{
"key": "Example",
"label": "Example",
"amount_cents": 100
}
],
"total_cents": 100
},
"governance_flags_json": {
"blocking_reasons": [
"Missing recipient country."
]
}
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}