Maton

Paddle

Access the Paddle Billing API with managed authentication. Read the account, products, prices, customers, subscriptions, transactions, adjustments, discounts, reports, metrics, and events; preview prices and subscription changes; and update the catalog, customers, and subscriptions, issue refunds, and add charges. Paddle is the merchant of record for real payments. All access runs through the Maton gateway and the maton CLI.

Permissions

Suggested read access

In the Console, Read limits the connection to these 70 read-only endpoints, plus deny rules for any write endpoint a broader rule would otherwise match. Endpoints Maton has found to return credentials, start jobs, or spend credits are left out; a few reads that can change state or return a secret depending on their parameters stay in, and their descriptions say how. It is a suggestion: the saved rules are exactly the ones you see, and you can change them with Custom. See Access policy.

Reference

API Root

Get Caller and Permissions

maton api '/paddle/'

Response:

{
  "data": {
    "api": {
      "name": "Paddle API",
      "version": "1",
      "environment": "production",
      "documentation_url": "https://developer.paddle.com/api-reference/overview"
    },
    "caller": {
      "auth_type": "api_key",
      "account": {"id": "{seller_id}", "name": "{account_name}"},
      "permissions": ["customer.read", "product.read", "transaction.read"]
    }
  },
  "meta": {"request_id": "{request_id}"}
}

Use this as the first call. environment is production, and permissions lists what the connected key may do. Any valid key can call it.

Account

Get Account

maton api '/paddle/account'

Response:

{
  "data": {
    "id": "{seller_id}",
    "legacy_id": "{legacy_id}",
    "legal_name": "{legal_name}",
    "display_name": null,
    "website": null,
    "email": "{email}"
  },
  "meta": {"request_id": "{request_id}"}
}

Needs account.read. PATCH account changes the business details.

Products

List Products

maton api '/paddle/products?status=active&include=prices&per_page=50'

Response:

{
  "data": [
    {
      "id": "pro_01h7zcgmdc6tmwtjehp3sh7azf",
      "name": "Pro plan",
      "tax_category": "saas",
      "type": "standard",
      "description": "Everything in Starter, plus team seats.",
      "image_url": null,
      "custom_data": null,
      "status": "active",
      "created_at": "2026-03-01T10:00:00.000Z",
      "updated_at": "2026-03-01T10:00:00.000Z",
      "prices": []
    }
  ],
  "meta": {
    "request_id": "{request_id}",
    "pagination": {"per_page": 50, "next": "...", "has_more": false, "estimated_total": 1}
  }
}

Filters: status (active, archived), type (standard, custom), tax_category, id, and include=prices.

Get Product

maton api '/paddle/products/{product_id}?include=prices'

Create Product

maton api '/paddle/products' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "name": "Pro plan",
  "tax_category": "saas",
  "description": "Everything in Starter, plus team seats."
}
JSON

Body fields:

  • name (string, required)
  • tax_category (string, required): standard, saas, digital-goods, ebooks, software-programming-services, implementation-services, professional-services, training-services, or website-hosting. Categories other than standard need approval in the Paddle dashboard first
  • description, image_url (a public HTTPS URL), type, custom_data

Update Product

maton api '/paddle/products/{product_id}' -X PATCH -H 'Content-Type: application/json' \
  --input - <<'JSON'
{"status": "archived"}
JSON

Note: Paddle doesn't delete catalog entities: archive them with "status": "archived".

Prices

List Prices

maton api '/paddle/prices?product_id={product_id}&status=active&include=product'

Response:

{
  "data": [
    {
      "id": "pri_01h7zcgmdc6tmwtjehp3sh7azg",
      "product_id": "pro_01h7zcgmdc6tmwtjehp3sh7azf",
      "description": "Monthly",
      "type": "standard",
      "billing_cycle": {"interval": "month", "frequency": 1},
      "trial_period": null,
      "tax_mode": "account_setting",
      "unit_price": {"amount": "1000", "currency_code": "USD"},
      "unit_price_overrides": [],
      "quantity": {"minimum": 1, "maximum": 100},
      "status": "active"
    }
  ],
  "meta": {"request_id": "{request_id}", "pagination": {"per_page": 50, "next": "...", "has_more": false, "estimated_total": 1}}
}

Amounts are strings in the currency's lowest unit: "1000" USD is $10.00. A price with billing_cycle: null is a one-time price. Filters: product_id, status, recurring, type, billing_cycle.interval.

Get Price

maton api '/paddle/prices/{price_id}'

Create Price

maton api '/paddle/prices' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "product_id": "{product_id}",
  "description": "Monthly",
  "unit_price": {"amount": "1000", "currency_code": "USD"},
  "billing_cycle": {"interval": "month", "frequency": 1}
}
JSON

Note: Omit billing_cycle for a one-time price. trial_period, unit_price_overrides (per-country prices), quantity, and tax_mode are optional. PATCH prices/{price_id} updates a price; archive it with "status": "archived".

Preview Prices

maton api '/paddle/pricing-preview' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "items": [{"price_id": "{price_id}", "quantity": 1}],
  "address": {"country_code": "US", "postal_code": "10001"}
}
JSON

Note: This calculates totals, tax and localized prices and changes nothing. Give an address, a customer_ip_address, or a customer_id and address_id so Paddle can calculate tax.

Customers

List Customers

maton api '/paddle/customers?status=active&search={text}'

Response:

{
  "data": [
    {
      "id": "ctm_01h8441jn5pcwrfhwh78jqt8hk",
      "name": "{name}",
      "email": "{email}",
      "marketing_consent": false,
      "status": "active",
      "custom_data": null,
      "locale": "en",
      "created_at": "2026-04-02T09:00:00.000Z",
      "updated_at": "2026-04-02T09:00:00.000Z"
    }
  ],
  "meta": {"request_id": "{request_id}", "pagination": {"per_page": 50, "next": "...", "has_more": false, "estimated_total": 1}}
}

Filters: email, search (ID, name, or email; at least 3 characters), status, id.

Get Customer

maton api '/paddle/customers/{customer_id}'

Get Customer Credit Balances

maton api '/paddle/customers/{customer_id}/credit-balances'

Note: Returns the credit the customer holds in each currency, from credits and refunds to balance.

Create Customer

maton api '/paddle/customers' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{"email": "{email}", "name": "{name}"}
JSON

Note: email is required and must be unique. PATCH customers/{customer_id} updates the name, email, locale, custom_data, or status.

Customer Addresses and Businesses

maton api '/paddle/customers/{customer_id}/addresses'
maton api '/paddle/customers/{customer_id}/addresses/{address_id}'
maton api '/paddle/customers/{customer_id}/businesses'
maton api '/paddle/customers/{customer_id}/businesses/{business_id}'

Note: the {...} IDs stand for real values; fill them in before sending the request. POST customers/{customer_id}/addresses (needs country_code) and POST customers/{customer_id}/businesses (needs name) add one, and PATCH on the item path updates it. Neither is deleted: archive with "status": "archived".

Customer Payment Methods

maton api '/paddle/customers/{customer_id}/payment-methods'
maton api '/paddle/customers/{customer_id}/payment-methods/{payment_method_id}'

Note: the {...} IDs stand for real values; fill them in before sending the request. Payment methods are saved cards and wallets, with only the brand, last four digits, and expiry. customers/{customer_id}/payment-methods/{payment_method_id} with DELETE removes a saved method.

Subscriptions

List Subscriptions

maton api '/paddle/subscriptions?status=active&customer_id={customer_id}'

Response:

{
  "data": [
    {
      "id": "sub_01h8bx8fmywym11t6swgzba704",
      "status": "active",
      "customer_id": "ctm_01h8441jn5pcwrfhwh78jqt8hk",
      "address_id": "add_01h8441jx8x1q971yy2kbp4trv",
      "business_id": null,
      "currency_code": "USD",
      "collection_mode": "automatic",
      "billing_cycle": {"interval": "month", "frequency": 1},
      "current_billing_period": {"starts_at": "2026-11-01T00:00:00Z", "ends_at": "2026-12-01T00:00:00Z"},
      "next_billed_at": "2026-12-01T00:00:00Z",
      "scheduled_change": null,
      "items": [
        {"status": "active", "quantity": 1, "price": {"id": "pri_01h7zcgmdc6tmwtjehp3sh7azg", "unit_price": {"amount": "1000", "currency_code": "USD"}}}
      ],
      "discount": null
    }
  ],
  "meta": {"request_id": "{request_id}", "pagination": {"per_page": 50, "next": "...", "has_more": false, "estimated_total": 1}}
}

