create_payment_link
Generate a payment link (checkout preference) with product title, amount, quantity, redirect URLs, and expiration date for collecting payments via Mercado Pago.
Instructions
Create a payment link (checkout preference)
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": {
"title": "<title>",
"amount": "<amount>"
},
"name": "create_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Product/service title | |
| amount | Yes | Price | |
| quantity | No | Quantity | |
| failureUrl | No | Redirect URL after failure | |
| pendingUrl | No | Redirect URL for pending | |
| successUrl | No | Redirect URL after success | |
| expirationDate | No | Expiration date (ISO format) |