Update Product
curl --request PATCH \
--url https://api.playto.so/v1/products/{id}/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"title": "<string>",
"description": "<string>",
"amount": 123,
"currency": "<string>",
"is_active": true,
"redirect_url": "<string>",
"payment_method_configuration": {
"enabled": [
"<string>"
],
"disabled": [
"<string>"
]
}
}
'import requests
url = "https://api.playto.so/v1/products/{id}/"
payload = {
"title": "<string>",
"description": "<string>",
"amount": 123,
"currency": "<string>",
"is_active": True,
"redirect_url": "<string>",
"payment_method_configuration": {
"enabled": ["<string>"],
"disabled": ["<string>"]
}
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
amount: 123,
currency: '<string>',
is_active: true,
redirect_url: '<string>',
payment_method_configuration: {enabled: ['<string>'], disabled: ['<string>']}
})
};
fetch('https://api.playto.so/v1/products/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.playto.so/v1/products/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'description' => '<string>',
'amount' => 123,
'currency' => '<string>',
'is_active' => true,
'redirect_url' => '<string>',
'payment_method_configuration' => [
'enabled' => [
'<string>'
],
'disabled' => [
'<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.playto.so/v1/products/{id}/"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"amount\": 123,\n \"currency\": \"<string>\",\n \"is_active\": true,\n \"redirect_url\": \"<string>\",\n \"payment_method_configuration\": {\n \"enabled\": [\n \"<string>\"\n ],\n \"disabled\": [\n \"<string>\"\n ]\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.playto.so/v1/products/{id}/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"amount\": 123,\n \"currency\": \"<string>\",\n \"is_active\": true,\n \"redirect_url\": \"<string>\",\n \"payment_method_configuration\": {\n \"enabled\": [\n \"<string>\"\n ],\n \"disabled\": [\n \"<string>\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.playto.so/v1/products/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"amount\": 123,\n \"currency\": \"<string>\",\n \"is_active\": true,\n \"redirect_url\": \"<string>\",\n \"payment_method_configuration\": {\n \"enabled\": [\n \"<string>\"\n ],\n \"disabled\": [\n \"<string>\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "e6f9a0c7-1234-4567-890a-bcdef1234567",
"title": "Design Consultation",
"description": "60-minute 1-on-1 design review session.",
"amount": 7500,
"currency": "USD",
"is_active": false,
"checkout_url": "https://app.playto.so/pay/checkout?productId=e6f9a0c7-1234-4567-890a-bcdef1234567",
"redirect_url": "https://yoursite.com/thank-you",
"source": "api",
"payment_method_configuration": null,
"created_at": "2026-06-04T12:00:00Z"
}
Products
Update Product
Update an existing product (e.g., deactivate it or change price/redirect URL).
PATCH
/
products
/
{id}
/
Update Product
curl --request PATCH \
--url https://api.playto.so/v1/products/{id}/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"title": "<string>",
"description": "<string>",
"amount": 123,
"currency": "<string>",
"is_active": true,
"redirect_url": "<string>",
"payment_method_configuration": {
"enabled": [
"<string>"
],
"disabled": [
"<string>"
]
}
}
'import requests
url = "https://api.playto.so/v1/products/{id}/"
payload = {
"title": "<string>",
"description": "<string>",
"amount": 123,
"currency": "<string>",
"is_active": True,
"redirect_url": "<string>",
"payment_method_configuration": {
"enabled": ["<string>"],
"disabled": ["<string>"]
}
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
amount: 123,
currency: '<string>',
is_active: true,
redirect_url: '<string>',
payment_method_configuration: {enabled: ['<string>'], disabled: ['<string>']}
})
};
fetch('https://api.playto.so/v1/products/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.playto.so/v1/products/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'description' => '<string>',
'amount' => 123,
'currency' => '<string>',
'is_active' => true,
'redirect_url' => '<string>',
'payment_method_configuration' => [
'enabled' => [
'<string>'
],
'disabled' => [
'<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.playto.so/v1/products/{id}/"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"amount\": 123,\n \"currency\": \"<string>\",\n \"is_active\": true,\n \"redirect_url\": \"<string>\",\n \"payment_method_configuration\": {\n \"enabled\": [\n \"<string>\"\n ],\n \"disabled\": [\n \"<string>\"\n ]\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.playto.so/v1/products/{id}/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"amount\": 123,\n \"currency\": \"<string>\",\n \"is_active\": true,\n \"redirect_url\": \"<string>\",\n \"payment_method_configuration\": {\n \"enabled\": [\n \"<string>\"\n ],\n \"disabled\": [\n \"<string>\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.playto.so/v1/products/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"amount\": 123,\n \"currency\": \"<string>\",\n \"is_active\": true,\n \"redirect_url\": \"<string>\",\n \"payment_method_configuration\": {\n \"enabled\": [\n \"<string>\"\n ],\n \"disabled\": [\n \"<string>\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "e6f9a0c7-1234-4567-890a-bcdef1234567",
"title": "Design Consultation",
"description": "60-minute 1-on-1 design review session.",
"amount": 7500,
"currency": "USD",
"is_active": false,
"checkout_url": "https://app.playto.so/pay/checkout?productId=e6f9a0c7-1234-4567-890a-bcdef1234567",
"redirect_url": "https://yoursite.com/thank-you",
"source": "api",
"payment_method_configuration": null,
"created_at": "2026-06-04T12:00:00Z"
}
Authentication
RequiresX-API-KEY header.
Path Parameters
Body Parameters
The price, as a whole number in cents (smallest currency unit). For example,
2500 is $25.00. Do not send decimals. Must be within the allowed range for the currency.Limit which payment methods the checkout offers. Send either
enabled (only these methods) or disabled (the usual methods minus these), one at a time. Leave it out to keep the current setting. A new value replaces the old one completely; send null to go back to the usual methods. See Payment Methods.Response
Returns the updated product object.{
"id": "e6f9a0c7-1234-4567-890a-bcdef1234567",
"title": "Design Consultation",
"description": "60-minute 1-on-1 design review session.",
"amount": 7500,
"currency": "USD",
"is_active": false,
"checkout_url": "https://app.playto.so/pay/checkout?productId=e6f9a0c7-1234-4567-890a-bcdef1234567",
"redirect_url": "https://yoursite.com/thank-you",
"source": "api",
"payment_method_configuration": null,
"created_at": "2026-06-04T12:00:00Z"
}
