curl --request POST \
--url https://api.trymaven.com/v1/sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project": "<string>",
"caller": "<string>",
"amount": 1,
"description": "<string>",
"callback": "<string>",
"memory": "<string>"
}
'{
"session_id": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"phone_number": "<string>",
"sip_uri": "<string>"
}Create a new payment session.
Returns minimal identifiers needed for polling.
Authentication: API Key (Bearer token)
curl --request POST \
--url https://api.trymaven.com/v1/sessions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project": "<string>",
"caller": "<string>",
"amount": 1,
"description": "<string>",
"callback": "<string>",
"memory": "<string>"
}
'{
"session_id": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"phone_number": "<string>",
"sip_uri": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.trymaven.com/llms.txt
Use this file to discover all available pages before exploring further.
Enter your API key: mvn_test_xxx or mvn_live_xxx
Request to create a payment session.
Project identifier (UUID or slug)
Phone number in E.164 format
Amount in dollars (e.g. 150.00; must be > 0 for charge mode)
x >= 0Payment mode: 'charge' or 'tokenize'
charge, tokenize Payment gateway: 'stripe', 'authorizenet', 'braintree', or 'shift4'
stripe, authorizenet, braintree, shift4 Charge description
500Callback phone number or SIP URI for transfer-back
256Call context passed back on transfer