Tranquilo

Payments

QR-first local payment flow for prepared checkout orders.

Payment is user-local. Tranquilo routes direct UPI payment through a user-selected UPI app, renders a QR/link from Juspay, then polls payment status and calls Pronto finalization after a successful charge.

tranquilo checkout pay <order-id> --open-qr --upi-app phonepe

Allowed UPI apps are phonepe, googlepay, and paytm. The first selection is stored locally and reused for later payments; pass --upi-app again to change it.

Use --open-qr in terminal agents such as Codex CLI. Tranquilo still prints the terminal QR and saved PNG path, but opening the PNG is the most reliable way to make the QR visible when long command output is collapsed.

Do not run --open-intent from an agent unless the user explicitly asks for local OS/app opening. It is intentionally not part of the default agent-safe flow.

Checkout subcommands

SubcommandDescription
tranquilo checkout pay <order-id>Render QR and watch payment status
tranquilo checkout status <order-id>Check checkout payment status

Pay flags

FlagRequiredDescription
<order-id>YesCheckout order id
--copy-linkNoCopy the UPI URI to clipboard
--save-qr <path>NoSave QR image to path
--open-intentNoBest-effort OS open of the UPI intent
--open-qrNoOpen the saved QR image with the OS image viewer
--qr-size <size>NoTerminal QR size Allowed values: compact, small, normal. Default: compact.
--upi-app <app>NoUPI app to route payment through; required until a local preference is saved Allowed values: phonepe, googlepay, paytm.
--watch / --no-watchNoPoll payment status and finalize booking Negated form: Only render payment instructions. Default: true.
--jsonNoPrint JSON
--no-interactiveNoNever prompt; fail if more input is required

Status flags

FlagRequiredDescription
<order-id>YesCheckout order id
--watchNoPoll until final status or timeout
--jsonNoPrint JSON

On this page