> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Create Product

> Create a new reusable payment link that can be used by multiple customers.

### Authentication

Requires `X-API-KEY` header.

You can also pass an optional `Idempotency-Key` header to safely retry requests without creating duplicate records. See the [Idempotency guide](/api-reference/idempotency.md) for details.

### Body Parameters

**title** `string` *required*

The name of the product shown to customers.

**amount** `integer` *required*

The price, as a whole number in cents (smallest currency unit). For example, `2500` is \$25.00. Do not send decimals.

**currency** `string` (default: USD)

Must be `USD`. Only USD payments are supported.

**description** `string`

Optional description of the product.

**redirect\_url** `string`

URL to redirect the customer after a successful payment.

**payment\_method\_configuration** `object`

Limit which payment methods the checkout offers. Send either `enabled` (only these methods) or `disabled` (the usual methods minus these), one at a time. Omit it, or send `null`, to offer the usual methods. See [Payment Methods](/api-reference/payment-methods.md).

**properties**

**enabled** `string[]`

Payment method identifiers to offer, for example `["card", "klarna"]`.

**disabled** `string[]`

Payment method identifiers to hide, for example `["crypto"]`. Disabling `card` also hides Apple Pay and Google Pay.

### Response

Returns the created product, including a `checkout_url` ready to share with customers.

**id** `uuid`

The unique identifier for the created product.

**title** `string`

The product title.

**amount** `integer`

The price in cents (smallest currency unit).

**currency** `string`

3-letter ISO currency code.

**is\_active** `boolean`

`true` - products are active immediately on creation.

**checkout\_url** `string`

The URL to share with customers to collect payment.

**redirect\_url** `string`

The post-payment redirect URL, if provided.

**payment\_method\_configuration** `object | null`

The saved payment method setting, for example `{"enabled": ["card"]}`. `null` means the usual methods. See [Payment Methods](/api-reference/payment-methods.md).

**created\_at** `datetime`

Timestamp when the product was created.

```bash cURL
curl -X POST https://api.playto.so/v1/products/ \
  -H "X-API-KEY: sk_live_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Design Consultation",
    "description": "60-minute 1-on-1 design review session.",
    "amount": 7500,
    "currency": "USD",
    "redirect_url": "https://yoursite.com/thank-you",
    "payment_method_configuration": { "enabled": ["card"] }
  }'
```

```json 201
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "title": "Design Consultation",
  "description": "60-minute 1-on-1 design review session.",
  "amount": 7500,
  "currency": "USD",
  "is_active": true,
  "checkout_url": "https://app.playto.so/pay/checkout?productId=a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "redirect_url": "https://yoursite.com/thank-you",
  "payment_method_configuration": {"enabled": ["card"]},
  "created_at": "2024-05-01T10:00:00Z"
}
```
