---
title: "Add a payment method"
method: GET
path: "/v1/billing-accounts/{id}/setup-intent"
tags: ["Billing"]
---

# Add a payment method

`GET /v1/billing-accounts/{id}/setup-intent`

Retrieves a setup intent for adding a payment method to a billing account.

## Path parameters

- `id` string, required

## Response `200`

A successful response.

- BillingAccountSetupIntent
  - `clientSecret` string, required
  - `id` 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)
