Accountant Portal

Draw a week's blind sample for one action type (F20)

Changed on

A super-admin only (403 SUPER_ADMIN_REQUIRED). Draws from Penny's applied writes of the week (periodStart is a Monday, UTC; 422 otherwise), weighted by amount: at least 50 rows, or 5% of the week's writes when more; every write and short: true when fewer than 50 exist (reported, never a pass). 409 AGENT_BLIND_SAMPLE_EXISTS when the week is already drawn. Both service keys get 404.

post/accountant/companies/{customerId}/agent/blind-samples

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Request body

object required
actionType, 'categorize' required
periodStart, string date required

Response

Drawn

object required
success, boolean required
data, AgentBlindSampleResult required

Changes