---
title: "Create a checkout session for credit payment"
method: POST
path: "/v1/billing-accounts/{id}/credit-checkout-session"
tags: ["Billing"]
---

# Create a checkout session for credit payment

`POST /v1/billing-accounts/{id}/credit-checkout-session`

Creates a checkout session for adding credit to a billing account.

## Path parameters

- `id` string, required

## Query parameters

- `amount.value` string
- `returnUrl` string, required

## Response `200`

A successful response.

- CheckoutSession
  - `clientSecret` string, required

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/cudocompute/apis/cudo-compute-service.md) · [All operations](https://skmtc.net/cudocompute/apis/cudo-compute-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cudocompute/cudo-compute-service/revisions/93dc40dababc/schema)
