Bill your first customer in an afternoonOne API for subscriptions, usage, invoices and payments. Every key starts in test mode.Start the quickstartAPI referencefirst callimport { Mint } from '@globaly-inc/mint-sdk' const mint = new Mint({ secretKey: process.env.MINT_SECRET_KEY!, // gpy_test_… }) await mint.customers.upsert({ externalId: 'ws_123', email: 'owner@acme.dev', }) const session = await mint.checkout.create({ customerExternalId: 'ws_123', planCode: 'pro_monthly', successUrl: 'https://app.acme.dev/billing?ok=1', cancelUrl: 'https://app.acme.dev/billing', }) // session.url is the hosted checkout page QuickstartA customer, a checkout and a verified webhook, in test mode.API keysKey types, scopes, expiry and how to keep keys safe.WebhooksReceive events, verify signatures, and every event we send.API referenceEvery endpoint, from the OpenAPI document.Hosted checkoutSend a customer to a payment page we run.Customer portalPlans, seats, cards and invoices, self-serve.Import subscribersMove existing subscribers without asking for cards again.For coding agentsllms.txt and a Markdown version of every page. API version 2026-07-01SDK 0.3.0Changelogllms.txt