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 body

project_idstring uuid required
shipping_addressstring nullable
shipping_address_idstring uuid nullable
tax_calculation_idstring nullable
tax_amountinteger nullable

Response

Successful Response

payment_idstring uuid required
client_secretstring required
amountstring required
deposit_amountstring nullable
currencystring required
statusstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.