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

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

id
string
required

Response

A successful response.

clientSecret
string
required
id
string
required