acp_pay_session
Pay for an ACP checkout session with a Stripe payment method ID. Charges the amount due and starts background document generation.
Instructions
Pay for an ACP checkout session using a Stripe payment method ID (pm_xxx). Charges the amount_due returned by acp_create_session. On success, document generation begins in the background — poll acp_get_session until status is 'completed'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearerToken | Yes | Same bearer token used in acp_create_session | |
| sessionId | Yes | session_id from acp_create_session | |
| stripePaymentMethodId | Yes | Stripe payment method ID (pm_xxx) — obtain via Stripe.js or the Stripe API | |
| Yes | Email for the Stripe receipt |