Maven · Schema

SessionGetResponse

Full response for session details (GET endpoint).

PaymentsVoice AIChatbotsAPIFinTechY-Combinator

Properties

Name Type Description
session_id string Session UUID
status string Session status
is_terminal boolean Whether the session has reached a final state
processor object Payment processor details
error object Error details when status is payment-failed
amount string Amount to charge
currency string Currency code
mode string Payment mode
description object Charge description
caller object Phone number in E.164 format (voice sessions). Null for chat/widget sessions, which have no caller.
project_slug string Project slug
gateway string Payment gateway
callback object Callback phone number
memory object Call context passed back on transfer
transfer_status object Outcome of post-payment transfer-back dial
created_at string Creation timestamp
updated_at string Last update timestamp
expires_at object When the session expires if unused
completed_at object When the session reached a terminal state
View JSON Schema on GitHub

JSON Schema

trymaven-com-session-get-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trymaven-com/main/json-schema/trymaven-com-session-get-response-schema.json",
  "title": "SessionGetResponse",
  "description": "Full response for session details (GET endpoint).",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trymaven-com-openapi.yml#/components/schemas/SessionGetResponse",
  "properties": {
    "session_id": {
      "type": "string",
      "title": "Session Id",
      "description": "Session UUID"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Session status"
    },
    "is_terminal": {
      "type": "boolean",
      "title": "Is Terminal",
      "description": "Whether the session has reached a final state"
    },
    "processor": {
      "anyOf": [
        {
          "$ref": "#/$defs/Processor"
        },
        {
          "type": "null"
        }
      ],
      "description": "Payment processor details"
    },
    "error": {
      "anyOf": [
        {
          "$ref": "#/$defs/ErrorDetail"
        },
        {
          "type": "null"
        }
      ],
      "description": "Error details when status is payment-failed"
    },
    "amount": {
      "type": "string",
      "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
      "title": "Amount",
      "description": "Amount to charge"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "description": "Currency code"
    },
    "mode": {
      "type": "string",
      "title": "Mode",
      "description": "Payment mode"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Charge description"
    },
    "caller": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Caller",
      "description": "Phone number in E.164 format (voice sessions). Null for chat/widget sessions, which have no caller."
    },
    "project_slug": {
      "type": "string",
      "title": "Project Slug",
      "description": "Project slug"
    },
    "gateway": {
      "type": "string",
      "title": "Gateway",
      "description": "Payment gateway"
    },
    "callback": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback",
      "description": "Callback phone number"
    },
    "memory": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Memory",
      "description": "Call context passed back on transfer"
    },
    "transfer_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Transfer Status",
      "description": "Outcome of post-payment transfer-back dial"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At",
      "description": "Creation timestamp"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At",
      "description": "Last update timestamp"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At",
      "description": "When the session expires if unused"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At",
      "description": "When the session reached a terminal state"
    }
  },
  "type": "object",
  "required": [
    "session_id",
    "status",
    "is_terminal",
    "amount",
    "currency",
    "mode",
    "project_slug",
    "gateway",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "ErrorDetail": {
      "properties": {
        "code": {
          "type": "string",
          "title": "Code",
          "description": "Machine-readable error code"
        },
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message",
          "description": "Human-readable error message"
        }
      },
      "type": "object",
      "required": [
        "code"
      ],
      "title": "ErrorDetail",
      "description": "Error information for failed sessions."
    },
    "Processor": {
      "properties": {
        "card_brand": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Card Brand",
          "description": "Card brand (visa, mastercard, etc.)"
        },
        "card_last4": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Card Last4",
          "description": "Last 4 digits of the card"
        },
        "receipt_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Receipt Url",
          "description": "Stripe hosted receipt URL"
        },
        "stripe_charge_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stripe Charge Id",
          "description": "Stripe Charge ID"
        },
        "stripe_payment_intent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stripe Payment Intent Id",
          "description": "Stripe PaymentIntent ID"
        },
        "payment_method_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Method Id",
          "description": "Stripe PaymentMethod ID (tokenize mode, on connected account)"
        },
        "stripe_customer_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stripe Customer Id",
          "description": "Stripe Customer ID on connected account (tokenize mode)"
        },
        "authnet_transaction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Transaction Id",
          "description": "Authorize.net Transaction ID"
        },
        "authnet_auth_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Auth Code",
          "description": "Authorize.net Authorization Code"
        },
        "authnet_response_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Response Code",
          "description": "Authorize.net response code (1=Approved, 2=Declined, 3=Error, 4=Held)"
        },
        "authnet_avs_result_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Avs Result Code",
          "description": "Authorize.net AVS (Address Verification) result code"
        },
        "authnet_cvv_result_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Cvv Result Code",
          "description": "Authorize.net CVV match result code"
        },
        "authnet_cavv_result_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Cavv Result Code",
          "description": "Authorize.net CAVV (3D Secure) result code"
        },
        "authnet_network_trans_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Network Trans Id",
          "description": "Card network transaction ID (Visa/Mastercard) for card-on-file flows"
        },
        "authnet_capture_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Capture Status",
          "description": "'captured' (auto) or 'authorized' (auth-only, awaiting manual capture)"
        },
        "authnet_customer_profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Customer Profile Id",
          "description": "Authorize.net CIM Customer Profile ID"
        },
        "authnet_payment_profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Authnet Payment Profile Id",
          "description": "Authorize.net CIM Payment Profile ID"
        },
        "braintree_transaction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Braintree Transaction Id",
          "description": "Braintree Transaction ID"
        },
        "braintree_customer_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Braintree Customer Id",
          "description": "Braintree Customer ID (tokenize mode)"
        },
        "braintree_payment_method_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Braintree Payment Method Token",
          "description": "Braintree Payment Method Token (tokenize mode)"
        },
        "shift4_charge_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Shift4 Charge Id",
          "description": "Shift4 Charge ID"
        },
        "shift4_customer_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Shift4 Customer Id",
          "description": "Shift4 Customer ID (tokenize mode)"
        },
        "shift4_card_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Shift4 Card Id",
          "description": "Shift4 Card ID (tokenize mode)"
        },
        "fiserv_transaction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fiserv Transaction Id",
          "description": "Fiserv ipgTransactionId"
        },
        "fiserv_order_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fiserv Order Id",
          "description": "Fiserv orderId"
        },
        "fiserv_payment_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fiserv Payment Token",
          "description": "Fiserv reusable paymentToken value"
        },
        "fiserv_state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fiserv State",
          "description": "Fiserv transactionState (CAPTURED or AUTHORIZED)"
        },
        "jpmorgan_transaction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Jpmorgan Transaction Id",
          "description": "J.P. Morgan transactionId"
        },
        "jpmorgan_state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Jpmorgan State",
          "description": "J.P. Morgan transactionState (CLOSED = captured)"
        },
        "jpmorgan_consumer_profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Jpmorgan Consumer Profile Id",
          "description": "J.P. Morgan consumerProfileId (tokenize mode)"
        },
        "jpmorgan_payment_method_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Jpmorgan Payment Method Id",
          "description": "J.P. Morgan paymentMethodId within the consumer profile (tokenize mode)"
        },
        "jpmorgan_payment_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Jpmorgan Payment Token",
          "description": "J.P. Morgan Safetech network token (tokenize mode, reusable as accountNumber)"
        },
        "webhook_transaction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Webhook Transaction Id",
          "description": "Transaction ID returned by the customer's forwarding endpoint"
        },
        "webhook_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Webhook Token",
          "description": "Token returned by the customer's forwarding endpoint (tokenize mode)"
        },
        "nmi_transaction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Nmi Transaction Id",
          "description": "NMI transaction ID"
        },
        "nmi_customer_vault_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Nmi Customer Vault Id",
          "description": "NMI Customer Vault ID (tokenize mode)"
        },
        "qualpay_pg_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Qualpay Pg Id",
          "description": "Qualpay payment gateway ID (pg_id)"
        },
        "qualpay_card_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Qualpay Card Id",
          "description": "Qualpay tokenized card ID"
        },
        "clover_charge_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Clover Charge Id",
          "description": "Clover charge ID"
        },
        "clover_customer_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Clover Customer Id",
          "description": "Clover customer ID (tokenize mode)"
        }
      },
      "type": "object",
      "title": "Processor",
      "description": "Payment processor details."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/trymaven-com-session-get-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.