Create product
create_productCreate a reusable fixed-price checkout template with a public page. Specify product name, price in BRL cents, and optional URLs for images, callbacks, and redirects.
Instructions
Create a reusable product (fixed-price checkout template with a public page). Requires scope merchant_write.
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": {
"name": "<name>"
},
"name": "create_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Product name (2–80 chars). | |
| slug | No | URL slug (auto-generated from name when omitted). | |
| amount | No | Amount in BRL cents (R$5.00–R$3000.00). Wire field is `amount`. | |
| metadata | No | ||
| image_url | No | ||
| expires_in | No | ||
| description | No | ||
| amount_cents | No | Alias of `amount` (BRL cents). Provide either `amount` or `amount_cents`. | |
| callback_url | No | ||
| redirect_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes |