Autumn's V2 API is live in beta. We recommend using this version.
import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.customers.delete('customer_id');{
"success": true
}import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.customers.delete('customer_id');{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs-v1.useautumn.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Whether to delete the customer and cancel all existing subscriptions in Stripe.