cancel_subscription | Cancel a subscription. Arguments: subscription_id (string, Paddle ID prefixed with sub_), effective_from (enum: immediately|next_billing_period, optional, defaults to next_billing_period). |
create_customer | Create a customer. Arguments: email (string, valid email), name (string, optional), locale (string, IETF BCP 47 tag, optional, defaults to “en”). |
create_discount | Create a discount. Arguments: description (string, 1–500 chars), type (enum: flat|flat_per_seat|percentage), amount (string — cents for flat/flat_per_seat, percentage value e.g. “10” for 10%), currency_code (string, required for flat/flat_per_seat), enabled_for_checkout (boolean, defaults true), code (string, optional, 1–32 alphanumeric — auto-generated if omitted), recur (boolean, defaults false), maximum_recurring_intervals (integer ≥1, optional, requires recur), usage_limit (integer ≥1, optional), expires_at (RFC 3339 datetime, optional). |
create_price | Create a price for a product. Arguments: product_id (string, Paddle ID prefixed with pro_), description (string, 2–500 chars, internal label not shown to customers), unit_price (object with amount as string of cents e.g. “1000” for $10.00, and currency_code e.g. “USD”), billing_cycle (object with interval enum day|week|month|year and frequency integer ≥1, optional — omit for one-time prices), trial_period (object with interval, frequency, optional — requires billing_cycle), quantity (object with minimum and/or maximum integers, optional). |
create_product | Create a product. Arguments: name (string, 1–200 chars), tax_category (enum: digital-goods, ebooks, implementation-services, professional-services, saas, software-programming-services, standard, training-services, website-hosting), description (string, optional, max 2048), image_url (string, optional, HTTPS URL to product image). |
pause_subscription | Pause a subscription. Arguments: subscription_id (string, Paddle ID prefixed with sub_), effective_from (enum: immediately|next_billing_period, optional, defaults to next_billing_period), resume_at (RFC 3339 datetime, optional — omit for indefinite pause). |
resume_subscription | Resume a paused subscription. Arguments: subscription_id (string, Paddle ID prefixed with sub_), effective_from (enum: immediately|next_billing_period, optional, defaults to next_billing_period). |
update_customer | Update a customer. Arguments: customer_id (string, Paddle ID prefixed with ctm_), name (string, optional), email (string, optional), locale (string, optional), status (enum: active|archived, optional). |