Recover a paid Mahshar API response
get_purchase_responseRetrieve the exact durable response for one paid purchase using the purchase capability returned by paid execution. Recovery uses that bearer capability only and never falls back to a browser session. The capability is sensitive: do not log or share it.
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": {
"api_id": "<api_id>",
"buyer_wallet": "<buyer_wallet>",
"purchase_access_token": "<purchase_access_token>"
},
"name": "get_purchase_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_id | Yes | ||
| buyer_wallet | Yes | ||
| purchase_access_token | Yes | Bearer-sensitive purchase capability returned by paid execution. It authorizes recovery of that exact purchase response; do not log or share it. |