Skip to content

Notices

Cordite supports AB 1263 notice retrieval and acknowledgment.

GET /v1/notices/ab1263
Authorization: Bearer ck_test_...

Notice response shape:

{
"notice_id": "ab1263",
"version": "v1",
"title": "California AB 1263 Notice",
"heading": "...",
"bullets": ["..."],
"attestation_text": "...",
"source_law": "California Civil Code 3273.51(e)(2)",
"source_bill": "AB 1263 (Gipson, 2025)"
}

Persist buyer initials:

POST /v1/notices/ab1263/acknowledge
Authorization: Bearer ck_test_...
Content-Type: application/json
{
"session_id": "checkout_123",
"cbid": "cbid_optional",
"initials_per_line": ["DJ", "DJ", "DJ", "DJ", "DJ", "DJ"]
}

session_id, cbid, ip, and user_agent are optional request fields. When ip or user_agent is omitted, the API falls back to request headers where possible.

Successful acknowledgment:

{
"ack_id": "ack_...",
"notice_id": "ab1263",
"notice_version": "v1"
}

Validation errors:

  • initials_count_mismatch: initials_per_line does not match the notice bullet count.
  • empty_initials: one or more initials are blank.
  • notice_not_found: the requested notice id is unknown.