POST /account/billing/card-setup
Save a card through Stripe's hosted setup flow.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| POST | /v1/account/billing/card-setup |
Requires a human account administrator. Open the returned URL to finish setup and return to Billing. Saving a card does not enable auto-recharge or buy credit.
curl -X POST "https://api.ellipsis.dev/v1/account/billing/card-setup" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.account.billing.card_setup()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.account.billing.cardSetup();
console.log(result);Request
Response
Example response · 201
{
"url": "string"
}