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.
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 |