Test It
Open your LLM tool and try:
"hi cube2"
You should see the Stripe Payment Integration welcome message. Then try:
"Map a guest checkout payment with amount, currency, and customer email" "Map a subscription setup to save the card for recurring billing" "Map a refund with the original payment reference"
Or describe your business scenario:
"I need to accept one-time payments for an e-commerce checkout" "I want to set up monthly subscriptions with automatic billing"
Cube2 will guide you step by step — helping you discover the right use case, map your attributes, and generate the integration code.
Example Mapping Requests​
| Business Scenario | Example Request |
|---|---|
| Guest Checkout | "Map a single payment with amount and currency" |
| Subscription Setup | "Map a subscription setup with customer and saved card" |
| Subscription Renewal | "Map a recurring charge for monthly billing" |
| Refund | "Map a refund with amount and reason" |
| Customer Registration | "Map a customer with email, name and address" |
Pro Tip: Mapping First, Code Later
For the smoothest integration experience:
- 📋 Map → Build attribute mapping tables for each use case
- ✅ Validate → Review all mappings and configuration attributes
- 🚀 Generate → Create production-ready code from your validated mappings