VX Agents

OpenAPI Marketplace

stripe-payments-core-openapi

v1.0.0 · 12 endpoints · 1 connections · shared by Lân Nguyễn Trịnh

Core Stripe REST API for PaymentIntents, customers, and products. Use Stripe test mode first. Payment creation, confirmation, capture, cancellation, and customer/product writes are consequential operations and must require explicit user confirmation. The user supplies a Stripe secret key at connection time; no credential is included. Official documentation: https://docs.stripe.com/api

Connect this API to an AI agent Browse all specs

What you can do with stripe-payments-core-openapi via MCP

Every endpoint below becomes a governed tool your AI agent (Claude, ChatGPT, or a customer-facing VX agent) can call — with scoped permissions, sandbox testing, and audit logs.

MethodPathOperationDescription
GET /v1/payment_intents listPaymentIntents List PaymentIntents
POST /v1/payment_intents createPaymentIntent Create a PaymentIntent
GET /v1/payment_intents/{payment_intent_id} getPaymentIntent Retrieve a PaymentIntent
POST /v1/payment_intents/{payment_intent_id} updatePaymentIntent Update a PaymentIntent
POST /v1/payment_intents/{payment_intent_id}/confirm confirmPaymentIntent Confirm a PaymentIntent
POST /v1/payment_intents/{payment_intent_id}/capture capturePaymentIntent Capture an authorized payment
POST /v1/payment_intents/{payment_intent_id}/cancel cancelPaymentIntent Cancel a PaymentIntent
GET /v1/customers listCustomers List customers
POST /v1/customers createCustomer Create a customer
GET /v1/customers/{customer_id} getCustomer Retrieve a customer
GET /v1/products listProducts List products
POST /v1/products createProduct Create a product

Authentication

basicAuth

HTTP Basic

Use the user's Stripe secret key as the basic-auth username and leave the password empty. Never place the key in the Swagger file.

Usage guide

Getting credentials

  1. Create or log in to an account at Stripe.
  2. Open the Stripe Dashboard API Keys page.
  3. Use a Stripe test-mode secret key for initial testing.
  4. When VX Agent asks for Basic authentication, provide the Stripe secret key as the username and leave the password empty.

Keep the secret key private. Do not paste it into the Swagger file, marketplace description, prompts, or chat messages.

How to use this API

Use this API to manage Stripe PaymentIntents, customers, and products.

A typical workflow is:

  1. Use GET /v1/products to inspect the product catalog.
  2. Use GET /v1/customers or POST /v1/customers to find or create a customer when explicitly authorized.
  3. Use POST /v1/payment_intents to create a payment flow with an amount and three-letter currency code.
  4. Use GET /v1/payment_intents/{payment_intent_id} to check the payment status.
  5. Use POST /v1/payment_intents/{payment_intent_id}/confirm only after the user confirms the exact amount, currency, customer, and payment method.
  6. Use POST /v1/payment_intents/{payment_intent_id}/capture only for an authorized payment that the user explicitly wants to capture.
  7. Use POST /v1/payment_intents/{payment_intent_id}/cancel only after explicit confirmation.

Always test with Stripe test-mode keys and test payment methods before using live mode. Use an idempotency key when retrying a write request to reduce the risk of duplicate operations.

Safety and usage notes

Payment creation, confirmation, capture, cancellation, customer creation, and product changes are consequential operations. Require confirmation immediately before performing them. Verify the amount, currency, customer, payment method, product, and mode before every payment action.

Never expose the Stripe secret key. Do not store card numbers, CVCs, or other sensitive payment credentials in prompts or records. Do not use live mode without independent review and explicit authorization. This integration is for API execution and testing; financial, legal, tax, and compliance decisions remain the user's responsibility.

Official documentation: Stripe API Reference.

How to use this spec

  1. Create a free VX Agents account (sandbox tools included).
  2. Open the marketplace and connect “stripe-payments-core-openapi” to an agent.
  3. Expose it as an MCP server for Claude/ChatGPT, or chat with it directly.

Related APIs