Stripe
Connect approved Stripe payment, customer, and subscription actions to calls.
Description
AIM AI can be configured to retrieve or initiate selected Stripe operations after defined verification and consent steps. Accounts, amounts, currencies, customer matching, payment handling, refunds, and subscription rules are confirmed before implementation.
Authentication
- A Stripe secret or restricted API key is required.
- Exact account access, verification controls, and approved actions are confirmed during workflow scoping.
Supported Actions (18)
These are the operations this integration can perform after the required credentials and permissions are approved.
- Retrieve Checkout Session
- Create Customer
- List Customers
- Retrieve Customer
- Attach Payment Method
- Create Payment Method
- Detach Payment Method
- Cancel Payment Intent
- Create Payment Intent
- Retrieve Payment Intent
- Create Price
- Retrieve Price
- List Products
- Create Refund
- Cancel Subscription
- Create Subscription
- List Subscriptions
- Retrieve Subscription
Examples
Use these representative payloads as a technical starting point, then replace the sample values with the approved workflow data.
Representative workflow configuration for Subscriptions.
{
"automationType": "stripe",
"nodeId": "stripe-create-pi-001",
"nodeParams": {
"action": "create_payment_intent",
"params": {
"amount": 1000,
"currency": "usd",
"description": "Test Payment Intent from Automation",
"metadata": {
"order_id": "12345"
},
"webhookUrl": "https://webhook.site/test-callback"
}
}
}Representative workflow configuration for Stripe - Create Checkout Session.
{
"automationType": "stripe",
"nodeId": "stripe-create-cs-001",
"nodeParams": {
"action": "create_checkout_session",
"params": {
"mode": "payment",
"successUrl": "https://example.com/success",
"cancelUrl": "https://example.com/cancel",
"lineItems": [
{
"price_data": {
"currency": "usd",
"product_data": {
"name": "Premium Plan"
},
"unit_amount": 5000
},
"quantity": 1
}
],
"customer_email": "customer@example.com",
"webhookUrl": "https://webhook.site/test-callback"
}
}
}Representative workflow configuration for Stripe - Create Customer.
{
"automationType": "stripe",
"nodeId": "stripe-create-cust-001",
"nodeParams": {
"action": "create_customer",
"params": {
"email": "newuser@example.com",
"name": "New User",
"phone": "+15550001234",
"metadata": {
"internal_id": "u_123"
}
}
}
}Representative workflow configuration for Stripe - Retrieve Subscription.
{
"automationType": "stripe",
"nodeId": "stripe-retrieve-sub-001",
"nodeParams": {
"action": "retrieve_subscription",
"params": {
"subscriptionId": "sub_...xxx"
}
}
}Representative workflow configuration for Stripe - Update Product.
{
"automationType": "stripe",
"nodeId": "stripe-update-prod-001",
"nodeParams": {
"action": "update_product",
"params": {
"productId": "prod_...xxx",
"name": "Premium Plan Updated"
}
}
}Representative workflow configuration for Stripe - Create Price.
{
"automationType": "stripe",
"nodeId": "stripe-create-price-001",
"nodeParams": {
"action": "create_price",
"params": {
"productId": "prod_...xxx",
"currency": "usd",
"unitAmount": 1000
}
}
}Representative workflow configuration for Stripe - List Prices.
{
"automationType": "stripe",
"nodeId": "stripe-list-prices-001",
"nodeParams": {
"action": "list_prices",
"params": {
"productId": "prod_...xxx",
"limit": 10
}
}
}Representative workflow configuration for Detach Payment Method.
{
"automationType": "stripe",
"nodeParams": {
"action": "detach_payment_method",
"params": {
"paymentMethodId": "pm_1234567890"
}
}
}