get_trust_receipt
Retrieve the signed trust receipt for a checkout. A receipt records the complete_checkout call; read order_placed before telling anyone a purchase happened. Returns the receipt id, the JWS signature and how to verify it. Issuance is asynchronous: right after complete_checkout this may answer status: "pending" with a retry delay. pending with code receipt_pending means the purchase completed and the receipt is on its way; checkout_in_progress means the complete_checkout call is still running. Only the credential that made the purchase can read its receipt. A receipt attests that the call happened, not that money moved: read settlement (it is not_attested unless the payment rail confirmed it). PREFER THE CART CARD: if the purchase was completed on an interactive card, it already fetches and shows this receipt itself right after the order — calling this tool yourself right after is usually redundant and opens a new card in the transcript. Call it yourself only when there is no interactive card, or the buyer asks for the receipt later in a new turn. Checkout guide: read the MCP resource trusteed://guides/checkout.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trust_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | No | The order id of a completed purchase, when you have the order but not the checkout session. Provide this or checkout_session_id. | |
| agent_key | No | Sandbox credential from `create_sandbox_key`. Use this when your client cannot set an `Authorization: Bearer` header. | |
| checkout_session_id | No | The checkout session id returned by create_cart and echoed by complete_checkout. Provide this or order_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jws | No | ||
| code | No | ||
| docs | No | ||
| status | Yes | ||
| call_id | No | ||
| message | No | ||
| order_id | No | ||
| issued_at | No | ||
| dimensions | No | ||
| receipt_id | No | ||
| verify_url | No | ||
| verify_with | No | ||
| order_placed | No | ||
| checkout_status | No | ||
| does_not_attest | No | ||
| signature_status | No | ||
| retry_after_seconds | No |