curl https://api.playto.so/v1/products/ \
-H "X-API-KEY: sk_live_your_api_key_here"
curl "https://api.playto.so/v1/products/?is_active=true" \
-H "X-API-KEY: sk_live_your_api_key_here"
{
"data": [
{
"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": null,
"created_at": "2024-05-01T10:00:00Z"
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"title": "Brand Kit",
"description": "Logo, colors, and typography package.",
"amount": 29900,
"currency": "USD",
"is_active": true,
"checkout_url": "https://app.playto.so/pay/checkout?productId=b2c3d4e5-f6a7-8901-bcde-f12345678901",
"redirect_url": null,
"payment_method_configuration": null,
"created_at": "2024-04-20T08:30:00Z"
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 2,
"has_more": false
}
}
Products
List Products
Retrieve all reusable payment links (products) for your merchant account.
GET
/
products
/
curl https://api.playto.so/v1/products/ \
-H "X-API-KEY: sk_live_your_api_key_here"
curl "https://api.playto.so/v1/products/?is_active=true" \
-H "X-API-KEY: sk_live_your_api_key_here"
{
"data": [
{
"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": null,
"created_at": "2024-05-01T10:00:00Z"
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"title": "Brand Kit",
"description": "Logo, colors, and typography package.",
"amount": 29900,
"currency": "USD",
"is_active": true,
"checkout_url": "https://app.playto.so/pay/checkout?productId=b2c3d4e5-f6a7-8901-bcde-f12345678901",
"redirect_url": null,
"payment_method_configuration": null,
"created_at": "2024-04-20T08:30:00Z"
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 2,
"has_more": false
}
}
Authentication
RequiresX-API-KEY header.
Query Parameters
Filter by active status.
true returns only active products, false returns inactive ones. Omit to return all.Response
Returns a paginated envelope containing a list of products.Pagination (List View)
Product Object
The saved payment method setting, for example
{"enabled": ["card"]}. null means the usual methods. See Payment Methods.curl https://api.playto.so/v1/products/ \
-H "X-API-KEY: sk_live_your_api_key_here"
curl "https://api.playto.so/v1/products/?is_active=true" \
-H "X-API-KEY: sk_live_your_api_key_here"
{
"data": [
{
"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": null,
"created_at": "2024-05-01T10:00:00Z"
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"title": "Brand Kit",
"description": "Logo, colors, and typography package.",
"amount": 29900,
"currency": "USD",
"is_active": true,
"checkout_url": "https://app.playto.so/pay/checkout?productId=b2c3d4e5-f6a7-8901-bcde-f12345678901",
"redirect_url": null,
"payment_method_configuration": null,
"created_at": "2024-04-20T08:30:00Z"
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 2,
"has_more": false
}
}
