Issue delivery receipt
issue_receiptAnchor a SHA-256 digest of delivered content plus the x402 settlement reference on Solana. Returns a permanent, publicly verifiable receipt (poll until outcome === "settled"). Costs 0.001 USDC via x402; if x402_payment_signature is omitted, returns the payment challenge instead (pay 0.001 USDC to the service address, then call again with the payment tx signature).
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": {
"x402_payment_ref": "<x402_payment_ref>",
"deliverable_digest": "<deliverable_digest>"
},
"name": "issue_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | Optional buyer identifier (wallet address) | |
| seller | No | Optional seller identifier | |
| x402_payment_ref | Yes | Unique reference for this transaction (1-128 chars) | |
| deliverable_digest | Yes | SHA-256 hex digest (64 chars) of the delivered content | |
| x402_payment_signature | No | Solana tx signature of the 0.001 USDC payment to the service address. Omit to receive the payment challenge. |