Create tracked payment link
create_tracked_payment_link[demo: deshabilitada] Creates a tracked MercadoPago payment link for a catalog-tied cobro: atomically records the Sale + Invoice + PaymentIntent, then generates a real Checkout Pro link. MONEY: real and irreversible.
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": {
"customerId": "<customerId>",
"items": "<items>",
"description": "<description>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_tracked_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Line items. | |
| customerId | Yes | Customer ID. | |
| description | Yes | Cobro description shown on the MP preference. | |
| expiresInDays | No | Link lifetime in days (1–30, default 3). | |
| idempotencyKey | Yes | Stable UUID generated by the wizard. |