verify_payment
After the user finishes Stripe checkout, verify it with Stripe and activate the paid task. Use the original task reference.
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": {
"task_id": "<task_id>"
},
"name": "verify_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The compact or full UUIDv7 returned by MagicLayers. | |
| task_ref | No | The private task reference. Omit only when the MCP client supplies task authorization in its HTTP header. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |