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.billingPortal('customer_id');{
"customer_id": "<string>",
"url": "<string>"
}import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.customers.billingPortal('customer_id');{
"customer_id": "<string>",
"url": "<string>"
}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.
URL to redirect to when back button is clicked in the billing portal.