For the full API reference, see the Stripe API documentation.
Connection setup
1
Get your API key
Log in to the Stripe Dashboard and navigate to Developers > API Keys. Copy your Secret key (starts with
sk_live_ for production or sk_test_ for testing).2
Add the connection in Spojit
Go to Connections in Spojit, click Add Connection, select Stripe, and enter:
- Secret Key: Your Stripe secret key (starts with
sk_live_orsk_test_)
Tools
Customers
list-customers: List customers
list-customers: List customers
get-customer: Get a customer by ID
get-customer: Get a customer by ID
Charges
list-charges: List charges
list-charges: List charges
create-charge: Create a charge
create-charge: Create a charge
number
required
Amount in the smallest currency unit (e.g., cents for USD).
string
required
Three-letter ISO currency code (e.g.,
usd, eur).string
Customer ID to charge.
string
Payment source token or ID.
string
Charge description.
object
Key-value pairs for additional information.
Payment Intents
list-payment-intents: List payment intents
list-payment-intents: List payment intents
create-payment-intent: Create a payment intent
create-payment-intent: Create a payment intent
number
required
Amount in the smallest currency unit.
string
required
Three-letter ISO currency code.
string
Customer ID.
string[]
Accepted payment method types (e.g.,
["card"]). Defaults to ["card"].string
Description of the payment.
object
Key-value pairs for additional information.
Invoices
list-invoices: List invoices
list-invoices: List invoices
create-invoice: Create an invoice
create-invoice: Create an invoice
string
required
Customer ID.
boolean
default:"true"
Whether to automatically finalize and attempt payment.
string
default:"charge_automatically"
Collection method:
charge_automatically or send_invoice.string
Invoice description.
object
Key-value pairs for additional information.
Products
Subscriptions
Advanced
raw-api-request: Make an arbitrary API request
raw-api-request: Make an arbitrary API request