Skip to main content

Process Form Payment

POST 

/api/forms/public/:form_id/process-payment

PUBLIC endpoint — process payment for a form submission. The frontend uses Stripe.js createPaymentMethod() to tokenize the card, then sends the pm_xxx token here. We process the payment server-side. No auth required — called from the public form page.

Request

Responses

Successful Response