Submit an approved handwritten card
Revalidates provider identity, sender, suppression, budget, approved quote and funding before sending. Live managed submission reserves/spends Postal Mail balance and may trigger authorized auto-reload; practice does not spend balance or complete outreach. Idempotent accepted orders return existing results; an ambiguous provider outcome is retained for reconciliation and returns 422. Requires the configured Handwrytten feature (normally handwrytten_mailings). Requires permission: one of mailings_manage, manage_email.
curl --request POST \
--url https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotency_key": "Idempotency Key"
}
'import requests
url = "https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit"
payload = { "idempotency_key": "Idempotency Key" }
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({idempotency_key: 'Idempotency Key'})
};
fetch('https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit', 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}/submit",
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([
'idempotency_key' => 'Idempotency Key'
]),
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://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit"
payload := strings.NewReader("{\n \"idempotency_key\": \"Idempotency Key\"\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://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotency_key\": \"Idempotency Key\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit")
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 \"idempotency_key\": \"Idempotency Key\"\n}"
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
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Handwryttenorder id in the current organization.
Body
Validated request fields for this operation.
Idempotency key. Validation: nullable, string, max:191.
191"Idempotency Key"
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
curl --request POST \
--url https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotency_key": "Idempotency Key"
}
'import requests
url = "https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit"
payload = { "idempotency_key": "Idempotency Key" }
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({idempotency_key: 'Idempotency Key'})
};
fetch('https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit', 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}/submit",
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([
'idempotency_key' => 'Idempotency Key'
]),
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://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit"
payload := strings.NewReader("{\n \"idempotency_key\": \"Idempotency Key\"\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://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotency_key\": \"Idempotency Key\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/handwrytten/orders/{handwryttenOrderId}/submit")
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 \"idempotency_key\": \"Idempotency Key\"\n}"
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."
}