Commerce Receipt
commerce-receiptVerify an x402 commercial state and persist a signed Ed25519 Proof402 receipt whose Commerce State Root commits request, offer, policy, payment, settlement, and delivery evidence; receipts are later Merkle-batched for public inclusion proofs. Price: $0.04 via x402. Generate one _salt19_operation_id per intended purchase, preserve it across retries, and add _x402_payment_signature after satisfying the challenge. A stable _salt19_operation_id is required and makes semantic retries at-most-once. _salt19_operation_id is recommended but optional for standard x402 compatibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | Input parameter "policy" for the commerce-receipt tool. | |
| request | Yes | Input parameter "request" for the commerce-receipt tool. | |
| delivery | Yes | Input parameter "delivery" for the commerce-receipt tool. | |
| settlement | Yes | Input parameter "settlement" for the commerce-receipt tool. | |
| payment_payload | Yes | Input parameter "payment_payload" for the commerce-receipt tool. | |
| payment_required | Yes | Input parameter "payment_required" for the commerce-receipt tool. | |
| expected_delivery | No | Input parameter "expected_delivery" for the commerce-receipt tool. | |
| _salt19_handoff_id | No | Optional SALT19 authorization handoff correlation. Preserve the same value across challenge, local signing, and paid retry. | |
| _salt19_operation_id | No | Optional but recommended semantic purchase identifier. Generate once per intended purchase and preserve it across challenge, payment, timeout recovery, and retries for the strongest at-most-once contract. Standard x402 clients may omit it. | |
| _x402_payment_signature | No | Optional x402 PAYMENT-SIGNATURE proof. Omit on the first call to receive the payment challenge; include after satisfying that challenge. | |
| target_salt19_operation_id | No | Input parameter "target_salt19_operation_id" for the commerce-receipt tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Canonical SALT19 tool identifier when the result is tool-specific. | |
| status | No | SALT19 execution, payment, availability, or verification state. | |
| response | No | Tool-specific structured response payload when execution completes. | |
| operation_id | No | Client-controlled semantic purchase identifier when applicable. |