Skip to main content
Install the Commet Skill so your coding agent can integrate the current SDK and verify its work against the live API contract.
1

Install

pom.xml
2

Configure

.env
CommetClient.java
There is no environment option on the client: sandbox vs live is decided by the organization the API key belongs to.
3

Create Customer and Subscribe

customers().create is idempotent — if a customer with the same id already exists, it returns the existing record.
The customer is redirected to checkout to complete payment.
4

Check Access

5

Track Usage

Usage is aggregated and billed at end of period.
6

Webhooks