verify-my-purchase
Verify your payment transaction to retrieve the purchased content. Provide the merchant URL, product ID, and transaction hash to get the command for the receipt endpoint.
Instructions
After you've signed and sent a payment, this explains how to redeem it — turning your transaction hash into the content you paid for. Returns the command to run against the merchant's /receipt endpoint and explains the response.
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": {
"merchant_url": "<merchant_url>",
"product_id": "<product_id>",
"tx_hash": "<tx_hash>"
},
"name": "verify-my-purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_url | Yes | The merchant's base URL (e.g. 'https://underground.substratesymposium.com') | |
| product_id | Yes | The product ID you were buying | |
| tx_hash | Yes | The transaction hash or signature from your payment (Base tx hash or Solana signature) |