For the complete documentation index, see llms.txt. This page is also available as Markdown.

POSTliveInbound webhook

Receive a tenant-wide published fee schedule update

Verify the signature and deduplicate by eventId across retries and operator replays.

webhook: feeScheduleUpdatedreceivePartnerFeeScheduleUpdate

Authentication and authority

Inbound callback. Verify all seven required Ed25519 signing headers; no Partner API bearer credential is sent.

Parameters

NameLocationRequirementSchema
content-digest

SHA-256 of the exact request bytes, formatted as an RFC 9530-style binary content digest. It is the final line of the canonical signature input.

headerRequired{"type":"string","pattern":"^sha-256=:[A-Za-z0-9+/]{43}=:$"}
x-pc-event-id

Stable signed event identity used for deduplication.

headerRequired{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,160}$"}
x-pc-event-timestamp

Canonical UTC ISO 8601 instant (the value must equal new Date(value).toISOString()).

headerRequired{"type":"string","format":"date-time","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"}
x-pc-key-id

Identifier of the Ed25519 verification key.

headerRequired{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,160}$"}
x-pc-schema-version

Signed body schema version; must equal the body schemaVersion.

headerRequired{"type":"string","const":"partner-fee-schedule-v1"}
x-pc-signature-version

Signature protocol version. It is validated as a constant; the canonical input is version-defined and does not include this header or the signature itself.

headerRequired{"type":"string","const":"pc-webhook-ed25519-v1"}
x-pc-signature

Ed25519 signature over the documented canonical input.

headerRequired{"type":"string","pattern":"^ed25519=:[A-Za-z0-9+/]{86}==:$"}

Request body

Required request body.

application/json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schemaVersion",
    "type",
    "eventId",
    "deliveryId",
    "scheduleHash",
    "inEffectAsOf",
    "scheduleUrl"
  ],
  "properties": {
    "schemaVersion": {
      "const": "partner-fee-schedule-v1"
    },
    "type": {
      "const": "fee_schedule.updated"
    },
    "eventId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:-]{1,160}$"
    },
    "deliveryId": {
      "type": "string",
      "minLength": 1
    },
    "scheduleHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "example": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
    },
    "inEffectAsOf": {
      "type": "string",
      "format": "date-time"
    },
    "scheduleUrl": {
      "type": "string",
      "format": "uri"
    }
  }
}

Responses

204

Update accepted.

Errors

Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.

Idempotency and retries

  • For throttling, honor Retry-After when present. Back off on retryable server failures.
  • Callbacks are informational and at least once. Deduplicate by event ID and fetch authoritative state before acting.