POSTlive

Record a claimant-agent authority assertion and artifact hashes

Records which authenticated claimant-agent credential made the assertion plus the supplied artifact references and hashes. This endpoint does not retrieve the artifacts or cryptographically verify an underlying principal signature. A platform-orchestrator credential cannot make the assertion.

/api/v2/authorizations/authority-grantsregisterClaimantAuthorityV2

Authentication and authority

Send one of the allowed bearer credential roles. Alternatives are OR; credentials named within one alternative are AND.

claimantAgentBearer

Credential bound to the claimant_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.

Parameters

NameLocationRequirementSchema
Idempotency-KeyheaderRequired{"type":"string","minLength":8,"maxLength":200}

Request body

Required request body.

application/json

{
  "$ref": "#/components/schemas/AuthorityGrantRegistration",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "claimantPrincipalId",
    "externalCaseId",
    "transactionId",
    "allowedActs",
    "maximumAmount",
    "evidenceSource",
    "artifactRefs",
    "artifactHashes",
    "expiresAt"
  ],
  "properties": {
    "claimantPrincipalId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "externalCaseId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "transactionId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "allowedActs": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "file_dispute",
          "submit_evidence"
        ]
      }
    },
    "maximumAmount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FiatMoney",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "currency",
            "minorUnits"
          ],
          "properties": {
            "currency": {
              "type": "string",
              "const": "USD"
            },
            "minorUnits": {
              "type": "string",
              "pattern": "^(0|[1-9][0-9]{0,77})$"
            }
          }
        }
      ],
      "description": "Positive USD cents from 1 through 9007199254740991 inclusive; zero and larger values are rejected."
    },
    "evidenceSource": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "artifactRefs": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      }
    },
    "artifactHashes": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "string",
        "pattern": "^[a-f0-9]{64}$"
      }
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "example": "2026-12-01T00:00:00.000Z"
    }
  }
}

Responses

201

The authenticated claimant-agent assertion was recorded.

application/json

{
  "$ref": "#/components/schemas/AuthorityGrantRegistrationEnvelope",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/AuthorityGrantRegistrationResult",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "authorityGrantId",
        "claimantPrincipalId",
        "externalCaseId",
        "transactionId",
        "allowedActs",
        "maximumAmount",
        "expiresAt",
        "registeredBy"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "partner-authority-grant-v2"
        },
        "authorityGrantId": {
          "type": "string"
        },
        "claimantPrincipalId": {
          "type": "string"
        },
        "externalCaseId": {
          "type": "string"
        },
        "transactionId": {
          "type": "string"
        },
        "allowedActs": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "file_dispute",
              "submit_evidence"
            ]
          }
        },
        "maximumAmount": {
          "$ref": "#/components/schemas/FiatMoney",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "currency",
            "minorUnits"
          ],
          "properties": {
            "currency": {
              "type": "string",
              "const": "USD"
            },
            "minorUnits": {
              "type": "string",
              "pattern": "^(0|[1-9][0-9]{0,77})$"
            }
          }
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "registeredBy": {
          "$ref": "#/components/schemas/ClaimantAuthorizationRegistrationProvenance",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "schemaVersion",
            "credentialPublicId",
            "role",
            "requestHash",
            "registeredAt"
          ],
          "properties": {
            "schemaVersion": {
              "type": "string",
              "const": "partner-authorization-registration-v2"
            },
            "credentialPublicId": {
              "type": "string"
            },
            "role": {
              "type": "string",
              "const": "claimant_agent"
            },
            "requestHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            },
            "registeredAt": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
default

RFC 9457 style problem response.

application/problem+json

{
  "$ref": "#/components/schemas/Problem",
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "requestId"
  ],
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    }
  }
}

Example response

Successful response

{
  "data": {
    "schemaVersion": "partner-authority-grant-v2",
    "authorityGrantId": "grant_test_123",
    "claimantPrincipalId": "principal_test_123",
    "externalCaseId": "marketplace_case_123",
    "transactionId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "allowedActs": [
      "file_dispute"
    ],
    "maximumAmount": {
      "currency": "USD",
      "minorUnits": "12500"
    },
    "expiresAt": "2026-08-09T12:00:00.000Z",
    "registeredBy": {
      "schemaVersion": "partner-authorization-registration-v2",
      "credentialPublicId": "credentialPublicId_test",
      "role": "claimant_agent",
      "requestHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "registeredAt": "2026-08-09T12:00:00.000Z"
    }
  },
  "requestId": "requestId_test"
}

Usage notes

  • Responses reflect the current authoritative resource state.
  • Send a unique Idempotency-Key. An exact retry returns the stored result; reusing the key with a different request fails.
  • The request is accepted only when its credential, authority, case state, and resource preconditions are satisfied.