Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

A partner-scoped API key (trdrs_sk_…), issued to a trdrs Connect partner firm and accepted only under /api/partner/. Same format as the firm (tenant) key, different scope: a firm API key is refused here, and this key is refused everywhere else.

Body

application/json

PartnerAccountResetRequest. Names the account and carries your idempotency handle — a duplicate referenceId answers 409 and moves nothing.

accountNumber
string
required

A firm-issued account number (from the create call or the list).

referenceId
string
required

Your idempotency handle for this reset (≤80 chars). A retried pipeline can never double-reset.

comment
string

Optional audit note (≤300 chars), kept on the ledger row.

Response

The account was reset (PartnerAccountResetResponse)

PartnerAccountResetResponse. The reset happened: balance back to starting, positions and working orders cleared.

accountNumber
string
required
reset
boolean
required