postCreate external settlement conversion

Required capabilityexternal_settlement_conversions.create

Authentication: Send Authorization: Bearer <access_token>.

Externally settled conversions are conversions that can be connected to an external settlement source when your enterprise needs that settlement model. Contact your account manager for availability and setup details. Creates an explicit externally settled conversion. The strict request supplies account_ref, source_amount as {value, currency}, target_currency, and required external_settlement_role; settlement routing is binding-resolved by the platform. The account schema accepts AccountRef, but this command currently requires a client account with a matching external-settlement binding; master-account input is denied with 422. external_source_spend resolves the source currency externally, while external_target_disbursement resolves the target currency externally; the role is never inferred from the asset class. Idempotency-Key takes precedence over optional body client_idempotency_key; omitting both generates a key without caller-controlled replay. The response is the typed operation read projection, not raw family parameters. Callers with an effective human subject must obtain confirmation via POST /action-tokens using action external_settlement_conversion.create plus the structured command (or a matching command_digest), then send X-Action-Token. Service principals are exempt. The public edge does not accept delegated actor-token exchange or on-behalf-of headers. The 202 response is read after creation, so the caller also needs external_settlement_conversions.read or operations.recovery coverage on the account to receive it; otherwise creation may succeed before the response read returns 404. Policy/settlement denial returns not_admissible (422); unavailable settlement facts return temporarily_unavailable (503).

Parameters

Name Location Type Required Description and constraints
Idempotency-Key header string No Client-generated key, 1-128 characters. Accepted on POST requests and required where marked. For the same concrete path and caller/subject/tenant scope, an identical body replays the original status and body; a different body returns 409 idempotency_conflict. Keep query parameters unchanged when retrying. minLength: 1; maxLength: 128
X-Action-Token header string No Single-use step-up confirmation token bound to the server-canonical command for this request. Required when the effective subject is a human user. Callers without a human subject skip only this confirmation check and still pass normal authentication and capability guards. Obtain the token through POST /action-tokens, then submit it with the guarded request. Structured commands are supported for withdrawal, conversion, and external-settlement conversion creation; the issue endpoint also accepts command_digest. Missing or invalid human-confirmation tokens produce 400 with code in {action_token_required, action_token_rejected}; an unreachable approval service produces 502 action_token_validation_failed. minLength: 1

Request

Required request body.

Request body schema

