Skip to navigation

Download the consolidation term

Short-lived URL for the consolidation term of a concluded order. CorpX issues one PDF for both parties after the trade concludes: the parties (masked document), the order, and the SHA-256 of each signed copy. It is a record, not a new signature. Before the PDF exists, 409 term_not_available. Scope p2p.read (or read).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

accountIdstringRequired
Account identifier.
orderIdstringRequired
P2P order identifier.

Headers

X-Tenant-IdstringRequired
Tenant context used for authorization and routing.
X-Request-TimestampstringRequired

Unix seconds. Required on the signed host; tolerance is 300s either way (403 request_timestamp_skew).

X-Content-SHA256stringRequired

Lowercase hex SHA-256 of the body. An empty body hashes the empty string, so the header is always present. Mismatch returns 400 body_hash_mismatch.

X-Request-SignaturestringRequired

Detached JWS (<protected>..<signature>, ES256 or PS256) over METHOD\nPATH?QUERY\nTIMESTAMP\nIDEMPOTENCY_KEY_OR_EMPTY\nX_CONTENT_SHA256.

Response

Term URL
orderIdstringOptional
downloadUrlstringOptionalformat: "uri"

Short-lived URL.

sha256stringOptional

SHA-256 of the term PDF.

generatedAtdatetimeOptional

Errors

403
Forbidden Error
404
Not Found Error
409
Conflict Error
502
Bad Gateway Error
503
Service Unavailable Error