---
title: "Enable pay-as-you-go"
method: POST
path: "/v1/billing/payg/enable"
---

# Enable pay-as-you-go

`POST /v1/billing/payg/enable`

## Request

- Base URL: `https://api.turos.app`
- URL: `https://api.turos.app/v1/billing/payg/enable`
- Auth: HTTP bearer

Enable pay-as-you-go in one flow: save a card, make an initial credit top-up, and optionally turn on auto-top-up (returns a PaymentIntent client secret).

## Request body

- object
  - `amountUsd` number, required: Initial prepaid credit amount to purchase while enabling PAYG.
  - `autoTopupThresholdCents` integer: Optional low-balance threshold, in cents, that enables auto-top-up after payment succeeds.
  - `autoTopupAmountCents` integer: Optional refill amount, in cents, used with autoTopupThresholdCents.

## Response `201`

PAYG enable PaymentIntent created.

- object
  - `object` 'payg_enable_intent', required
  - `clientSecret` string, required
  - `paymentIntentId` string, required
  - `breakdown` object, required
  - `requestId` string, required

## Other responses

- `default`: Contract-aware error response

---

[API](https://skmtc.dev/turos/apis/turos-api.md) · [All operations](https://skmtc.dev/turos/apis/turos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/turos/apis/turos-api/revisions/a68d3ec80a56?raw)
