Create a staff event registration
Requires event registration permission. Creates a legacy registration using event ticket prices, donor access rules and capacity. Select at least a ticket, package, auction item or positive donation. Existing retry key returns its order. Staff defaults create_donor and send_confirmation to false. Closed RSVPs require registration_override_confirmed. Pending payments remain pending until completed or charged; this endpoint does not start browser checkout.
curl --request POST \
--url https://api.gratona.com/v1/admin/events/{eventId}/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purchaser": {
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"organization_name": "Example Foundation",
"email": "jane@example.org",
"phone": "+12565550123",
"type": "INDIVIDUAL",
"donor_type": "INDIVIDUAL"
},
"idempotency_key": "registration-request-1",
"tickets": [
{
"ticket_type_id": 42,
"quantity": 1,
"attendees": [
{
"first_name": "Jane",
"last_name": "Doe",
"email": "jane@example.org",
"phone": "+12565550123",
"event_table_id": 42,
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
]
}
]
}
],
"sponsor_packages": [
{
"sponsor_package_id": 42,
"quantity": 1,
"company_name": "Example Foundation",
"contact_name": "Jane Doe",
"contact_email": "jane@example.org",
"contact_phone": "+12565550123",
"logo_upload_id": 42
}
],
"auction_items": [
{
"auction_item_id": 42,
"quantity": 1,
"amount": 25
}
],
"promo_code": "WELCOME",
"donation_amount": 25,
"payment_method": "card",
"gateway": "stripe",
"payment_intent_id": "pi_example",
"currency": "USD",
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
],
"conversion_intents": [
"recurring_gift"
],
"create_donor": false,
"fees_covered_amount": 25,
"purchaser_donor_id": 42,
"payment_disposition": "free",
"transaction_id": "manual-001",
"notes": "Example",
"send_confirmation": false,
"registration_override_confirmed": false
}
'import requests
url = "https://api.gratona.com/v1/admin/events/{eventId}/orders"
payload = {
"purchaser": {
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"organization_name": "Example Foundation",
"email": "jane@example.org",
"phone": "+12565550123",
"type": "INDIVIDUAL",
"donor_type": "INDIVIDUAL"
},
"idempotency_key": "registration-request-1",
"tickets": [
{
"ticket_type_id": 42,
"quantity": 1,
"attendees": [
{
"first_name": "Jane",
"last_name": "Doe",
"email": "jane@example.org",
"phone": "+12565550123",
"event_table_id": 42,
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
]
}
]
}
],
"sponsor_packages": [
{
"sponsor_package_id": 42,
"quantity": 1,
"company_name": "Example Foundation",
"contact_name": "Jane Doe",
"contact_email": "jane@example.org",
"contact_phone": "+12565550123",
"logo_upload_id": 42
}
],
"auction_items": [
{
"auction_item_id": 42,
"quantity": 1,
"amount": 25
}
],
"promo_code": "WELCOME",
"donation_amount": 25,
"payment_method": "card",
"gateway": "stripe",
"payment_intent_id": "pi_example",
"currency": "USD",
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
],
"conversion_intents": ["recurring_gift"],
"create_donor": False,
"fees_covered_amount": 25,
"purchaser_donor_id": 42,
"payment_disposition": "free",
"transaction_id": "manual-001",
"notes": "Example",
"send_confirmation": False,
"registration_override_confirmed": False
}
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({
purchaser: {
name: 'Jane Doe',
first_name: 'Jane',
last_name: 'Doe',
organization_name: 'Example Foundation',
email: 'jane@example.org',
phone: '+12565550123',
type: 'INDIVIDUAL',
donor_type: 'INDIVIDUAL'
},
idempotency_key: 'registration-request-1',
tickets: [
{
ticket_type_id: 42,
quantity: 1,
attendees: [
{
first_name: 'Jane',
last_name: 'Doe',
email: 'jane@example.org',
phone: '+12565550123',
event_table_id: 42,
answers: [{answer: 'Vegetarian', question_id: 42, field_key: 'dietary'}]
}
]
}
],
sponsor_packages: [
{
sponsor_package_id: 42,
quantity: 1,
company_name: 'Example Foundation',
contact_name: 'Jane Doe',
contact_email: 'jane@example.org',
contact_phone: '+12565550123',
logo_upload_id: 42
}
],
auction_items: [{auction_item_id: 42, quantity: 1, amount: 25}],
promo_code: 'WELCOME',
donation_amount: 25,
payment_method: 'card',
gateway: 'stripe',
payment_intent_id: 'pi_example',
currency: 'USD',
answers: [{answer: 'Vegetarian', question_id: 42, field_key: 'dietary'}],
conversion_intents: ['recurring_gift'],
create_donor: false,
fees_covered_amount: 25,
purchaser_donor_id: 42,
payment_disposition: 'free',
transaction_id: 'manual-001',
notes: 'Example',
send_confirmation: false,
registration_override_confirmed: false
})
};
fetch('https://api.gratona.com/v1/admin/events/{eventId}/orders', 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/events/{eventId}/orders",
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([
'purchaser' => [
'name' => 'Jane Doe',
'first_name' => 'Jane',
'last_name' => 'Doe',
'organization_name' => 'Example Foundation',
'email' => 'jane@example.org',
'phone' => '+12565550123',
'type' => 'INDIVIDUAL',
'donor_type' => 'INDIVIDUAL'
],
'idempotency_key' => 'registration-request-1',
'tickets' => [
[
'ticket_type_id' => 42,
'quantity' => 1,
'attendees' => [
[
'first_name' => 'Jane',
'last_name' => 'Doe',
'email' => 'jane@example.org',
'phone' => '+12565550123',
'event_table_id' => 42,
'answers' => [
[
'answer' => 'Vegetarian',
'question_id' => 42,
'field_key' => 'dietary'
]
]
]
]
]
],
'sponsor_packages' => [
[
'sponsor_package_id' => 42,
'quantity' => 1,
'company_name' => 'Example Foundation',
'contact_name' => 'Jane Doe',
'contact_email' => 'jane@example.org',
'contact_phone' => '+12565550123',
'logo_upload_id' => 42
]
],
'auction_items' => [
[
'auction_item_id' => 42,
'quantity' => 1,
'amount' => 25
]
],
'promo_code' => 'WELCOME',
'donation_amount' => 25,
'payment_method' => 'card',
'gateway' => 'stripe',
'payment_intent_id' => 'pi_example',
'currency' => 'USD',
'answers' => [
[
'answer' => 'Vegetarian',
'question_id' => 42,
'field_key' => 'dietary'
]
],
'conversion_intents' => [
'recurring_gift'
],
'create_donor' => false,
'fees_covered_amount' => 25,
'purchaser_donor_id' => 42,
'payment_disposition' => 'free',
'transaction_id' => 'manual-001',
'notes' => 'Example',
'send_confirmation' => false,
'registration_override_confirmed' => false
]),
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/events/{eventId}/orders"
payload := strings.NewReader("{\n \"purchaser\": {\n \"name\": \"Jane Doe\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"organization_name\": \"Example Foundation\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"type\": \"INDIVIDUAL\",\n \"donor_type\": \"INDIVIDUAL\"\n },\n \"idempotency_key\": \"registration-request-1\",\n \"tickets\": [\n {\n \"ticket_type_id\": 42,\n \"quantity\": 1,\n \"attendees\": [\n {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"event_table_id\": 42,\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ]\n }\n ]\n }\n ],\n \"sponsor_packages\": [\n {\n \"sponsor_package_id\": 42,\n \"quantity\": 1,\n \"company_name\": \"Example Foundation\",\n \"contact_name\": \"Jane Doe\",\n \"contact_email\": \"jane@example.org\",\n \"contact_phone\": \"+12565550123\",\n \"logo_upload_id\": 42\n }\n ],\n \"auction_items\": [\n {\n \"auction_item_id\": 42,\n \"quantity\": 1,\n \"amount\": 25\n }\n ],\n \"promo_code\": \"WELCOME\",\n \"donation_amount\": 25,\n \"payment_method\": \"card\",\n \"gateway\": \"stripe\",\n \"payment_intent_id\": \"pi_example\",\n \"currency\": \"USD\",\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ],\n \"conversion_intents\": [\n \"recurring_gift\"\n ],\n \"create_donor\": false,\n \"fees_covered_amount\": 25,\n \"purchaser_donor_id\": 42,\n \"payment_disposition\": \"free\",\n \"transaction_id\": \"manual-001\",\n \"notes\": \"Example\",\n \"send_confirmation\": false,\n \"registration_override_confirmed\": false\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/events/{eventId}/orders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"purchaser\": {\n \"name\": \"Jane Doe\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"organization_name\": \"Example Foundation\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"type\": \"INDIVIDUAL\",\n \"donor_type\": \"INDIVIDUAL\"\n },\n \"idempotency_key\": \"registration-request-1\",\n \"tickets\": [\n {\n \"ticket_type_id\": 42,\n \"quantity\": 1,\n \"attendees\": [\n {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"event_table_id\": 42,\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ]\n }\n ]\n }\n ],\n \"sponsor_packages\": [\n {\n \"sponsor_package_id\": 42,\n \"quantity\": 1,\n \"company_name\": \"Example Foundation\",\n \"contact_name\": \"Jane Doe\",\n \"contact_email\": \"jane@example.org\",\n \"contact_phone\": \"+12565550123\",\n \"logo_upload_id\": 42\n }\n ],\n \"auction_items\": [\n {\n \"auction_item_id\": 42,\n \"quantity\": 1,\n \"amount\": 25\n }\n ],\n \"promo_code\": \"WELCOME\",\n \"donation_amount\": 25,\n \"payment_method\": \"card\",\n \"gateway\": \"stripe\",\n \"payment_intent_id\": \"pi_example\",\n \"currency\": \"USD\",\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ],\n \"conversion_intents\": [\n \"recurring_gift\"\n ],\n \"create_donor\": false,\n \"fees_covered_amount\": 25,\n \"purchaser_donor_id\": 42,\n \"payment_disposition\": \"free\",\n \"transaction_id\": \"manual-001\",\n \"notes\": \"Example\",\n \"send_confirmation\": false,\n \"registration_override_confirmed\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/events/{eventId}/orders")
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 \"purchaser\": {\n \"name\": \"Jane Doe\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"organization_name\": \"Example Foundation\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"type\": \"INDIVIDUAL\",\n \"donor_type\": \"INDIVIDUAL\"\n },\n \"idempotency_key\": \"registration-request-1\",\n \"tickets\": [\n {\n \"ticket_type_id\": 42,\n \"quantity\": 1,\n \"attendees\": [\n {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"event_table_id\": 42,\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ]\n }\n ]\n }\n ],\n \"sponsor_packages\": [\n {\n \"sponsor_package_id\": 42,\n \"quantity\": 1,\n \"company_name\": \"Example Foundation\",\n \"contact_name\": \"Jane Doe\",\n \"contact_email\": \"jane@example.org\",\n \"contact_phone\": \"+12565550123\",\n \"logo_upload_id\": 42\n }\n ],\n \"auction_items\": [\n {\n \"auction_item_id\": 42,\n \"quantity\": 1,\n \"amount\": 25\n }\n ],\n \"promo_code\": \"WELCOME\",\n \"donation_amount\": 25,\n \"payment_method\": \"card\",\n \"gateway\": \"stripe\",\n \"payment_intent_id\": \"pi_example\",\n \"currency\": \"USD\",\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ],\n \"conversion_intents\": [\n \"recurring_gift\"\n ],\n \"create_donor\": false,\n \"fees_covered_amount\": 25,\n \"purchaser_donor_id\": 42,\n \"payment_disposition\": \"free\",\n \"transaction_id\": \"manual-001\",\n \"notes\": \"Example\",\n \"send_confirmation\": false,\n \"registration_override_confirmed\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": 42,
"order_number": "EVT-42-001",
"status": "completed",
"payment_status": "paid",
"payment_method": "Example",
"payment_instructions": "Example",
"gateway": "Example",
"payment_intent_id": "Example",
"subtotal_amount": 25,
"discount_amount": 25,
"donation_amount": 25,
"fees_covered_amount": 25,
"tax_deductible_amount": 25,
"non_deductible_amount": 25,
"total_amount": 25,
"currency": "USD",
"purchaser_name": "Example",
"purchaser_email": "Example",
"version": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reservation_expires_at": "2026-10-20T12:00:00Z",
"quote_fingerprint": "Example",
"quote_snapshot": {
"quote_fingerprint": "sha256:1792497900:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"expires_at": "2026-10-20T12:00:00Z",
"currency": "USD",
"availability": {
"event_state": "open",
"admissions_requested": 42,
"admissions_remaining": 42
},
"lines": [
{
"source": "ticket",
"source_id": 42,
"label": "General admission",
"units": 42,
"admissions_per_unit": 42,
"admissions": 42,
"pre_reserved_units": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00",
"subtotal": "25.00",
"discount": "25.00",
"total": "25.00",
"non_deductible": "25.00",
"snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
}
}
],
"promo_code_id": 42,
"promo_code": "Example",
"subtotal": "25.00",
"discount": "25.00",
"fee_coverage": "25.00",
"donation": "25.00",
"tax_deductible": "25.00",
"non_deductible": "25.00",
"total": "25.00",
"attendee_slots": 42
},
"line_items": [
{
"type": "ticket",
"label": "General admission",
"ticket_type_id": 42,
"sponsor_package_id": 42,
"auction_item_id": 42,
"auction_bid_id": 42,
"quantity": 42,
"unit_amount": 25,
"line_total": 25,
"fair_market_total": 25,
"discount": 25,
"admissions_per_unit": 42,
"admissions": 42,
"source_snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
}
}
],
"metadata": {
"registration_version": 42,
"conversion_intents": {
"recurring_gift": false,
"child_sponsorship": false
},
"sponsorship_interest": {
"program_id": 42,
"recipient_id": 42,
"recipient_label": "Alex",
"url": "/frontend/view_entity/42/7/9"
}
},
"receipt_snapshot": {
"receipt_type": "event_combined_receipt",
"event_id": 42,
"event_name": "Annual Gala",
"order_number": "EVT-42-001",
"donation_id": 42,
"currency": "USD",
"subtotal_amount": 25,
"discount_amount": 25,
"fees_covered_amount": 25,
"total_amount": 25,
"tax_deductible_amount": 25,
"non_deductible_amount": 25,
"donation_amount": 25,
"payment_method": "Example",
"payment_status": "paid",
"payment_instructions": "Example",
"line_items": [
{
"type": "ticket",
"label": "General admission",
"ticket_type_id": 42,
"sponsor_package_id": 42,
"auction_item_id": 42,
"auction_bid_id": 42,
"quantity": 42,
"unit_amount": 25,
"line_total": 25,
"fair_market_total": 25,
"discount": 25,
"admissions_per_unit": 42,
"admissions": 42,
"source_snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
}
}
],
"issued_at": "2026-10-20T12:00:00Z",
"receipt_note": "Ticket fair market value is separated from deductible event support.",
"adjustment_type": "refund",
"refunded_amount": 25,
"active_total_amount": 25,
"active_tax_deductible_amount": 25,
"adjustment_reason": "Example",
"adjusted_at": "2026-10-20T12:00:00Z"
},
"receipt_sent_at": "2026-10-20T12:00:00Z",
"registration_questions": [
{
"field_key": "dietary",
"field_label": "Dietary requirements",
"field_type": "text",
"options": [
"Vegetarian"
],
"scope": "buyer",
"required": false,
"id": 42,
"help_text": "Example",
"applies_to_ticket_type_ids": [
42
]
}
],
"event": {
"id": 42,
"branding_program_id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala",
"location": {
"mode": "released_full",
"label": "Kampala",
"venue": "Example",
"address": "Example",
"map_allowed": false
}
},
"registration_groups": [
{
"id": 42,
"source_kind": "ticket",
"source_id": 42,
"event_ticket_type_id": 42,
"kind": "individual",
"label": "Example",
"admissions_reserved": 42,
"attendee_details_timing": "checkout",
"status": "complete",
"source_snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
},
"details_completed_at": "2026-10-20T12:00:00Z",
"answers": [
{
"id": 42,
"question_id": 42,
"question": {
"field_key": "dietary",
"field_label": "Dietary requirements",
"field_type": "text",
"options": [
"Vegetarian"
],
"scope": "buyer",
"required": false
},
"answer": "Vegetarian"
}
],
"attendee_ids": [
42
]
}
],
"attendees": [
{
"id": 42,
"event_registration_group_id": 42,
"event_ticket_type_id": 42,
"ticket_code": "EVT-42-00001",
"name": "Jane Doe",
"first_name": "Example",
"last_name": "Example",
"email": "Example",
"ticket_type": "Example",
"table": "Example",
"status": "registered",
"qr_token": "<string>",
"details_completed_at": "2026-10-20T12:00:00Z",
"qr_url": "Example",
"wallet_pass_url": "Example",
"wallet_pass_status": "inactive",
"checked_in_at": "2026-10-20T12:00:00Z",
"answers": [
{
"id": 42,
"question_id": 42,
"question": {
"field_key": "dietary",
"field_label": "Dietary requirements",
"field_type": "text",
"options": [
"Vegetarian"
],
"scope": "buyer",
"required": false
},
"answer": "Vegetarian"
}
],
"metadata": {
"source": "Example",
"event_sponsor_id": 42,
"sponsor_ticket_slot": 42
}
}
],
"sponsors": [
{
"id": 42,
"company_name": "Example",
"contact_name": "Example",
"contact_email": "Example",
"contact_phone": "Example",
"notes": "Example",
"status": "active",
"amount": 25,
"fair_market_value": 25,
"included_tickets_assigned": 42,
"public_visibility": false,
"renewal_follow_up_at": "2026-10-20T12:00:00Z",
"logo_upload_id": 42,
"logo_url": "Example",
"package": {
"id": 42,
"name": "Example",
"tier": "Example",
"included_tickets": 42,
"included_tables": 42
},
"deliverables": [
{
"id": 42,
"type": "logo",
"label": "Logo placement",
"status": "pending",
"due_at": "2026-10-20T12:00:00Z",
"completed_at": "2026-10-20T12:00:00Z"
}
]
}
],
"auction_items": [
{
"id": 42,
"event_auction_item_id": 42,
"name": "Example",
"amount": 25,
"quantity": 42,
"status": "paid",
"bidder_name": "Example",
"bidder_email": "Example"
}
],
"payment_reconciliation_required": false,
"payment_provider_status": "Example"
}
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"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
Record ID in the authenticated organization.
42
Body
Purchaser and dynamic donor form fields; email may be omitted for staff entry.
Show child attributes
Show child attributes
Retry key; required for public V2 and staff registrations. Reuse the same key for the same cart.
120"registration-request-1"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Active event promo code; validity/redemption limits apply.
80"WELCOME"
Optional donation add-on, suppressed when event settings disable it.
x >= 025
Selected payment method; public checkout verifies payment separately. Check is available only when enabled.
80"card"
Configured processor selection, such as stripe or paypal.
80"stripe"
Payment reference where accepted; public checkout still verifies provider evidence.
255"pi_example"
Compatibility currency hint; the event determines the order currency.
8"USD"
Question answers scoped to this buyer, group or attendee.
100Show child attributes
Show child attributes
Monthly giving/child sponsorship interest, as a list of enabled keys or a map to true; disabled event asks are removed.
Follow-up interest.
recurring_gift, child_sponsorship Whether to create/link a donor when no existing purchaser record is supplied. Staff defaults false; public defaults true.
false
Optional manually supplied fee coverage for this staff registration.
x >= 025
Existing donor the staff actor can access; disables donor creation and fills missing profile fields from that record.
42
Staff payment workflow; complimentary zeroes payable value and forbids donation/fee amounts.
free, saved_method, different_card, offline, complimentary, invoice, null "free"
Manual transaction reference.
255"manual-001"
Registration notes.
"Example"
Queue confirmation if completed; defaults false.
false
Must be true to add staff registrations when RSVPs are closed.
false
Response
Create a staff event registration completed.
Show child attributes
Show child attributes
curl --request POST \
--url https://api.gratona.com/v1/admin/events/{eventId}/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purchaser": {
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"organization_name": "Example Foundation",
"email": "jane@example.org",
"phone": "+12565550123",
"type": "INDIVIDUAL",
"donor_type": "INDIVIDUAL"
},
"idempotency_key": "registration-request-1",
"tickets": [
{
"ticket_type_id": 42,
"quantity": 1,
"attendees": [
{
"first_name": "Jane",
"last_name": "Doe",
"email": "jane@example.org",
"phone": "+12565550123",
"event_table_id": 42,
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
]
}
]
}
],
"sponsor_packages": [
{
"sponsor_package_id": 42,
"quantity": 1,
"company_name": "Example Foundation",
"contact_name": "Jane Doe",
"contact_email": "jane@example.org",
"contact_phone": "+12565550123",
"logo_upload_id": 42
}
],
"auction_items": [
{
"auction_item_id": 42,
"quantity": 1,
"amount": 25
}
],
"promo_code": "WELCOME",
"donation_amount": 25,
"payment_method": "card",
"gateway": "stripe",
"payment_intent_id": "pi_example",
"currency": "USD",
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
],
"conversion_intents": [
"recurring_gift"
],
"create_donor": false,
"fees_covered_amount": 25,
"purchaser_donor_id": 42,
"payment_disposition": "free",
"transaction_id": "manual-001",
"notes": "Example",
"send_confirmation": false,
"registration_override_confirmed": false
}
'import requests
url = "https://api.gratona.com/v1/admin/events/{eventId}/orders"
payload = {
"purchaser": {
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"organization_name": "Example Foundation",
"email": "jane@example.org",
"phone": "+12565550123",
"type": "INDIVIDUAL",
"donor_type": "INDIVIDUAL"
},
"idempotency_key": "registration-request-1",
"tickets": [
{
"ticket_type_id": 42,
"quantity": 1,
"attendees": [
{
"first_name": "Jane",
"last_name": "Doe",
"email": "jane@example.org",
"phone": "+12565550123",
"event_table_id": 42,
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
]
}
]
}
],
"sponsor_packages": [
{
"sponsor_package_id": 42,
"quantity": 1,
"company_name": "Example Foundation",
"contact_name": "Jane Doe",
"contact_email": "jane@example.org",
"contact_phone": "+12565550123",
"logo_upload_id": 42
}
],
"auction_items": [
{
"auction_item_id": 42,
"quantity": 1,
"amount": 25
}
],
"promo_code": "WELCOME",
"donation_amount": 25,
"payment_method": "card",
"gateway": "stripe",
"payment_intent_id": "pi_example",
"currency": "USD",
"answers": [
{
"answer": "Vegetarian",
"question_id": 42,
"field_key": "dietary"
}
],
"conversion_intents": ["recurring_gift"],
"create_donor": False,
"fees_covered_amount": 25,
"purchaser_donor_id": 42,
"payment_disposition": "free",
"transaction_id": "manual-001",
"notes": "Example",
"send_confirmation": False,
"registration_override_confirmed": False
}
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({
purchaser: {
name: 'Jane Doe',
first_name: 'Jane',
last_name: 'Doe',
organization_name: 'Example Foundation',
email: 'jane@example.org',
phone: '+12565550123',
type: 'INDIVIDUAL',
donor_type: 'INDIVIDUAL'
},
idempotency_key: 'registration-request-1',
tickets: [
{
ticket_type_id: 42,
quantity: 1,
attendees: [
{
first_name: 'Jane',
last_name: 'Doe',
email: 'jane@example.org',
phone: '+12565550123',
event_table_id: 42,
answers: [{answer: 'Vegetarian', question_id: 42, field_key: 'dietary'}]
}
]
}
],
sponsor_packages: [
{
sponsor_package_id: 42,
quantity: 1,
company_name: 'Example Foundation',
contact_name: 'Jane Doe',
contact_email: 'jane@example.org',
contact_phone: '+12565550123',
logo_upload_id: 42
}
],
auction_items: [{auction_item_id: 42, quantity: 1, amount: 25}],
promo_code: 'WELCOME',
donation_amount: 25,
payment_method: 'card',
gateway: 'stripe',
payment_intent_id: 'pi_example',
currency: 'USD',
answers: [{answer: 'Vegetarian', question_id: 42, field_key: 'dietary'}],
conversion_intents: ['recurring_gift'],
create_donor: false,
fees_covered_amount: 25,
purchaser_donor_id: 42,
payment_disposition: 'free',
transaction_id: 'manual-001',
notes: 'Example',
send_confirmation: false,
registration_override_confirmed: false
})
};
fetch('https://api.gratona.com/v1/admin/events/{eventId}/orders', 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/events/{eventId}/orders",
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([
'purchaser' => [
'name' => 'Jane Doe',
'first_name' => 'Jane',
'last_name' => 'Doe',
'organization_name' => 'Example Foundation',
'email' => 'jane@example.org',
'phone' => '+12565550123',
'type' => 'INDIVIDUAL',
'donor_type' => 'INDIVIDUAL'
],
'idempotency_key' => 'registration-request-1',
'tickets' => [
[
'ticket_type_id' => 42,
'quantity' => 1,
'attendees' => [
[
'first_name' => 'Jane',
'last_name' => 'Doe',
'email' => 'jane@example.org',
'phone' => '+12565550123',
'event_table_id' => 42,
'answers' => [
[
'answer' => 'Vegetarian',
'question_id' => 42,
'field_key' => 'dietary'
]
]
]
]
]
],
'sponsor_packages' => [
[
'sponsor_package_id' => 42,
'quantity' => 1,
'company_name' => 'Example Foundation',
'contact_name' => 'Jane Doe',
'contact_email' => 'jane@example.org',
'contact_phone' => '+12565550123',
'logo_upload_id' => 42
]
],
'auction_items' => [
[
'auction_item_id' => 42,
'quantity' => 1,
'amount' => 25
]
],
'promo_code' => 'WELCOME',
'donation_amount' => 25,
'payment_method' => 'card',
'gateway' => 'stripe',
'payment_intent_id' => 'pi_example',
'currency' => 'USD',
'answers' => [
[
'answer' => 'Vegetarian',
'question_id' => 42,
'field_key' => 'dietary'
]
],
'conversion_intents' => [
'recurring_gift'
],
'create_donor' => false,
'fees_covered_amount' => 25,
'purchaser_donor_id' => 42,
'payment_disposition' => 'free',
'transaction_id' => 'manual-001',
'notes' => 'Example',
'send_confirmation' => false,
'registration_override_confirmed' => false
]),
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/events/{eventId}/orders"
payload := strings.NewReader("{\n \"purchaser\": {\n \"name\": \"Jane Doe\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"organization_name\": \"Example Foundation\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"type\": \"INDIVIDUAL\",\n \"donor_type\": \"INDIVIDUAL\"\n },\n \"idempotency_key\": \"registration-request-1\",\n \"tickets\": [\n {\n \"ticket_type_id\": 42,\n \"quantity\": 1,\n \"attendees\": [\n {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"event_table_id\": 42,\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ]\n }\n ]\n }\n ],\n \"sponsor_packages\": [\n {\n \"sponsor_package_id\": 42,\n \"quantity\": 1,\n \"company_name\": \"Example Foundation\",\n \"contact_name\": \"Jane Doe\",\n \"contact_email\": \"jane@example.org\",\n \"contact_phone\": \"+12565550123\",\n \"logo_upload_id\": 42\n }\n ],\n \"auction_items\": [\n {\n \"auction_item_id\": 42,\n \"quantity\": 1,\n \"amount\": 25\n }\n ],\n \"promo_code\": \"WELCOME\",\n \"donation_amount\": 25,\n \"payment_method\": \"card\",\n \"gateway\": \"stripe\",\n \"payment_intent_id\": \"pi_example\",\n \"currency\": \"USD\",\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ],\n \"conversion_intents\": [\n \"recurring_gift\"\n ],\n \"create_donor\": false,\n \"fees_covered_amount\": 25,\n \"purchaser_donor_id\": 42,\n \"payment_disposition\": \"free\",\n \"transaction_id\": \"manual-001\",\n \"notes\": \"Example\",\n \"send_confirmation\": false,\n \"registration_override_confirmed\": false\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/events/{eventId}/orders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"purchaser\": {\n \"name\": \"Jane Doe\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"organization_name\": \"Example Foundation\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"type\": \"INDIVIDUAL\",\n \"donor_type\": \"INDIVIDUAL\"\n },\n \"idempotency_key\": \"registration-request-1\",\n \"tickets\": [\n {\n \"ticket_type_id\": 42,\n \"quantity\": 1,\n \"attendees\": [\n {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"event_table_id\": 42,\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ]\n }\n ]\n }\n ],\n \"sponsor_packages\": [\n {\n \"sponsor_package_id\": 42,\n \"quantity\": 1,\n \"company_name\": \"Example Foundation\",\n \"contact_name\": \"Jane Doe\",\n \"contact_email\": \"jane@example.org\",\n \"contact_phone\": \"+12565550123\",\n \"logo_upload_id\": 42\n }\n ],\n \"auction_items\": [\n {\n \"auction_item_id\": 42,\n \"quantity\": 1,\n \"amount\": 25\n }\n ],\n \"promo_code\": \"WELCOME\",\n \"donation_amount\": 25,\n \"payment_method\": \"card\",\n \"gateway\": \"stripe\",\n \"payment_intent_id\": \"pi_example\",\n \"currency\": \"USD\",\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ],\n \"conversion_intents\": [\n \"recurring_gift\"\n ],\n \"create_donor\": false,\n \"fees_covered_amount\": 25,\n \"purchaser_donor_id\": 42,\n \"payment_disposition\": \"free\",\n \"transaction_id\": \"manual-001\",\n \"notes\": \"Example\",\n \"send_confirmation\": false,\n \"registration_override_confirmed\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/events/{eventId}/orders")
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 \"purchaser\": {\n \"name\": \"Jane Doe\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"organization_name\": \"Example Foundation\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"type\": \"INDIVIDUAL\",\n \"donor_type\": \"INDIVIDUAL\"\n },\n \"idempotency_key\": \"registration-request-1\",\n \"tickets\": [\n {\n \"ticket_type_id\": 42,\n \"quantity\": 1,\n \"attendees\": [\n {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"email\": \"jane@example.org\",\n \"phone\": \"+12565550123\",\n \"event_table_id\": 42,\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ]\n }\n ]\n }\n ],\n \"sponsor_packages\": [\n {\n \"sponsor_package_id\": 42,\n \"quantity\": 1,\n \"company_name\": \"Example Foundation\",\n \"contact_name\": \"Jane Doe\",\n \"contact_email\": \"jane@example.org\",\n \"contact_phone\": \"+12565550123\",\n \"logo_upload_id\": 42\n }\n ],\n \"auction_items\": [\n {\n \"auction_item_id\": 42,\n \"quantity\": 1,\n \"amount\": 25\n }\n ],\n \"promo_code\": \"WELCOME\",\n \"donation_amount\": 25,\n \"payment_method\": \"card\",\n \"gateway\": \"stripe\",\n \"payment_intent_id\": \"pi_example\",\n \"currency\": \"USD\",\n \"answers\": [\n {\n \"answer\": \"Vegetarian\",\n \"question_id\": 42,\n \"field_key\": \"dietary\"\n }\n ],\n \"conversion_intents\": [\n \"recurring_gift\"\n ],\n \"create_donor\": false,\n \"fees_covered_amount\": 25,\n \"purchaser_donor_id\": 42,\n \"payment_disposition\": \"free\",\n \"transaction_id\": \"manual-001\",\n \"notes\": \"Example\",\n \"send_confirmation\": false,\n \"registration_override_confirmed\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": 42,
"order_number": "EVT-42-001",
"status": "completed",
"payment_status": "paid",
"payment_method": "Example",
"payment_instructions": "Example",
"gateway": "Example",
"payment_intent_id": "Example",
"subtotal_amount": 25,
"discount_amount": 25,
"donation_amount": 25,
"fees_covered_amount": 25,
"tax_deductible_amount": 25,
"non_deductible_amount": 25,
"total_amount": 25,
"currency": "USD",
"purchaser_name": "Example",
"purchaser_email": "Example",
"version": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reservation_expires_at": "2026-10-20T12:00:00Z",
"quote_fingerprint": "Example",
"quote_snapshot": {
"quote_fingerprint": "sha256:1792497900:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"expires_at": "2026-10-20T12:00:00Z",
"currency": "USD",
"availability": {
"event_state": "open",
"admissions_requested": 42,
"admissions_remaining": 42
},
"lines": [
{
"source": "ticket",
"source_id": 42,
"label": "General admission",
"units": 42,
"admissions_per_unit": 42,
"admissions": 42,
"pre_reserved_units": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00",
"subtotal": "25.00",
"discount": "25.00",
"total": "25.00",
"non_deductible": "25.00",
"snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
}
}
],
"promo_code_id": 42,
"promo_code": "Example",
"subtotal": "25.00",
"discount": "25.00",
"fee_coverage": "25.00",
"donation": "25.00",
"tax_deductible": "25.00",
"non_deductible": "25.00",
"total": "25.00",
"attendee_slots": 42
},
"line_items": [
{
"type": "ticket",
"label": "General admission",
"ticket_type_id": 42,
"sponsor_package_id": 42,
"auction_item_id": 42,
"auction_bid_id": 42,
"quantity": 42,
"unit_amount": 25,
"line_total": 25,
"fair_market_total": 25,
"discount": 25,
"admissions_per_unit": 42,
"admissions": 42,
"source_snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
}
}
],
"metadata": {
"registration_version": 42,
"conversion_intents": {
"recurring_gift": false,
"child_sponsorship": false
},
"sponsorship_interest": {
"program_id": 42,
"recipient_id": 42,
"recipient_label": "Alex",
"url": "/frontend/view_entity/42/7/9"
}
},
"receipt_snapshot": {
"receipt_type": "event_combined_receipt",
"event_id": 42,
"event_name": "Annual Gala",
"order_number": "EVT-42-001",
"donation_id": 42,
"currency": "USD",
"subtotal_amount": 25,
"discount_amount": 25,
"fees_covered_amount": 25,
"total_amount": 25,
"tax_deductible_amount": 25,
"non_deductible_amount": 25,
"donation_amount": 25,
"payment_method": "Example",
"payment_status": "paid",
"payment_instructions": "Example",
"line_items": [
{
"type": "ticket",
"label": "General admission",
"ticket_type_id": 42,
"sponsor_package_id": 42,
"auction_item_id": 42,
"auction_bid_id": 42,
"quantity": 42,
"unit_amount": 25,
"line_total": 25,
"fair_market_total": 25,
"discount": 25,
"admissions_per_unit": 42,
"admissions": 42,
"source_snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
}
}
],
"issued_at": "2026-10-20T12:00:00Z",
"receipt_note": "Ticket fair market value is separated from deductible event support.",
"adjustment_type": "refund",
"refunded_amount": 25,
"active_total_amount": 25,
"active_tax_deductible_amount": 25,
"adjustment_reason": "Example",
"adjusted_at": "2026-10-20T12:00:00Z"
},
"receipt_sent_at": "2026-10-20T12:00:00Z",
"registration_questions": [
{
"field_key": "dietary",
"field_label": "Dietary requirements",
"field_type": "text",
"options": [
"Vegetarian"
],
"scope": "buyer",
"required": false,
"id": 42,
"help_text": "Example",
"applies_to_ticket_type_ids": [
42
]
}
],
"event": {
"id": 42,
"branding_program_id": 42,
"name": "Annual Gala",
"slug": "annual-gala",
"starts_at": "2026-10-20T12:00:00Z",
"timezone": "Africa/Kampala",
"location": {
"mode": "released_full",
"label": "Kampala",
"venue": "Example",
"address": "Example",
"map_allowed": false
}
},
"registration_groups": [
{
"id": 42,
"source_kind": "ticket",
"source_id": 42,
"event_ticket_type_id": 42,
"kind": "individual",
"label": "Example",
"admissions_reserved": 42,
"attendee_details_timing": "checkout",
"status": "complete",
"source_snapshot": {
"name": "General admission",
"code": "Example",
"tier": "Example",
"registration_group_kind": "individual",
"group_label_prompt": "Example",
"attendee_details_timing": "checkout",
"admissions_per_unit": 42,
"unit_amount": "25.00",
"fair_market_value": "25.00"
},
"details_completed_at": "2026-10-20T12:00:00Z",
"answers": [
{
"id": 42,
"question_id": 42,
"question": {
"field_key": "dietary",
"field_label": "Dietary requirements",
"field_type": "text",
"options": [
"Vegetarian"
],
"scope": "buyer",
"required": false
},
"answer": "Vegetarian"
}
],
"attendee_ids": [
42
]
}
],
"attendees": [
{
"id": 42,
"event_registration_group_id": 42,
"event_ticket_type_id": 42,
"ticket_code": "EVT-42-00001",
"name": "Jane Doe",
"first_name": "Example",
"last_name": "Example",
"email": "Example",
"ticket_type": "Example",
"table": "Example",
"status": "registered",
"qr_token": "<string>",
"details_completed_at": "2026-10-20T12:00:00Z",
"qr_url": "Example",
"wallet_pass_url": "Example",
"wallet_pass_status": "inactive",
"checked_in_at": "2026-10-20T12:00:00Z",
"answers": [
{
"id": 42,
"question_id": 42,
"question": {
"field_key": "dietary",
"field_label": "Dietary requirements",
"field_type": "text",
"options": [
"Vegetarian"
],
"scope": "buyer",
"required": false
},
"answer": "Vegetarian"
}
],
"metadata": {
"source": "Example",
"event_sponsor_id": 42,
"sponsor_ticket_slot": 42
}
}
],
"sponsors": [
{
"id": 42,
"company_name": "Example",
"contact_name": "Example",
"contact_email": "Example",
"contact_phone": "Example",
"notes": "Example",
"status": "active",
"amount": 25,
"fair_market_value": 25,
"included_tickets_assigned": 42,
"public_visibility": false,
"renewal_follow_up_at": "2026-10-20T12:00:00Z",
"logo_upload_id": 42,
"logo_url": "Example",
"package": {
"id": 42,
"name": "Example",
"tier": "Example",
"included_tickets": 42,
"included_tables": 42
},
"deliverables": [
{
"id": 42,
"type": "logo",
"label": "Logo placement",
"status": "pending",
"due_at": "2026-10-20T12:00:00Z",
"completed_at": "2026-10-20T12:00:00Z"
}
]
}
],
"auction_items": [
{
"id": 42,
"event_auction_item_id": 42,
"name": "Example",
"amount": 25,
"quantity": 42,
"status": "paid",
"bidder_name": "Example",
"bidder_email": "Example"
}
],
"payment_reconciliation_required": false,
"payment_provider_status": "Example"
}
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}