Field Type Required Description and constraints
account_ref string Yes pattern: ^(master-accounts|client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
client_idempotency_key string No minLength: 1
external_settlement_role "external_source_spend" / "external_target_disbursement" Yes
source_amount object Yes No additional fields
target_currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$

Additional fields are not accepted.

Request body schema.source_amount

Field Type Required Description and constraints
currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
value string Yes DecimalString pattern: ^(0|[1-9][0-9]{0,29})(\.[0-9]{1,18})?$

Additional fields are not accepted.

Request URL

POST
POST /external-settlement-conversions

Request Body

application/json
{
  "account_ref": "client-accounts/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "external_settlement_role": "external_source_spend",
  "source_amount": {
    "currency": "EUR",
    "value": "250.00"
  },
  "target_currency": "BTC"
}

Responses

Response

application/json
{
  "account_ref": "client-accounts/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "approval_ref": null,
  "created_at": "2026-05-01T10:00:00Z",
  "external_settlement_role": "external_source_spend",
  "failure_reason": null,
  "family": "external_settlement_conversion",
  "fee_summary": {
    "components": [
      {
        "amount": {
          "currency": "USDC",
          "value": "1.00"
        },
        "kind": "network_fee"
      }
    ],
    "total": {
      "currency": "USDC",
      "value": "1.00"
    }
  },
  "fill_rate": null,
  "id": "b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "internal_settlement_account_ref": "master-accounts/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "principal_amount": {
    "currency": "EUR",
    "value": "250.00"
  },
  "settled_at": null,
  "settlement_checked_at": "2026-05-01T10:00:00Z",
  "settlement_currency": "EUR",
  "status": "admissible",
  "subject_attribution": {
    "actor": null,
    "approved_by": null,
    "authenticated_principal": {
      "id": "b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
      "kind": "user",
      "tenant_ref": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
    },
    "enterprise_binding": {
      "tenant_type": "enterprise",
      "topology_ref": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
    },
    "federation": null,
    "identity_source": "platform-managed",
    "initiated_by": null,
    "subject": {
      "id": "b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
      "kind": "user",
      "tenant_ref": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
    }
  },
  "target_currency": "BTC",
  "updated_at": "2026-05-01T10:00:00Z"
}

Request accepted for asynchronous processing. Follow the resource identifiers returned by this operation to observe progress.

Response 202 schema

Content type: application/json.

application/json body

Field Type Required Description and constraints
account_ref string Yes pattern: ^(master-accounts|client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
approval_ref object or null Yes
compliance_assessment_ref string or null No
created_at string or string Yes
external_settlement_role "external_source_spend" / "external_target_disbursement" Yes
failure_reason string or null Yes
family "external_settlement_conversion" Yes
fee_summary object or null Yes
fill_rate string or null Yes
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
internal_settlement_account_ref string Yes pattern: ^(master-accounts|client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
principal_amount object Yes No additional fields
settled_at string or string or null Yes
settlement_checked_at string or string Yes
settlement_currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
status "requested" / "admissible" / "executing" / "pending_approval" / "pending_admission" / "pending_compliance" / "executed" / "settled" / "ledger_visible" / "failed" / "cancelled" / "partially_settled" Yes
subject_attribution object Yes No additional fields
target_currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
updated_at string or string Yes

Additional fields are not accepted.

application/json body.approval_ref

At least one alternative must match.

application/json body.approval_ref: alternative 1
Field Type Required Description and constraints
approval_id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
expires_at string or string Yes
reason_code string or null Yes

Additional fields are not accepted.

application/json body.approval_ref: alternative 1.expires_at

At least one alternative must match.

application/json body.approval_ref: alternative 1.expires_at: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.approval_ref: alternative 1.expires_at: alternative 2

Type: string. format: date-time

application/json body.approval_ref: alternative 1.reason_code

At least one alternative must match.

application/json body.approval_ref: alternative 1.reason_code: alternative 1

Type: string.

application/json body.approval_ref: alternative 1.reason_code: alternative 2

Type: null.

application/json body.approval_ref: alternative 2

Type: null.

application/json body.compliance_assessment_ref

At least one alternative must match.

application/json body.compliance_assessment_ref: alternative 1

Type: string. pattern: ^(compliance-assessments)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.compliance_assessment_ref: alternative 2

Type: null.

application/json body.created_at

At least one alternative must match.

application/json body.created_at: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.created_at: alternative 2

Type: string. format: date-time

application/json body.failure_reason

At least one alternative must match.

application/json body.failure_reason: alternative 1

Type: string. minLength: 1

application/json body.failure_reason: alternative 2

Type: null.

application/json body.fee_summary

At least one alternative must match.

application/json body.fee_summary: alternative 1
Field Type Required Description and constraints
components object[] Yes
total object Yes No additional fields

Additional fields are not accepted.

application/json body.fee_summary: alternative 1.components

Type: object[].

application/json body.fee_summary: alternative 1.components item
Field Type Required Description and constraints
amount object Yes No additional fields
kind "platform_fee" / "enterprise_fee" / "network_fee" / "spread" Yes

Additional fields are not accepted.

application/json body.fee_summary: alternative 1.components item.amount
Field Type Required Description and constraints
currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
value string Yes DecimalString pattern: ^(0|[1-9][0-9]{0,29})(\.[0-9]{1,18})?$

Additional fields are not accepted.

application/json body.fee_summary: alternative 1.total
Field Type Required Description and constraints
currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
value string Yes DecimalString pattern: ^(0|[1-9][0-9]{0,29})(\.[0-9]{1,18})?$

Additional fields are not accepted.

application/json body.fee_summary: alternative 2

Type: null.

application/json body.fill_rate

At least one alternative must match.

application/json body.fill_rate: alternative 1

Type: string.

application/json body.fill_rate: alternative 2

Type: null.

application/json body.principal_amount
Field Type Required Description and constraints
currency string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
value string Yes DecimalString pattern: ^(0|[1-9][0-9]{0,29})(\.[0-9]{1,18})?$

Additional fields are not accepted.

application/json body.settled_at

At least one alternative must match.

application/json body.settled_at: alternative 1

At least one alternative must match.

application/json body.settled_at: alternative 1: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.settled_at: alternative 1: alternative 2

Type: string. format: date-time

application/json body.settled_at: alternative 2

Type: null.

application/json body.settlement_checked_at

At least one alternative must match.

application/json body.settlement_checked_at: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.settlement_checked_at: alternative 2

Type: string. format: date-time

application/json body.subject_attribution
Field Type Required Description and constraints
actor object or null Yes
approved_by object or null Yes
authenticated_principal object Yes No additional fields
enterprise_binding object Yes No additional fields
federation object or null Yes
identity_source "platform-managed" / "federated" / "system" Yes
initiated_by object or null Yes
subject object or null Yes

Additional fields are not accepted.

application/json body.subject_attribution.actor

At least one alternative must match.

application/json body.subject_attribution.actor: alternative 1
Field Type Required Description and constraints
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
kind "user" / "service" / "system" Yes
tenant_ref string or null No

Additional fields are not accepted.

application/json body.subject_attribution.actor: alternative 1.tenant_ref

At least one alternative must match.

application/json body.subject_attribution.actor: alternative 1.tenant_ref: alternative 1

Type: string. pattern: ^(enterprises|platform-operators|clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.subject_attribution.actor: alternative 1.tenant_ref: alternative 2

Type: null.

application/json body.subject_attribution.actor: alternative 2

Type: null.

application/json body.subject_attribution.approved_by

At least one alternative must match.

application/json body.subject_attribution.approved_by: alternative 1
Field Type Required Description and constraints
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
kind "user" / "service" / "system" Yes
tenant_ref string or null No

Additional fields are not accepted.

application/json body.subject_attribution.approved_by: alternative 1.tenant_ref

At least one alternative must match.

application/json body.subject_attribution.approved_by: alternative 1.tenant_ref: alternative 1

Type: string. pattern: ^(enterprises|platform-operators|clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.subject_attribution.approved_by: alternative 1.tenant_ref: alternative 2

Type: null.

application/json body.subject_attribution.approved_by: alternative 2

Type: null.

application/json body.subject_attribution.authenticated_principal
Field Type Required Description and constraints
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
kind "user" / "service" / "system" Yes
tenant_ref string or null No

Additional fields are not accepted.

application/json body.subject_attribution.authenticated_principal.tenant_ref

At least one alternative must match.

application/json body.subject_attribution.authenticated_principal.tenant_ref: alternative 1

Type: string. pattern: ^(enterprises|platform-operators|clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.subject_attribution.authenticated_principal.tenant_ref: alternative 2

Type: null.

application/json body.subject_attribution.enterprise_binding
Field Type Required Description and constraints
tenant_type "enterprise" / "platform_operator" Yes
topology_ref string or null Yes

Additional fields are not accepted.

application/json body.subject_attribution.enterprise_binding.topology_ref

At least one alternative must match.

application/json body.subject_attribution.enterprise_binding.topology_ref: alternative 1

Type: string. pattern: ^(enterprises|platform-operators|clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.subject_attribution.enterprise_binding.topology_ref: alternative 2

Type: null.

application/json body.subject_attribution.federation

At least one alternative must match.

application/json body.subject_attribution.federation: alternative 1
Field Type Required Description and constraints
external_subject string Yes minLength: 1
issuer string Yes minLength: 1

Additional fields are not accepted.

application/json body.subject_attribution.federation: alternative 2

Type: null.

application/json body.subject_attribution.initiated_by

At least one alternative must match.

application/json body.subject_attribution.initiated_by: alternative 1
Field Type Required Description and constraints
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
kind "user" / "service" / "system" Yes
tenant_ref string or null No

Additional fields are not accepted.

application/json body.subject_attribution.initiated_by: alternative 1.tenant_ref

At least one alternative must match.

application/json body.subject_attribution.initiated_by: alternative 1.tenant_ref: alternative 1

Type: string. pattern: ^(enterprises|platform-operators|clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.subject_attribution.initiated_by: alternative 1.tenant_ref: alternative 2

Type: null.

application/json body.subject_attribution.initiated_by: alternative 2

Type: null.

application/json body.subject_attribution.subject

At least one alternative must match.

application/json body.subject_attribution.subject: alternative 1
Field Type Required Description and constraints
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
kind "user" / "service" / "system" Yes
tenant_ref string or null No

Additional fields are not accepted.

application/json body.subject_attribution.subject: alternative 1.tenant_ref

At least one alternative must match.

application/json body.subject_attribution.subject: alternative 1.tenant_ref: alternative 1

Type: string. pattern: ^(enterprises|platform-operators|clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.subject_attribution.subject: alternative 1.tenant_ref: alternative 2

Type: null.

application/json body.subject_attribution.subject: alternative 2

Type: null.

application/json body.updated_at

At least one alternative must match.

application/json body.updated_at: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.updated_at: alternative 2

Type: string. format: date-time

Response 400 schema

Content type: application/json.

application/json body

Field Type Required Description and constraints
code string Yes
data object No No additional fields
details object No Additional fields allowed
message string Yes

Additional fields are not accepted.

application/json body.data
Field Type Required Description and constraints
acr_values string No RFC 9470 step-up challenge (insufficient_user_authentication).
blockers object[] No For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.
code string No For legal refusals: the document code the refusal is about.
max_age string No RFC 9470 step-up challenge (insufficient_user_authentication).
max_source_amount object or null No For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum. No additional fields
min_source_amount object No For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included. No additional fields
published_version string No For document_version_superseded: the version currently published.
reason string No Typed refinement of code, from the failing service's contract.
resource string No Resource kind a resource_not_found refers to.
retry_after_ms integer or null No Suggested back-off in milliseconds for throttling or temporary unavailability; null means no delay is known. minimum: 0
source string No For not_admissible: the gate that denied (verification, lifecycle, policy, compliance).

Additional fields are not accepted.

application/json body.data.blockers

For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.

Type: object[].

application/json body.data.blockers item
Field Type Required Description and constraints
description string Yes
type "non_zero_balance" / "active_sub_resources" / "pending_operations" / "active_users" / "active_service_accounts" / "active_role_assignments" Yes
assets object[] No minItems: 1
count integer No minimum: 0; maximum: 9007199254740991

Additional fields are not accepted.

application/json body.data.blockers item.assets

Type: object[]. minItems: 1

application/json body.data.blockers item.assets item
Field Type Required Description and constraints
asset string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
kind "balance" / "held" / "owed" / "unsettled" Yes

Additional fields are not accepted.

application/json body.data.max_source_amount

For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

application/json body.data.min_source_amount

For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

Response 401 schema

Content type: application/json.

See response 400 schema.

Response 403 schema

Content type: application/json.

See response 400 schema.

Response 404 schema

Content type: application/json.

See response 400 schema.

Response 409 schema

Content type: application/json.

See response 400 schema.

Response 422 schema

Content type: application/json.

See response 400 schema.

Response 500 schema

Content type: application/json.

See response 400 schema.

Response 502 schema

Content type: application/json.

application/json body

Field Type Required Description and constraints
code string Yes
data object No No additional fields
details object No Additional fields allowed
message string Yes

Additional fields are not accepted.

application/json body.data
Field Type Required Description and constraints
acr_values string No RFC 9470 step-up challenge (insufficient_user_authentication).
blockers object[] No For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.
code string No For legal refusals: the document code the refusal is about.
max_age string No RFC 9470 step-up challenge (insufficient_user_authentication).
max_source_amount object No For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum. No additional fields
min_source_amount object No For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included. No additional fields
published_version string No For document_version_superseded: the version currently published.
reason string No Typed refinement of code, from the failing service's contract.
resource string No Resource kind a resource_not_found refers to.
retry_after_ms integer No Suggested back-off in milliseconds for throttling or temporary unavailability; null means no delay is known. minimum: 0
source string No For not_admissible: the gate that denied (verification, lifecycle, policy, compliance).

Additional fields are not accepted.

application/json body.data.blockers

For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.

Type: object[].

application/json body.data.blockers item
Field Type Required Description and constraints
description string Yes
type "non_zero_balance" / "active_sub_resources" / "pending_operations" / "active_users" / "active_service_accounts" / "active_role_assignments" Yes
assets object[] No minItems: 1
count integer No minimum: 0; maximum: 9007199254740991

Additional fields are not accepted.

application/json body.data.blockers item.assets

Type: object[]. minItems: 1

application/json body.data.blockers item.assets item
Field Type Required Description and constraints
asset string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
kind "balance" / "held" / "owed" / "unsettled" Yes

Additional fields are not accepted.

application/json body.data.max_source_amount

For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

application/json body.data.min_source_amount

For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

Response 503 schema

Content type: application/json.

See response 502 schema.