payments
Create Payment Intent
Create a Stripe PaymentIntent for an approved project.
Returns the client_secret needed to initialize Stripe Elements on the frontend. Idempotent — calling again for the same project returns the existing PaymentIntent.
If tax_calculation_id is provided (from a prior calculate-tax call), the PaymentIntent amount will include tax and the calculation will be linked to the PaymentIntent for automatic tax transaction creation on success.
post/api/v1/payments/create-intent
Request
- Base URLhttps://api.prototyping.io (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLtoken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.