Create intake transcribe statement
Read processing figures off a merchant statement. Explicit figures win; otherwise extractedText is regex-parsed, or imageBase64/an R2 attachmentKey goes through Workers AI vision (when bound). Writes estMonthlyVolumeCents/monthly_card_volume_cents/totalFeesCents/effectiveRateBps to customFields, records a statement_ocr revenue_estimate signal, and re-ranks the merchant.
POST
/workspaces/{organizationId}/intake/{customerId}/transcribe-statementAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredcustomerIdstringrequiredRequest body
application/jsonattachmentKeystringimageBase64stringextractedTextstringmonthlyVolumeCentsnumbertotalFeesCentsnumbereffectiveRateBpsnumberavgTicketCentsnumberprocessorstringstatementPeriodstringResponses
200
Statement transcribed
customerIdstringrequiredmetricsobjectrequiredShow propertiesHide properties
monthlyVolumeCentsnumber | nullrequiredtotalFeesCentsnumber | nullrequiredeffectiveRateBpsnumber | nullrequiredprocessorstring | nullrequiredscorenumber | nullrequired400
Invalid request
404
Customer not found