#565 — Add POST /api/v1/partner/merchants/{merchant_id}/generate-application to facade
Repo: Twill-AI/facade State: closed | Status: done Assignee: meliascosta
Created: 2025-09-07 · Updated: 2025-09-29
Description
Request
Caused by: https://twillpayments.atlassian.net/wiki/spaces/TD/pages/431915009/AI+powered+document+processing
In order to: expose the auto fill functionality to the UI
Request payload example: It should have a free text long blob to hold whatever the reps want to copy past and a list ids from uploaded docs
{"text" : "LONG TEXT",
"docIds" : ["id1", "id2", "id3"]
}Response payload example, it should return a MerchantPersisted object
Acceptance criteria
- There is a new POST
/api/v1/partner/merchants/{merchant_id}/generate-applicationendpoint that exposes the auto fill graph fromtwill_llm_enginecreated here: https://github.com/Twill-AI/twill-llm-engine/issues/311 - Endpoint is covered by tests
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets