Maven
mavenMaven provides APIs for creating and monitoring secure voice and web payment sessions.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Cancel SessionMAVEN_CANCEL_SESSIONAcciónCancel a Maven payment session. Only pending or collecting sessions can be cancelled, and cancellation is irreversible.
MAVEN_CANCEL_SESSIONAcciónCancel a Maven payment session. Only pending or collecting sessions can be cancelled, and cancellation is irreversible.
Parámetros de entrada
session_idstringObligatoriouuidExact UUID of the pending or collecting Maven session to cancel.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Voice SessionMAVEN_CREATE_VOICE_SESSIONAcciónCreate a Maven voice payment or card-tokenization session and return the identifiers used for transfer and polling. WARNING: creating the session can initiate a real phone call in both test and live modes. Live mode can make real charges.
MAVEN_CREATE_VOICE_SESSIONAcciónCreate a Maven voice payment or card-tokenization session and return the identifiers used for transfer and polling. WARNING: creating the session can initiate a real phone call in both test and live modes. Live mode can make real charges.
Parámetros de entrada
modestringObligatorioenumPayment mode: charge the card or tokenize it without charging.
chargetokenizeamountanyObligatorioAmount in dollars; charge mode requires a value greater than zero.
callerstringObligatorioCustomer phone number in E.164 format.
memorystringCall context that Maven passes back during transfer.
gatewaystringObligatorioenumPayment gateway connected to the Maven project.
stripeauthorizenetbraintreeshift4fiservjpmorganwebhooknmiqualpaycloverprojectstringObligatorioMaven project UUID or slug. Use MAVEN_LIST_PROJECTS to discover projects available to the connected organization.
callbackstringPhone number or SIP URI for transfer-back after payment.
descriptionstringOptional charge description.
stripe_accountstringStripe Platform Mode connected account ID on your Stripe platform. The project must be configured with your platform API key.
billing_addressobjectCardholder billing address for Authorize.net AVS. Maven ignores this field for other gateways; do not provide a shipping address.
response_statusintegerOverride the success HTTP status, for example 200 for voice platforms that do not accept HTTP 201.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Widget SessionMAVEN_CREATE_WIDGET_SESSIONAcciónCreate a hosted Maven chat or web payment session and return its widget URL and expiration. Test keys use sandbox gateways; live keys use production gateways and the widget can accept real charges. This action creates the session but does not itself submit card details, tokenize a card, or charge.
MAVEN_CREATE_WIDGET_SESSIONAcciónCreate a hosted Maven chat or web payment session and return its widget URL and expiration. Test keys use sandbox gateways; live keys use production gateways and the widget can accept real charges. This action creates the session but does not itself submit card details, tokenize a card, or charge.
Parámetros de entrada
modestringenumWhether the hosted widget should later collect a payment or tokenize a card without charging it.
chargetokenizegatewaystringObligatorioenumPayment gateway already connected to the project.
stripeauthorizenetbraintreeshift4fiservjpmorganwebhookprojectstringObligatorioMaven project UUID or slug configured with the selected gateway. Use MAVEN_LIST_PROJECTS to discover available projects.
descriptionstringOptional description shown or associated with the payment session.
amount_centsintegerObligatorioAmount in cents. Use a positive value for charge mode; tokenize mode may use zero.
stripe_accountstringConnected Stripe account ID for Stripe Platform Mode, such as acct_123abc. Required when the project's Stripe platform configuration requires it.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Account ContextMAVEN_GET_ACCOUNT_CONTEXTAcciónReturn whether the connected Maven API key is authenticated, plus its organization and test or live mode. Use this to identify the active account context before creating a session.
MAVEN_GET_ACCOUNT_CONTEXTAcciónReturn whether the connected Maven API key is authenticated, plus its organization and test or live mode. Use this to identify the active account context before creating a session.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SessionMAVEN_GET_SESSIONAcciónReturn the latest Maven session matching exactly one identifier: a session ID for any voice or widget session, or a caller phone number for the caller's most recent active voice session, falling back to its latest terminal session.
MAVEN_GET_SESSIONAcciónReturn the latest Maven session matching exactly one identifier: a session ID for any voice or widget session, or a caller phone number for the caller's most recent active voice session, falling back to its latest terminal session.
Parámetros de entrada
callerstringCaller phone number in E.164 format. Provide exactly one of caller or session_id; caller lookup returns the most recent active voice session, falling back to the latest terminal session for that number.
session_idstringuuidMaven session UUID. Provide exactly one of session_id or caller. Use this for voice or widget sessions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check API HealthMAVEN_HEALTH_CHECKAcciónCheck Maven API health and its reported service connectivity.
MAVEN_HEALTH_CHECKAcciónCheck Maven API health and its reported service connectivity.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsMAVEN_LIST_PROJECTSAcciónList all Maven projects available to the connected organization.
MAVEN_LIST_PROJECTSAcciónList all Maven projects available to the connected organization.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Stream SessionMAVEN_STREAM_SESSIONAcciónRead Maven's raw session status stream for one session UUID. This request holds while Maven sends status changes and ends when the session becomes terminal or the provider disconnects; prefer GET_SESSION for a current status snapshot. Maven does not document the event schema, so the bounded raw response is returned without inferred event fields.
MAVEN_STREAM_SESSIONAcciónRead Maven's raw session status stream for one session UUID. This request holds while Maven sends status changes and ends when the session becomes terminal or the provider disconnects; prefer GET_SESSION for a current status snapshot. Maven does not document the event schema, so the bounded raw response is returned without inferred event fields.
Parámetros de entrada
session_idstringObligatoriouuidMaven session UUID whose status stream should be read.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not