stripe.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Balance
get
balance.get
Retrieve the current account balance
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
object | balance | Yes | — |
livemode | boolean | No | — |
available | object[] | No | — |
pending | object[] | No | — |
available full type
available full type
pending full type
pending full type
Charges
create
charges.create
Create a new Stripe charge
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | — |
currency | string | Yes | — |
source | string | No | — |
customer | string | No | — |
description | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | charge | Yes | — |
amount | number | Yes | — |
currency | string | Yes | — |
status | string | Yes | — |
customer | string | No | — |
description | string | No | — |
paid | boolean | No | — |
refunded | boolean | No | — |
created | number | No | — |
payment_intent | string | No | — |
failure_code | string | No | — |
failure_message | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
get
charges.get
Retrieve a Stripe charge by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | charge | Yes | — |
amount | number | Yes | — |
currency | string | Yes | — |
status | string | Yes | — |
customer | string | No | — |
description | string | No | — |
paid | boolean | No | — |
refunded | boolean | No | — |
created | number | No | — |
payment_intent | string | No | — |
failure_code | string | No | — |
failure_message | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
list
charges.list
List Stripe charges with optional filters
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
customer | string | No | — |
payment_intent | string | No | — |
limit | number | No | — |
starting_after | string | No | — |
ending_before | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
object | list | Yes | — |
url | string | No | — |
has_more | boolean | No | — |
data | object[] | Yes | — |
data full type
data full type
update
charges.update
Update a Stripe charge
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
description | string | No | — |
metadata | object | No | — |
receipt_email | string | No | — |
shipping | object | No | — |
metadata full type
metadata full type
shipping full type
shipping full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | charge | Yes | — |
amount | number | Yes | — |
currency | string | Yes | — |
status | string | Yes | — |
customer | string | No | — |
description | string | No | — |
paid | boolean | No | — |
refunded | boolean | No | — |
created | number | No | — |
payment_intent | string | No | — |
failure_code | string | No | — |
failure_message | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
Coupons
create
coupons.create
Create a new Stripe coupon
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
amount_off | number | No | — |
percent_off | number | No | — |
currency | string | No | — |
duration | forever | once | repeating | No | — |
duration_in_months | number | No | — |
max_redemptions | number | No | — |
metadata | object | No | — |
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | coupon | Yes | — |
name | string | No | — |
amount_off | number | No | — |
percent_off | number | No | — |
currency | string | No | — |
duration | string | No | — |
duration_in_months | number | No | — |
max_redemptions | number | No | — |
times_redeemed | number | No | — |
valid | boolean | No | — |
created | number | No | — |
livemode | boolean | No | — |
metadata | object | No | — |
metadata full type
metadata full type
list
coupons.list
List Stripe coupons
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
starting_after | string | No | — |
ending_before | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
object | list | Yes | — |
url | string | No | — |
has_more | boolean | No | — |
data | object[] | Yes | — |
data full type
data full type
Customers
create
customers.create
Create a new Stripe customer
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
email | string | No | — |
name | string | No | — |
phone | string | No | — |
description | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | customer | Yes | — |
email | string | No | — |
name | string | No | — |
phone | string | No | — |
description | string | No | — |
currency | string | No | — |
balance | number | No | — |
created | number | No | — |
livemode | boolean | No | — |
metadata | object | No | — |
metadata full type
metadata full type
delete
customers.delete
Delete a Stripe customer [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | customer | Yes | — |
deleted | true | Yes | — |
get
customers.get
Retrieve a Stripe customer by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | customer | Yes | — |
email | string | No | — |
name | string | No | — |
phone | string | No | — |
description | string | No | — |
currency | string | No | — |
balance | number | No | — |
created | number | No | — |
livemode | boolean | No | — |
metadata | object | No | — |
metadata full type
metadata full type
list
customers.list
List Stripe customers with optional filters
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
email | string | No | — |
limit | number | No | — |
starting_after | string | No | — |
ending_before | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
object | list | Yes | — |
url | string | No | — |
has_more | boolean | No | — |
data | object[] | Yes | — |
data full type
data full type
Payment Intents
create
paymentIntents.create
Create a new Stripe payment intent
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | — |
currency | string | Yes | — |
customer | string | No | — |
description | string | No | — |
payment_method | string | No | — |
confirm | boolean | No | — |
metadata | object | No | — |
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | payment_intent | Yes | — |
amount | number | Yes | — |
currency | string | Yes | — |
status | string | Yes | — |
customer | string | No | — |
description | string | No | — |
created | number | No | — |
payment_method | string | No | — |
client_secret | string | No | — |
canceled_at | number | No | — |
cancellation_reason | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
get
paymentIntents.get
Retrieve a Stripe payment intent by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | payment_intent | Yes | — |
amount | number | Yes | — |
currency | string | Yes | — |
status | string | Yes | — |
customer | string | No | — |
description | string | No | — |
created | number | No | — |
payment_method | string | No | — |
client_secret | string | No | — |
canceled_at | number | No | — |
cancellation_reason | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
list
paymentIntents.list
List Stripe payment intents with optional filters
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
customer | string | No | — |
limit | number | No | — |
starting_after | string | No | — |
ending_before | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
object | list | Yes | — |
url | string | No | — |
has_more | boolean | No | — |
data | object[] | Yes | — |
data full type
data full type
update
paymentIntents.update
Update a Stripe payment intent
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
amount | number | No | — |
currency | string | No | — |
customer | string | No | — |
description | string | No | — |
payment_method | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | payment_intent | Yes | — |
amount | number | Yes | — |
currency | string | Yes | — |
status | string | Yes | — |
customer | string | No | — |
description | string | No | — |
created | number | No | — |
payment_method | string | No | — |
client_secret | string | No | — |
canceled_at | number | No | — |
cancellation_reason | string | No | — |
metadata | object | No | — |
metadata full type
metadata full type
Prices
create
prices.create
Create a new Stripe price
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
currency | string | Yes | — |
unit_amount | number | No | — |
product | string | No | — |
product_data | object | No | — |
nickname | string | No | — |
recurring | object | No | — |
metadata | object | No | — |
product_data full type
product_data full type
recurring full type
recurring full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | price | Yes | — |
active | boolean | No | — |
currency | string | No | — |
unit_amount | number | No | — |
nickname | string | No | — |
product | string | No | — |
type | string | No | — |
recurring | object | No | — |
created | number | No | — |
livemode | boolean | No | — |
metadata | object | No | — |
recurring full type
recurring full type
metadata full type
metadata full type
list
prices.list
List Stripe prices
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
active | boolean | No | — |
currency | string | No | — |
product | string | No | — |
type | one_time | recurring | No | — |
limit | number | No | — |
starting_after | string | No | — |
ending_before | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
object | list | Yes | — |
url | string | No | — |
has_more | boolean | No | — |
data | object[] | Yes | — |
data full type
data full type
Sources
create
sources.create
Create a new Stripe source
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
amount | number | No | — |
currency | string | No | — |
flow | string | No | — |
owner | object | No | — |
redirect | object | No | — |
metadata | object | No | — |
token | string | No | — |
owner full type
owner full type
redirect full type
redirect full type
metadata full type
metadata full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | source | Yes | — |
type | string | No | — |
amount | number | No | — |
currency | string | No | — |
status | string | No | — |
created | number | No | — |
livemode | boolean | No | — |
metadata | object | No | — |
metadata full type
metadata full type
get
sources.get
Retrieve a Stripe source by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | source | Yes | — |
type | string | No | — |
amount | number | No | — |
currency | string | No | — |
status | string | No | — |
created | number | No | — |
livemode | boolean | No | — |
metadata | object | No | — |
metadata full type
metadata full type
Tokens
create
tokens.create
Create a Stripe token
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
card | object | No | — |
bank_account | object | No | — |
pii | object | No | — |
card full type
card full type
bank_account full type
bank_account full type
pii full type
pii full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | token | Yes | — |
type | string | No | — |
created | number | No | — |
livemode | boolean | No | — |