Vatly SDKs
Vatly is the European merchant of record for AI, software and digital products. Use a fluent package for app-level billing, or an SDK for direct API calls.
PHP SDK
The official PHP SDK is the primary way to interact with the Vatly API from your PHP application.
For installation, usage examples, and the full list of available resources, see the PHP SDK docs.
PHP Fluent
vatly/vatly-fluent-php adds higher-level billing flows to the PHP SDK.
composer config minimum-stability alpha
composer config prefer-stable true
composer require vatly/vatly-fluent-php
Follow its README for setup. The synced docs currently cover webhook flow and adapting to your framework.
Laravel
The Vatly Laravel package was inspired by Laravel Cashier and provides a fluent way of integrating Vatly into your application.
For installation and usage examples, see the Laravel Vatly docs.
JavaScript SDK
The official JavaScript / TypeScript SDK, @getvatly/sdk, provides a typed client for the Vatly API on Node.js and edge runtimes.
npm install --save-exact @getvatly/sdk
For installation, usage examples, and the full list of available resources, see the JavaScript / TypeScript SDK docs. The source is available on GitHub.
JavaScript Fluent
The framework-agnostic fluent package, @getvatly/fluent, builds on @getvatly/sdk with checkout builders, customer and subscription handles, and webhook processing.
npm install --save-exact @getvatly/sdk @getvatly/fluent
For installation and usage examples, see the fluent JavaScript / TypeScript docs. The source is available on GitHub.
Python SDK
vatly-api-python provides typed synchronous and asynchronous API clients for Python 3.10+. Import it as vatly.
pip install --pre vatly-api-python
See the Python SDK docs for initialization and API resources, or the source on GitHub.
Python Fluent
vatly-fluent-python builds on the Python SDK with async-first billing flows, checkout builders, subscriptions and transactional webhooks. Import it as vatly_fluent.
pip install --pre vatly-fluent-python
See the Python Fluent docs for storage contracts and configuration, or the source on GitHub.
Django
vatly-django integrates Python Fluent with Django, including ORM storage, billable operations and webhook handling. Import it as vatly_django.
pip install --pre vatly-django
See the Django docs for installation and settings, or the source on GitHub. Like Laravel for PHP, Django is the framework integration; its reference lives under Packages.
These packages are in alpha. Every alpha release may include breaking changes. Lock the version you install and review the release notes before upgrading. The commands above install the latest alpha: Composer needs minimum-stability set to alpha (with prefer-stable keeping your other dependencies stable), and pip needs --pre.
SDK availability
| SDK | Status |
|---|---|
| PHP SDK | Available (alpha) |
| PHP Fluent | Available (alpha) |
| Laravel | Available (alpha) |
| JavaScript SDK | Available (alpha) |
| JavaScript Fluent | Available (alpha) |
| Python SDK | Available (alpha) |
| Python Fluent | Available (alpha) |
| Django | Available (alpha) |
| FluentCart (WordPress) | Available (alpha) |
| Paid Memberships Pro (WordPress) | Available (alpha) |
| Ruby | Planned |
In the meantime, you can use the REST API directly with any HTTP client in any language.
OpenAPI specification
The whole Vatly API is described by an OpenAPI 3.1 specification. Download it here:
https://docs.vatly.com/openapi.yaml
Use it to generate a typed client in your language, import the API into Postman, Insomnia, or another tool, or feed it to your own codegen and tests. It stays in sync with the live API, so a client generated from it matches this reference.
Point your AI agent at the docs
These docs are built to be read by AI coding agents, not only by people. Point an assistant such as Claude or ChatGPT at docs.vatly.com and it can build your integration against the real API surface.
llms.txt: a machine-readable index of the site at docs.vatly.com/llms.txt, with the full documentation as one file at docs.vatly.com/llms-full.txt. Give your agent either one and it has the whole reference in a single fetch.- Markdown for every page: put
/rawin front of any docs path and add.md. For this page that is docs.vatly.com/raw/guides/sdks.md. - Open in ChatGPT or Claude: every page has buttons in its header to copy it as Markdown or open it straight in ChatGPT or Claude.
- OpenAPI spec: the specification above gives an agent the exact endpoints, parameters, and schemas.