Skip to main content
POST
/
api
/
v1
/
workspaces
/
{workspace_id}
/
billing
/
payment-methods
/
setup-intent
Create Setup Intent
curl --request POST \
  --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/payment-methods/setup-intent \
  --header 'X-API-Key: <api-key>'
{
  "client_secret": "<string>",
  "publishable_key": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Path Parameters

workspace_id
string<uuid>
required

Cookies

riftmap_access
string | null

Response

Successful Response

client_secret
string
required
publishable_key
string
required