Filters: status (active, canceled, past_due, paused, trialing), customer_id, price_id, collection_mode, scheduled_change_action.

Get Subscription

maton api '/paddle/subscriptions/{subscription_id}?include=next_transaction,recurring_transaction_details'

Note: include=next_transaction previews the next bill. subscriptions/{subscription_id}/history lists past changes.

Subscriptions (in the list and here) carry management_urls: update_payment_method and cancel are customer portal links that open that subscription's payment-method and cancel forms, and they act for the customer.

Preview Subscription Update

maton api '/paddle/subscriptions/{subscription_id}/preview' -X PATCH -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "items": [{"price_id": "{price_id}", "quantity": 2}],
  "proration_billing_mode": "prorated_immediately"
}
JSON

Note: This takes the same body as an update and changes nothing. The response's immediate_transaction, next_transaction, and update_summary show what the change would charge or credit.

Update Subscription

maton api '/paddle/subscriptions/{subscription_id}' -X PATCH -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "items": [{"price_id": "{price_id}", "quantity": 2}],
  "proration_billing_mode": "prorated_immediately"
}
JSON

Body fields:

  • items (array): The full list of items to keep. An item left out is removed. Each has price_id and quantity
  • proration_billing_mode (string): Required when items or next_billed_at change. prorated_immediately, prorated_next_billing_period, full_immediately, full_next_billing_period, or do_not_bill
  • next_billed_at, discount, collection_mode, billing_details, custom_data, address_id, customer_id
  • scheduled_change: null removes a scheduled pause or cancellation

Pause, Resume, or Cancel a Subscription

maton api '/paddle/subscriptions/{subscription_id}/pause' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{"effective_from": "next_billing_period"}
JSON

maton api '/paddle/subscriptions/{subscription_id}/resume' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{"effective_from": "immediately"}
JSON

maton api '/paddle/subscriptions/{subscription_id}/cancel' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{"effective_from": "next_billing_period"}
JSON

Note: By default pause and cancel create a scheduled_change for the end of the billing period, and the subscription stays active until then. effective_from: immediately applies the change at once. Pause also takes resume_at. Resuming bills the customer immediately unless on_resume says otherwise. A canceled subscription can't be resumed. subscriptions/{subscription_id}/activate with POST starts a trialing subscription early, which bills it.

Create a One-Time Charge

maton api '/paddle/subscriptions/{subscription_id}/charge' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "effective_from": "next_billing_period",
  "items": [{"price_id": "{one_time_price_id}", "quantity": 1}]
}
JSON

Note: Items must be one-time prices (billing_cycle: null). effective_from: immediately bills now; next_billing_period adds the charge to the next bill. subscriptions/{subscription_id}/charge/preview with POST takes the same body and changes nothing. Past-due subscriptions can't be charged.

Transactions

List Transactions

maton api '/paddle/transactions?status=completed&customer_id={customer_id}&order_by=billed_at[DESC]'

Response:

{
  "data": [
    {
      "id": "txn_01h8bx8ftv4e4h7d1m9vw2thq5",
      "status": "completed",
      "customer_id": "ctm_01h8441jn5pcwrfhwh78jqt8hk",
      "subscription_id": "sub_01h8bx8fmywym11t6swgzba704",
      "invoice_number": "325-10566",
      "origin": "subscription_recurring",
      "collection_mode": "automatic",
      "currency_code": "USD",
      "billed_at": "2026-11-01T00:00:12Z",
      "details": {
        "totals": {"subtotal": "1000", "tax": "89", "discount": "0", "total": "1089", "grand_total": "1089", "currency_code": "USD"}
      },
      "items": [{"price": {"id": "pri_01h7zcgmdc6tmwtjehp3sh7azg"}, "quantity": 1}]
    }
  ],
  "meta": {"request_id": "{request_id}", "pagination": {"per_page": 30, "next": "...", "has_more": false, "estimated_total": 1}}
}

Filters: status (draft, ready, billed, paid, completed, canceled, past_due), customer_id, subscription_id, invoice_number, origin, collection_mode, and billed_at, created_at or updated_at with [LT], [LTE], [GT], [GTE] suffixes (billed_at[GTE]=2026-11-01T00:00:00Z). include adds customer, address, business, discount, adjustments, and available_payment_methods. Pages hold at most 30 transactions.

Get Transaction

maton api '/paddle/transactions/{transaction_id}?include=customer,adjustments'

Get Invoice PDF

maton api '/paddle/transactions/{transaction_id}/invoice'

Response:

{"data": {"url": "{temporary_pdf_url}"}, "meta": {"request_id": "{request_id}"}}

The link is temporary. Invoices exist for billed and completed transactions. disposition=inline opens the PDF in the browser instead of downloading it.

Preview a Transaction

maton api '/paddle/transactions/preview' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "items": [{"price_id": "{price_id}", "quantity": 1}],
  "address": {"country_code": "GB"}
}
JSON

Note: This calculates totals and tax without creating a transaction.

Create a Transaction

maton api '/paddle/transactions' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "items": [{"price_id": "{price_id}", "quantity": 1}],
  "customer_id": "{customer_id}",
  "address_id": "{address_id}"
}
JSON

Note: the {...} IDs stand for real values; fill them in before sending the request. The response's checkout.url is a payment link for the customer. transactions/{transaction_id} with PATCH updates a draft or ready transaction, and sending "status": "billed" issues the invoice for a manually-collected transaction. transactions/{transaction_id}/revise with POST corrects customer, address, or business details on a billed or completed transaction.

Adjustments

List Adjustments

maton api '/paddle/adjustments?transaction_id={transaction_id}'

Note: Filters: action (refund, credit, chargeback, ...), status, customer_id, subscription_id, transaction_id. adjustments/{adjustment_id}/credit-note returns a temporary link to the credit-note PDF.

Create an Adjustment (Refund or Credit)

maton api '/paddle/adjustments' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "action": "refund",
  "transaction_id": "{transaction_id}",
  "reason": "Customer requested a refund for a duplicate purchase",
  "type": "full"
}
JSON

Note: type: partial takes items, each with an item_id from the transaction, a type (full, partial, or tax), and an amount for partial. Refunds apply to completed transactions. Credits (action: credit) apply to manually-collected billed or past_due transactions. Refunds start as pending_approval.

Discounts

maton api '/paddle/discounts?status=active&code={code}'
maton api '/paddle/discounts/{discount_id}'
maton api '/paddle/discount-groups'

Note: the {...} values stand for real values; fill them in before sending the request.

Create a Discount

maton api '/paddle/discounts' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "description": "Launch week",
  "type": "percentage",
  "amount": "20",
  "code": "LAUNCH20",
  "enabled_for_checkout": true,
  "usage_limit": 100,
  "expires_at": "2026-12-31T23:59:59Z"
}
JSON

Body fields: type is percentage, flat, or flat_per_seat; amount is a percentage, or a lowest-unit amount with currency_code for flat types. recur and maximum_recurring_intervals make it apply to renewals. restrict_to limits it to price or product IDs. PATCH discounts/{discount_id} updates a discount; archive it with "status": "archived". Discount groups (POST/PATCH discount-groups) organize discounts.

Reports

List and Get Reports

maton api '/paddle/reports?status=ready'
maton api '/paddle/reports/{report_id}'
maton api '/paddle/reports/{report_id}/download-url'

Note: download-url returns a link to the CSV that expires after 3 minutes, and only for ready reports.

Create a Report

maton api '/paddle/reports' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "type": "transactions",
  "filters": [{"name": "updated_at", "operator": "gte", "value": "2026-11-01T00:00:00Z"}]
}
JSON

type is transactions, transaction_line_items, adjustments, adjustment_line_items, products_prices, discounts, or balance. The report starts pending; poll reports/{report_id} until it is ready.

Metrics

maton api '/paddle/metrics/revenue?from=2026-11-01&to=2026-11-30'
maton api '/paddle/metrics/monthly-recurring-revenue?from=2026-11-01&to=2026-11-30'
maton api '/paddle/metrics/active-subscribers?from=2026-11-01&to=2026-11-30'

Response:

{
  "data": {
    "currency_code": "USD",
    "starts_at": "2026-11-01T00:00:00Z",
    "ends_at": "2026-11-30T00:00:00Z",
    "interval": "day",
    "timeseries": [{"timestamp": "2026-11-01T00:00:00Z", "amount": "125000"}],
    "updated_at": "2026-11-30T03:00:00Z"
  },
  "meta": {"request_id": "{request_id}"}
}

from and to (dates) are required. Other series: monthly-recurring-revenue-change, refunds, chargebacks, checkout-conversion. metrics/explore with POST runs a custom query over the entities listed at metrics/explore/entities, and changes nothing. Needs metrics.read.

Events and Notifications

List Events

maton api '/paddle/events?event_type=transaction.completed&per_page=50'
maton api '/paddle/event-types'

Response (events):

{
  "data": [
    {
      "event_id": "evt_01h8bx8fx2xn3gk2f6a7q0ks4b",
      "event_type": "transaction.completed",
      "occurred_at": "2026-11-01T00:00:13.000Z",
      "data": {"id": "txn_01h8bx8ftv4e4h7d1m9vw2thq5", "status": "completed"}
    }
  ],
  "meta": {"request_id": "{request_id}", "pagination": {"per_page": 50, "next": "...", "has_more": true, "estimated_total": 120}}
}

Events keep the last 90 days. event-types lists every type with its group and versions.

Notifications

maton api '/paddle/notifications?status=failed'
maton api '/paddle/notifications/{notification_id}'
maton api '/paddle/notifications/{notification_id}/logs'

Note: Notifications are Paddle's deliveries of events to the account's webhook or email destinations. notifications/{notification_id}/replay with POST sends one again to its destination, as a new notification.

Notification Settings

Notification settings are the account's webhook destinations. Creating one (POST notification-settings with a destination URL and subscribed_events) starts sending every matching event to that URL until it is deleted. notification-settings/{notification_setting_id} with PATCH changes one, and the same path with DELETE removes it. Listing and reading them return each destination's endpoint_secret_key, which signs deliveries.

Other Resources

  • Settings: settings/tax, settings/checkout-url, settings/checkout-features, settings/checkout-payment-methods, settings/checkout-recovery, settings/checkout-styles-overlay, settings/statement-descriptor, settings/currency-conversions, and settings/balance-currency are read with GET and changed with PATCH.
  • Checkout domains: checkout-domains lists the domains approved for checkout; checkout-domains/{checkout_domain_id} with DELETE removes one, and checkout-domains/{checkout_domain_id}/verify-payment-method with POST checks a payment method on it.
  • Reference data: countries, currencies, and ips (Paddle's webhook sender ranges) need no permission beyond a valid key.
  • Simulations: simulations, simulation-types, and simulations/{simulation_id}/runs send test webhook events to a notification setting.
  • Customer checkout helpers: customers/{customer_id}/auth-token with POST returns a short-lived value for Paddle.js checkouts with saved payment methods, and customers/{customer_id}/portal-sessions with POST returns links to the customer portal. Both act on behalf of the customer.
  • Client-side tokens: client-tokens lists the publishable values used by Paddle.js in a browser, and POST/PATCH client-tokens create or revoke them.

Pagination

List endpoints return meta.pagination with per_page, has_more, estimated_total, and a next URL. Pass its after value to get the next page:

maton api '/paddle/customers?per_page=200&after={last_id}'

Note: per_page defaults to 50 and goes up to 200 for most lists, and up to 30 for transactions. order_by takes a field and direction, such as created_at[ASC].

Notes

  • Restricted keys. A call the key has no permission for returns 403 with "code": "forbidden". GET / lists the key's permissions. Add the missing permission to the key in Paddle (Developer tools → Authentication) or connect another key.
  • Read-only policy. The console's Read option leaves out a few reads that return secrets or change state: client-tokens (returns the client-side token values), notification-settings (returns each destination's endpoint_secret_key), and subscriptions/{subscription_id}/update-payment-method-transaction (for an active subscription it creates a new zero-amount transaction). The preview calls (pricing-preview, transactions/preview, subscriptions/{subscription_id}/preview, subscriptions/{subscription_id}/charge/preview) and metrics/explore are in it, since they only calculate.
  • No deletes for most records. Products, prices, customers, addresses, businesses, and discounts are archived with "status": "archived", not deleted. Only payment methods, checkout domains, and notification settings take DELETE.
  • Amounts are strings in the lowest currency unit ("1089" USD is $10.89). Timestamps are RFC 3339. IDs carry a prefix: pro_, pri_, ctm_, add_, biz_, sub_, txn_, adj_, dsc_, evt_, ntf_.
  • Errors carry {"error": {"type": "request_error", "code": "...", "detail": "...", "documentation_url": "..."}, "meta": {"request_id": "..."}}. A bad key returns 403 with a code starting authentication_.

Resources

On this page