#503 — [Bug]: missing PE total_payment_volume
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2025-08-18 · Updated: 2025-09-15
Description
Steps to reproduce
- In staging open OpenAPI UI and login under partner user
- Call “list of merchants” API and check status for eeeddccd-a4e1-485d-ad01-08b81ecc45cc merchant (“name”: “Howe Koelpin and Lang”).
Expected behavior
Status is “active”. Because PE “list merchants” API returns "total_payment_volume": "40327.51" for this merchant.
Actual behavior
Status is “approved”.
Investigation details
Consequences are explained broadly on https://twill-network.slack.com/archives/C078KS0R05B/p1755285489757119?thread_ts=1755244969.551909&cid=C078KS0R05B and precisely on https://twill-network.slack.com/archives/C078KS0R05B/p1755501607237659?thread_ts=1755244969.551909&cid=C078KS0R05B
Martin explained the root cause in https://twill-network.slack.com/archives/C078KS0R05B/p1755288808660899?thread_ts=1755244969.551909&cid=C078KS0R05B
Extra investigation have shown that in “List merchants” PE API we have following fields absent in “get merchant details” API:
- merchant_portal_invite
- total_payment_volume
- parent_merchant_id
- bank_account_verification (probably
validation_statusvalue in “get_merchant_bank_account_active” and “get_merchant_bank_accounts” responses) - percentage_completed
- steps_completed (while
total_stepsexists in both)
“List merchants” PE API doesn’t allow to apply
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets