latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-11485662.0 KB

42816b90d8d6

Create payment method setup

Creates a Stripe Setup Intent for payment method collection and returns the client secret and payment page URL.

post/spaces/{space_id}/payment

Path parameters

space_idstring required

Ghost space ID.

Response

Payment setup created

client_secretstring required

Stripe Setup Intent client secret.

payment_urlstring required

URL of the hosted payment page for collecting card details.