Read the payment page steps of an invoice
get_checkout_trailRetrieves an invoice's chronological checkout steps and timestamps so you can identify where a buyer stopped in the payment flow.
Instructions
Gets the steps one invoice went through, oldest first, each with the time it was first reached. Needs a store key (npx stablevoy-mcp login). The steps are created, what the payment page reported (opened with page or widget, option_changed, details_copied, wallet_started, wallet_rejected, wallet_failed, tx_sent), the first payment seen (detected) and the outcome (paid, expired or cancelled). Use it to see where a buyer stopped. A buyer who pays from another device skips page steps. Without store every connected store is asked; an id no store has gives not_found. Use get_checkout_funnel for the counts of a period and get_invoice for the payments. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoiceId": "<invoiceId>"
},
"name": "get_checkout_trail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Store id or exact store name from list_stores. Needed only when several stores are connected. | |
| invoiceId | Yes | The invoice id. |