Skip to main content
Stripe logo

Overview

Add Stripe to any ModuleX agent or workflow. Process payments and manage commerce data through the Stripe REST API (api.stripe.com/v1). Covers payment intents, customers, subscriptions, invoices, charges, products, prices, and events — 50 actions in all.
Categories: Finance & Payments · Payments · Subscriptions · Auth: API Key · Actions: 50

Authentication

API Key Authentication

Authenticate using your Stripe secret API key
1

Step 1

Sign in to your Stripe dashboard at https://dashboard.stripe.com
2

Step 2

Open the Developers section and click ‘API keys’
3

Step 3

Reveal or create a secret key (it starts with sk_test_ or sk_live_)
4

Step 4

Paste the secret key below

Required Credentials

Available Actions

Parameters

integer
required
Amount in cents (e.g., 2000 for $20.00)
string
required
Three-letter ISO currency code (e.g., usd, eur)
string
Customer ID to associate with this payment
string
Payment method ID
string
Description of the payment
string
Email address to send receipt to
object
Set of key-value pairs for storing additional information
object
Enable automatic payment methods (e.g., {“enabled”: true})

Response

Parameters

string
required
Payment Intent ID (e.g., pi_1234567890)

Response

Parameters

string
required
Payment Intent ID (e.g., pi_1234567890)
integer
Updated amount in cents
string
Three-letter ISO currency code
string
Customer ID
string
Updated description
object
Updated metadata

Response

Parameters

string
required
Payment Intent ID (e.g., pi_1234567890)
string
Payment method ID to confirm with

Response

Parameters

string
required
Payment Intent ID (e.g., pi_1234567890)
integer
Amount to capture in cents (defaults to full amount)

Response

Parameters

string
required
Payment Intent ID (e.g., pi_1234567890)
string
Reason for cancellation (duplicate, fraudulent, requested_by_customer, abandoned)

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by customer ID
object
Filter by creation date (e.g., {“gt”: 1633024800})

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

string
Customer email address
string
Customer full name
string
Customer phone number
string
Description of the customer
object
Customer address object
object
Set of key-value pairs for storing additional information
string
Payment method ID to attach

Response

Parameters

string
required
Customer ID (e.g., cus_1234567890)

Response

Parameters

string
required
Customer ID (e.g., cus_1234567890)
string
Updated email address
string
Updated name
string
Updated phone number
string
Updated description
object
Updated address object
object
Updated metadata

Response

Parameters

string
required
Customer ID (e.g., cus_1234567890)

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by email address
object
Filter by creation date

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

string
required
Customer ID to subscribe
array
required
Array of items with price IDs (e.g., [{“price”: “price_xxx”, “quantity”: 1}])
integer
Number of trial days
string
Payment method ID
boolean
Cancel subscription at period end
object
Set of key-value pairs for storing additional information

Response

Parameters

string
required
Subscription ID (e.g., sub_1234567890)

Response

Parameters

string
required
Subscription ID (e.g., sub_1234567890)
array
Updated array of items with price IDs
boolean
Cancel subscription at period end
object
Updated metadata

Response

Parameters

string
required
Subscription ID (e.g., sub_1234567890)
boolean
Whether to prorate the cancellation
boolean
Whether to invoice immediately

Response

Parameters

string
required
Subscription ID (e.g., sub_1234567890)

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by customer ID
string
Filter by status (active, past_due, unpaid, canceled, incomplete, incomplete_expired, trialing, all)
string
Filter by price ID

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

string
required
Customer ID (e.g., cus_1234567890)
string
Description of the invoice
object
Set of key-value pairs for storing additional information
boolean
Auto-finalize the invoice
string
Collection method: charge_automatically or send_invoice

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)
string
Description of the invoice
object
Set of key-value pairs for storing additional information
boolean
Auto-finalize the invoice

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)
boolean
Auto-advance the invoice

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)
boolean
Mark invoice as paid out of band

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)

Response

Parameters

string
required
Invoice ID (e.g., in_1234567890)

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by customer ID
string
Filter by invoice status

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

integer
required
Amount in cents (e.g., 2000 for $20.00)
string
required
Three-letter ISO currency code (e.g., usd, eur)
string
Customer ID to associate with this charge
string
Payment source ID (e.g., card token or saved card ID)
string
Description of the charge
object
Set of key-value pairs for storing additional information
boolean
Whether to immediately capture the charge (defaults to true)

Response

Parameters

string
required
Charge ID (e.g., ch_1234567890)

Response

Parameters

string
required
Charge ID (e.g., ch_1234567890)
string
Updated description
object
Updated metadata

Response

Parameters

string
required
Charge ID (e.g., ch_1234567890)
integer
Amount to capture in cents (defaults to full amount)

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by customer ID
object
Filter by creation date (e.g., {“gt”: 1633024800})

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

string
required
Product name
string
Product description
boolean
Whether the product is active
array
Array of image URLs for the product
object
Set of key-value pairs for storing additional information

Response

Parameters

string
required
Product ID (e.g., prod_1234567890)

Response

Parameters

string
required
Product ID (e.g., prod_1234567890)
string
Updated product name
string
Updated product description
boolean
Updated active status
array
Updated array of image URLs
object
Updated metadata

Response

Parameters

string
required
Product ID (e.g., prod_1234567890)

Response

Parameters

integer
Number of results to return (default 10, max 100)
boolean
Filter by active status

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

string
required
Product ID (e.g., prod_1234567890)
string
required
Three-letter ISO currency code (e.g., usd, eur)
integer
Amount in cents (e.g., 1000 for $10.00)
object
Recurring billing configuration (interval: day/week/month/year)
object
Set of key-value pairs for storing additional information
string
Billing scheme (per_unit or tiered)

Response

Parameters

string
required
Price ID (e.g., price_1234567890)

Response

Parameters

string
required
Price ID (e.g., price_1234567890)
boolean
Whether the price is active
object
Updated metadata

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by product ID
boolean
Filter by active status

Response

Parameters

string
required
Search query using Stripe’s search query syntax
integer
Number of results to return (default 10, max 100)

Response

Parameters

string
required
Event ID (e.g., evt_1234567890)

Response

Parameters

integer
Number of results to return (default 10, max 100)
string
Filter by event type (e.g., payment_intent.created)
object
Filter by creation date (e.g., {“gt”: 1633024800})

Response

Limits & Quotas

  • Rate limits: Stripe allows ~100 read and ~100 write requests per second in live mode (lower in test mode). Search endpoints have their own, lower limits.
  • Request format: requests are sent as application/x-www-form-urlencoded with Stripe’s bracketed key notation for nested objects and arrays.
  • Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising. Plan for retries on the agent side based on the error string.

Lemon Squeezy

RevenueCat

Square