Create a chat payment session
Create a chat payment session
Create a chat/web payment session.
Call this from your server with your secret API key. Hand the returned
session_id to your frontend and mount the widget:
Maven.createPayment({ sessionId }).mount("#slot").
Theme, labels, and fields are set once per project in the dashboard (Chat Payments tab → Customize) and applied automatically.
POST
Create a chat payment session
Authorizations
Enter your API key: mvn_test_xxx or mvn_live_xxx
Body
application/json
Response
Successful Response
