Added

Expanded activity type enums on account activities endpoints

Broker API

The activity type enums on the account activities endpoints now match the set the backend actually returns and accepts.

  • ActivityType adds the types the listing can return, including ALLOC, CFEE, CORR, CSR, DIVFEE, DIVFT, DIVTW, DIVWH, DTCS, DVF, ECEXP, EXTRD, FIMAT, FXCNV, FXTRD, INTNRA, INTTW, INVPNL, JNL, MEM, NC, PTR, SC, SEG, SSO, SSP, SUB, VOF, and WH.
  • A new ActivityTypeFilter schema documents the values accepted for filtering. It is referenced by the activity_types query parameter and the {activity_type} path parameter. Filter-only values include TRANS, MISC, SWP, and TRD; TRANS and MISC are aliases that expand to groups of entry types and are never returned as activity_type.
  • Response-only values CORR, SEG, SSO, SSP, and DTCS are returned by the listing but rejected as filter values. SSO and SSP are former spin-off and split codes; current activities use SPIN and SPLIT.
  • CSD is now described as a cash deposit (+), including returned withdrawals, and CSW as a cash withdrawal (-), including returned deposits. Descriptions were added for DVF, EXTRD, INVPNL, and SC.
  • ActivitySubType remains a free-form string; the mapping is documented as non-exhaustive and FEE now lists ICF and EPI.

Affected Endpoints

  • GET /v1/accounts/activities
  • GET /v1/accounts/activities/{activity_type}