Introduction
Send invoices, process payments, and manage subscriptions with the Acme API
Acme is a payments API for developers. Accept payments, send invoices, and manage subscriptions — all through a single REST API.
How it works
1
Install the SDKnpm install acme-sdk2
Create a paymentimport { Acme } from 'acme-sdk';
const acme = new Acme('sk_live_...');
const payment = await acme.payments.create({
amount: 2500,
currency: 'usd',
customer_id: 'cus_abc123',
});3
Handle the responseconsole.log(payment.id); // "pay_1a2b3c"
console.log(payment.status); // "succeeded"This is a starter template. Replace this content with your own product documentation — the components and layout are ready to use.