Skip to main content
GET
/
v1
/
billing-accounts
/
{id}
/
setup-intent
Add a payment method
curl --request GET \
  --url https://rest.compute.cudo.org/v1/billing-accounts/{id}/setup-intent \
  --header 'Authorization: <api-key>'
{
  "clientSecret": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. API keys should be passed using the format Bearer API_KEY.

Path Parameters

id
string
required

Response

A successful response.

clientSecret
string
required
id
string
required