---
title: "Switch To Credits Endpoint"
method: POST
path: "/api/billing/credits/switch"
---

# Switch To Credits Endpoint

`POST /api/billing/credits/switch`

Switch from PAYG billing to credit-based billing.

## Response `200`

Successful Response

- SwitchToCreditsResponse — Response schema for switching from PAYG to credits
  - `success` boolean
  - `billingMode` string
  - `bonusCents` integer
  - `newBalanceCents` integer, required
  - `newBalanceDollars` number, required

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
