AACFlow

Stripe

Принимайте платежи и управляйте данными Stripe

Stripe — мощная платёжная платформа, которая позволяет легко управлять платежами, клиентами, подписками, счетами, товарами и многим другим.

Интеграция Stripe в AACFlow позволяет вашим агентам:

  • Создавать и управлять payment intents: обрабатывайте платежи с гибкими настройками.
  • Работать с клиентами: создавайте, получайте и обновляйте записи клиентов вашего бизнеса.
  • Управлять подписками: ведите регулярные списания и жизненный цикл подписок.
  • Создавать и отправлять счета: формируйте счета для разовых или регулярных платежей.
  • Отслеживать и управлять charges: получайте и обновляйте объекты charge для контроля платежей.
  • Настраивать товары и цены: формируйте каталог товаров, ценовые модели и предложения.
  • Реагировать на события Stripe: запускайте воркфлоу в ответ на изменения платежей, успешные списания и другие события Stripe.

Связывая AACFlow со Stripe, вы получаете бесшовную автоматизацию и финансовые операции прямо в воркфлоу агентов. Автоматизируйте подключение клиентов, управление подписками, приём платежей, генерацию счетов и даже кастомные действия по событиям платежей — всё это выполняется агентами, безопасно через Stripe.

Создаёте ли вы автоматизации для e-commerce, сервисы подписок или ведёте отчётность и сверку — инструмент Stripe позволяет легко координировать платежи и финансовые данные в ваших интеллектуальных воркфлоу AACFlow.

Инструкции по использованию

Интегрируйте Stripe в рабочий процесс. Управляйте платежами, intents, customers, subscriptions, invoices, charges, products, prices, и events. Can be used in trigger mode to trigger a workflow when a Stripe event occurs.

Инструменты

stripe_create_payment_intent

Создать новый Payment Intent to process a payment

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
amountnumberДаAmount in cents (e.g., 2000 for $20.00)
currencystringДаThree-letter ISO currency code (e.g., usd, eur)
customerstringНетCustomer ID to associate with this payment
payment_methodstringНетPayment method ID
descriptionstringНетDescription of the payment
receipt_emailstringНетEmail address to send receipt to
metadatajsonНетSet of key-value pairs for storing additional information
automatic_payment_methodsjsonНетEnable automatic payment methods (e.g., {"enabled": true})

Выходные данные

ПараметрТипОписание
payment_intentobjectThe created Payment Intent object
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_retrieve_payment_intent

Получитьn existing Payment Intent от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPayment Intent ID (e.g., pi_1234567890)

Выходные данные

ПараметрТипОписание
payment_intentobjectThe retrieved Payment Intent object
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_update_payment_intent

Обновитьn existing Payment Intent

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPayment Intent ID (e.g., pi_1234567890)
amountnumberНетUpdated amount in cents
currencystringНетThree-letter ISO currency code
customerstringНетCustomer ID
descriptionstringНетUpdated description
metadatajsonНетUpdated metadata

Выходные данные

ПараметрТипОписание
payment_intentobjectThe updated Payment Intent object
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_confirm_payment_intent

Confirm a Payment Intent to complete the payment

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPayment Intent ID (e.g., pi_1234567890)
payment_methodstringНетPayment method ID to confirm with

Выходные данные

ПараметрТипОписание
payment_intentobjectThe confirmed Payment Intent object
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_capture_payment_intent

Capture an authorized Payment Intent

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPayment Intent ID (e.g., pi_1234567890)
amount_to_capturenumberНетAmount to capture in cents (defaults to full amount)

Выходные данные

ПараметрТипОписание
payment_intentobjectThe captured Payment Intent object
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_cancel_payment_intent

Cancel a Payment Intent

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPayment Intent ID (e.g., pi_1234567890)
cancellation_reasonstringНетReason for cancellation (duplicate, fraudulent, requested_by_customer, abandoned)

Выходные данные

ПараметрТипОписание
payment_intentobjectThe canceled Payment Intent object
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_list_payment_intents

Список всех Payment Intents

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
customerstringНетFilter by customer ID
createdjsonНетFilter by creation date (e.g., {"gt": 1633024800})

Выходные данные

ПараметрТипОписание
payment_intentsarrayМассив Payment Intent objects
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonList metadata including count and has_more
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_payment_intents

Поиск Payment Intents using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "status:'succeeded' AND currency:'usd'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
payment_intentsarrayМассив matching Payment Intent objects
idstringUnique identifier for the Payment Intent
objectstringString representing the object type (payment_intent)
amountnumberAmount intended to be collected in smallest currency unit
amount_capturablenumberAmount that can be captured
amount_receivednumberAmount that was collected
applicationstringID of the Connect application that created the PaymentIntent
application_fee_amountnumberApplication fee amount (if any)
automatic_payment_methodsjsonSettings for automatic payment methods
canceled_atnumberUnix timestamp of cancellation
cancellation_reasonstringReason for cancellation
capture_methodstringControls when funds will be captured (automatic or manual)
client_secretstringClient secret for confirming the PaymentIntent
confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
creatednumberUnix timestamp when the PaymentIntent was created
currencystringThree-letter ISO currency code (lowercase)
customerstringID of the Customer this PaymentIntent belongs to
descriptionstringDescription of the payment
invoicestringID of the invoice that created this PaymentIntent
last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
latest_chargestringID of the latest charge created by this PaymentIntent
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_actionjsonActions required before the PaymentIntent can be confirmed
on_behalf_ofstringThe account on behalf of which to charge
payment_methodstringID of the payment method used
payment_method_optionsjsonPayment-method-specific configuration
payment_method_typesarrayPayment method types that can be used
processingjsonProcessing status if payment is being processed asynchronously
receipt_emailstringEmail address to send the receipt to
reviewstringID of the review associated with this PaymentIntent
setup_future_usagestringIndicates intent to make future payments
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
statement_descriptorstringStatement descriptor for charges
statement_descriptor_suffixstringStatement descriptor suffix
statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
transfer_datajsonThe data for creating a transfer after the payment succeeds
transfer_groupstringTransfer group for transfers associated С помощью payment
metadatajsonSearch metadata including count and has_more
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_create_customer

Создать новый customer object

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
emailstringНетCustomer email address
namestringНетCustomer full name
phonestringНетCustomer phone number
descriptionstringНетDescription of the customer
addressjsonНетCustomer address object
metadatajsonНетSet of key-value pairs
payment_methodstringНетPayment method ID to attach

Выходные данные

ПараметрТипОписание
customerobjectThe created customer object
idstringUnique identifier for the customer
objectstringString representing the object type (customer)
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
balancenumberCurrent balance in smallest currency unit
creatednumberUnix timestamp when the customer was created
currencystringThree-letter ISO currency code (lowercase)
default_sourcestringID of the default payment source
delinquentbooleanПроизошла ли customer has unpaid invoices
descriptionstringDescription of the customer
discountjsonDiscount that applies to all recurring charges
emailstringCustomer email address (max 512 characters)
invoice_prefixstringPrefix for generating unique invoice numbers
invoice_settingsjsonDefault invoice settings
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
namestringCustomer full name or business name (max 256 characters)
next_invoice_sequencenumberNext invoice sequence number
phonestringCustomer phone number (max 20 characters)
preferred_localesarrayCustomer preferred locales
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
tax_exemptstringTax exemption status (none, exempt, reverse)
test_clockstringID of the test clock
metadatajsonCustomer metadata
idstringStripe unique identifier
emailstringCustomer email address
namestringDisplay name

stripe_retrieve_customer

Получитьn existing customer от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаCustomer ID (e.g., cus_1234567890)

Выходные данные

ПараметрТипОписание
customerobjectThe retrieved customer object
idstringUnique identifier for the customer
objectstringString representing the object type (customer)
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
balancenumberCurrent balance in smallest currency unit
creatednumberUnix timestamp when the customer was created
currencystringThree-letter ISO currency code (lowercase)
default_sourcestringID of the default payment source
delinquentbooleanПроизошла ли customer has unpaid invoices
descriptionstringDescription of the customer
discountjsonDiscount that applies to all recurring charges
emailstringCustomer email address (max 512 characters)
invoice_prefixstringPrefix for generating unique invoice numbers
invoice_settingsjsonDefault invoice settings
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
namestringCustomer full name or business name (max 256 characters)
next_invoice_sequencenumberNext invoice sequence number
phonestringCustomer phone number (max 20 characters)
preferred_localesarrayCustomer preferred locales
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
tax_exemptstringTax exemption status (none, exempt, reverse)
test_clockstringID of the test clock
metadatajsonCustomer metadata
idstringStripe unique identifier
emailstringCustomer email address
namestringDisplay name

stripe_update_customer

Обновитьn existing customer

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаCustomer ID (e.g., cus_1234567890)
emailstringНетUpdated email address
namestringНетUpdated name
phonestringНетUpdated phone number
descriptionstringНетUpdated description
addressjsonНетUpdated address object
metadatajsonНетUpdated metadata

Выходные данные

ПараметрТипОписание
customerobjectThe updated customer object
idstringUnique identifier for the customer
objectstringString representing the object type (customer)
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
balancenumberCurrent balance in smallest currency unit
creatednumberUnix timestamp when the customer was created
currencystringThree-letter ISO currency code (lowercase)
default_sourcestringID of the default payment source
delinquentbooleanПроизошла ли customer has unpaid invoices
descriptionstringDescription of the customer
discountjsonDiscount that applies to all recurring charges
emailstringCustomer email address (max 512 characters)
invoice_prefixstringPrefix for generating unique invoice numbers
invoice_settingsjsonDefault invoice settings
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
namestringCustomer full name or business name (max 256 characters)
next_invoice_sequencenumberNext invoice sequence number
phonestringCustomer phone number (max 20 characters)
preferred_localesarrayCustomer preferred locales
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
tax_exemptstringTax exemption status (none, exempt, reverse)
test_clockstringID of the test clock
metadatajsonCustomer metadata
idstringStripe unique identifier
emailstringCustomer email address
namestringDisplay name

stripe_delete_customer

Permanently delete a customer

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаCustomer ID (e.g., cus_1234567890)

Выходные данные

ПараметрТипОписание
deletedbooleanПроизошла ли resource was deleted
idstringID of the deleted resource

stripe_list_customers

Список всех customers

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
emailstringНетFilter by email address
createdjsonНетFilter by creation date

Выходные данные

ПараметрТипОписание
customersarrayМассив customer objects
idstringUnique identifier for the customer
objectstringString representing the object type (customer)
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
balancenumberCurrent balance in smallest currency unit
creatednumberUnix timestamp when the customer was created
currencystringThree-letter ISO currency code (lowercase)
default_sourcestringID of the default payment source
delinquentbooleanПроизошла ли customer has unpaid invoices
descriptionstringDescription of the customer
discountjsonDiscount that applies to all recurring charges
emailstringCustomer email address (max 512 characters)
invoice_prefixstringPrefix for generating unique invoice numbers
invoice_settingsjsonDefault invoice settings
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
namestringCustomer full name or business name (max 256 characters)
next_invoice_sequencenumberNext invoice sequence number
phonestringCustomer phone number (max 20 characters)
preferred_localesarrayCustomer preferred locales
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
tax_exemptstringTax exemption status (none, exempt, reverse)
test_clockstringID of the test clock
metadatajsonList metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_customers

Поиск customers using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "email:'customer@example.com'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
customersarrayМассив matching customer objects
idstringUnique identifier for the customer
objectstringString representing the object type (customer)
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
balancenumberCurrent balance in smallest currency unit
creatednumberUnix timestamp when the customer was created
currencystringThree-letter ISO currency code (lowercase)
default_sourcestringID of the default payment source
delinquentbooleanПроизошла ли customer has unpaid invoices
descriptionstringDescription of the customer
discountjsonDiscount that applies to all recurring charges
emailstringCustomer email address (max 512 characters)
invoice_prefixstringPrefix for generating unique invoice numbers
invoice_settingsjsonDefault invoice settings
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
namestringCustomer full name or business name (max 256 characters)
next_invoice_sequencenumberNext invoice sequence number
phonestringCustomer phone number (max 20 characters)
preferred_localesarrayCustomer preferred locales
shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
tax_exemptstringTax exemption status (none, exempt, reverse)
test_clockstringID of the test clock
metadatajsonSearch metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_create_subscription

Создать новый subscription для a customer

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
customerstringДаCustomer ID to subscribe
itemsjsonДаМассив items with price IDs (e.g., [{"price": "price_xxx", "quantity": 1}])
trial_period_daysnumberНетNumber of trial days
default_payment_methodstringНетPayment method ID
cancel_at_period_endbooleanНетCancel subscription at period end
metadatajsonНетSet of key-value pairs for storing additional information

Выходные данные

ПараметрТипОписание
subscriptionobjectThe created subscription object
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
idstringStripe unique identifier
statusstringCurrent state of the resource
customerstringAssociated customer ID

stripe_retrieve_subscription

Получитьn existing subscription от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаSubscription ID (e.g., sub_1234567890)

Выходные данные

ПараметрТипОписание
subscriptionobjectThe retrieved subscription object
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
idstringStripe unique identifier
statusstringCurrent state of the resource
customerstringAssociated customer ID

stripe_update_subscription

Обновитьn existing subscription

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаSubscription ID (e.g., sub_1234567890)
itemsjsonНетUpdated array of items with price IDs
cancel_at_period_endbooleanНетCancel subscription at period end
metadatajsonНетUpdated metadata

Выходные данные

ПараметрТипОписание
subscriptionobjectThe updated subscription object
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
idstringStripe unique identifier
statusstringCurrent state of the resource
customerstringAssociated customer ID

stripe_cancel_subscription

Cancel a subscription

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаSubscription ID (e.g., sub_1234567890)
proratebooleanНетWhether to prorate the cancellation
invoice_nowbooleanНетWhether to invoice immediately

Выходные данные

ПараметрТипОписание
subscriptionobjectThe canceled subscription object
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
idstringStripe unique identifier
statusstringCurrent state of the resource
customerstringAssociated customer ID

stripe_resume_subscription

Возобновить subscription that was scheduled для cancellation

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаSubscription ID (e.g., sub_1234567890)

Выходные данные

ПараметрТипОписание
subscriptionobjectThe resumed subscription object
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
idstringStripe unique identifier
statusstringCurrent state of the resource
customerstringAssociated customer ID

stripe_list_subscriptions

Список всех subscriptions

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
customerstringНетFilter by customer ID
statusstringНетFilter by status (active, past_due, unpaid, canceled, incomplete, incomplete_expired, trialing, all)
pricestringНетFilter by price ID

Выходные данные

ПараметрТипОписание
subscriptionsarrayМассив subscription objects
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonList metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_subscriptions

Поиск subscriptions using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "status:'active' AND customer:'cus_xxx'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
subscriptionsarrayМассив matching subscription objects
idstringUnique identifier for the subscription
objectstringString representing the object type (subscription)
applicationstringID of the Connect application that created the subscription
application_fee_percentnumberApplication fee percent (if any)
automatic_taxjsonAutomatic tax settings
billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
billing_thresholdsjsonBilling thresholds for the subscription
cancel_atnumberUnix timestamp when the subscription will be canceled
cancel_at_period_endbooleanПроизошла ли subscription will be canceled at period end
canceled_atnumberUnix timestamp when the subscription was canceled
cancellation_detailsjsonDetails about cancellation
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the subscription was created
currencystringThree-letter ISO currency code (lowercase)
current_period_endnumberUnix timestamp when the current period ends
current_period_startnumberUnix timestamp when the current period started
customerstringID of the customer who owns the subscription
days_until_duenumberNumber of days a customer has to pay invoices
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringSubscription description (max 500 characters)
discountjsonDiscount that applies to the subscription
ended_atnumberUnix timestamp when the subscription ended
latest_invoicestringID of the most recent invoice
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
on_behalf_ofstringAccount the subscription is made on behalf of
pause_collectionjsonIf paused, when collection is paused until
payment_settingsjsonPayment settings for the subscription
pending_invoice_item_intervaljsonPending invoice item interval
pending_setup_intentstringID of the pending SetupIntent
pending_updatejsonPending subscription update
schedulestringID of the subscription schedule
start_datenumberUnix timestamp when the subscription started
statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
test_clockstringID of the test clock
transfer_datajsonData for creating transfers after payments succeed
trial_endnumberUnix timestamp when the trial ends
trial_settingsjsonSettings related to subscription trials
trial_startnumberUnix timestamp when the trial started
metadatajsonSearch metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_create_invoice

Создать новый invoice

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
customerstringДаCustomer ID (e.g., cus_1234567890)
descriptionstringНетDescription of the invoice
metadatajsonНетSet of key-value pairs
auto_advancebooleanНетAuto-finalize the invoice
collection_methodstringНетCollection method: charge_automatically or send_invoice

Выходные данные

ПараметрТипОписание
invoiceobjectThe created invoice object
idstringUnique identifier for the invoice
objectstringString representing the object type (invoice)
account_countrystringCountry of the business associated with this invoice
account_namestringName of the account associated with this invoice
account_tax_idsarrayAccount tax IDs
amount_duenumberFinal amount due in smallest currency unit
amount_paidnumberAmount paid in smallest currency unit
amount_remainingnumberAmount remaining in smallest currency unit
amount_shippingnumberShipping amount in smallest currency unit
applicationstringID of the Connect application that created the invoice
application_fee_amountnumberApplication fee amount
attempt_countnumberNumber of payment attempts made
attemptedbooleanWhether an attempt has been made to pay the invoice
auto_advancebooleanControls whether Stripe performs automatic collection
automatic_taxjsonSettings and results for automatic tax lookup
billing_reasonstringReason the invoice was created
chargestringID of the latest charge for this invoice
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the invoice was created
currencystringThree-letter ISO currency code (lowercase)
custom_fieldsarrayCustom fields displayed on the invoice
customerstringID of the customer who will be billed
customer_addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_emailstringEmail of the customer
customer_namestringName of the customer
customer_phonestringPhone number of the customer
customer_shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_tax_exemptstringTax exemption status of the customer
customer_tax_idsarrayCustomer tax IDs
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringDescription displayed in Dashboard (memo)
discountjsonDiscount applied to the invoice
discountsarrayDiscounts applied to the invoice
due_datenumberUnix timestamp when payment is due
effective_atnumberWhen the invoice was effective
ending_balancenumberEnding customer balance after invoice is finalized
footerstringFooter displayed on the invoice
from_invoicejsonDetails of the invoice that this invoice was created from
hosted_invoice_urlstringURL for the hosted invoice page
invoice_pdfstringURL for the invoice PDF
issuerjsonThe connected account that issues the invoice
last_finalization_errorjsonError encountered during finalization
latest_revisionstringID of the most recent revision
linesobjectInvoice line items
idstringUnique identifier for the line item
objectstringString representing the object type (line_item)
amountnumberAmount in smallest currency unit
amount_excluding_taxnumberAmount excluding tax
currencystringThree-letter ISO currency code (lowercase)
descriptionstringDescription of the line item
discount_amountsarrayDiscount amounts applied
discountablebooleanПроизошла ли line item is discountable
discountsarrayDiscounts applied to the line item
invoicestringID of the invoice that contains this line item
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
periodjsonPeriod this line item covers
pricejsonPrice object for this line item
prorationbooleanПроизошла ли эта is a proration
proration_detailsjsonAdditional details for proration line items
quantitynumberQuantity of the item
subscriptionstringID of the subscription
subscription_itemstringID of the subscription item
tax_amountsarrayTax amounts for this line item
tax_ratesarrayTax rates applied
typestringType of line item (invoiceitem or subscription)
unit_amount_excluding_taxstringUnit amount excluding tax
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_payment_attemptnumberUnix timestamp of next payment attempt
numberstringHuman-readable invoice number
on_behalf_ofstringAccount on behalf of which the invoice was issued
paidbooleanWhether payment was successfully collected
paid_out_of_bandbooleanПроизошла ли invoice was paid out of band
payment_intentstringID of the PaymentIntent associated С помощью invoice
payment_settingsjsonConfiguration settings for payment collection
period_endnumberEnd of the usage period
period_startnumberStart of the usage period
post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
quotestringID of the quote this invoice was generated from
receipt_numberstringReceipt number for the invoice
renderingjsonInvoice rendering options
rendering_optionsjsonInvoice rendering options (deprecated)
shipping_costjsonShipping cost information
shipping_detailsobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
starting_balancenumberStarting customer balance before invoice
statement_descriptorstringStatement descriptor
statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
status_transitionsjsonTimestamps at which the invoice status was updated
subscriptionstringID of the subscription for this invoice
subscription_detailsjsonDetails about the subscription
subscription_proration_datenumberOnly set for upcoming invoices with proration
subtotalnumberTotal before discounts and taxes
subtotal_excluding_taxnumberSubtotal excluding tax
taxnumberTotal tax amount
test_clockstringID of the test clock
threshold_reasonjsonDetails about why the invoice was created
totalnumberTotal after discounts and taxes
total_discount_amountsarrayTotal discount amounts
total_excluding_taxnumberTotal excluding tax
total_tax_amountsarrayTotal tax amounts
transfer_datajsonData for creating transfers
webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_retrieve_invoice

Получитьn existing invoice от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)

Выходные данные

ПараметрТипОписание
invoiceobjectThe retrieved invoice object
idstringUnique identifier for the invoice
objectstringString representing the object type (invoice)
account_countrystringCountry of the business associated with this invoice
account_namestringName of the account associated with this invoice
account_tax_idsarrayAccount tax IDs
amount_duenumberFinal amount due in smallest currency unit
amount_paidnumberAmount paid in smallest currency unit
amount_remainingnumberAmount remaining in smallest currency unit
amount_shippingnumberShipping amount in smallest currency unit
applicationstringID of the Connect application that created the invoice
application_fee_amountnumberApplication fee amount
attempt_countnumberNumber of payment attempts made
attemptedbooleanWhether an attempt has been made to pay the invoice
auto_advancebooleanControls whether Stripe performs automatic collection
automatic_taxjsonSettings and results for automatic tax lookup
billing_reasonstringReason the invoice was created
chargestringID of the latest charge for this invoice
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the invoice was created
currencystringThree-letter ISO currency code (lowercase)
custom_fieldsarrayCustom fields displayed on the invoice
customerstringID of the customer who will be billed
customer_addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_emailstringEmail of the customer
customer_namestringName of the customer
customer_phonestringPhone number of the customer
customer_shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_tax_exemptstringTax exemption status of the customer
customer_tax_idsarrayCustomer tax IDs
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringDescription displayed in Dashboard (memo)
discountjsonDiscount applied to the invoice
discountsarrayDiscounts applied to the invoice
due_datenumberUnix timestamp when payment is due
effective_atnumberWhen the invoice was effective
ending_balancenumberEnding customer balance after invoice is finalized
footerstringFooter displayed on the invoice
from_invoicejsonDetails of the invoice that this invoice was created from
hosted_invoice_urlstringURL for the hosted invoice page
invoice_pdfstringURL for the invoice PDF
issuerjsonThe connected account that issues the invoice
last_finalization_errorjsonError encountered during finalization
latest_revisionstringID of the most recent revision
linesobjectInvoice line items
idstringUnique identifier for the line item
objectstringString representing the object type (line_item)
amountnumberAmount in smallest currency unit
amount_excluding_taxnumberAmount excluding tax
currencystringThree-letter ISO currency code (lowercase)
descriptionstringDescription of the line item
discount_amountsarrayDiscount amounts applied
discountablebooleanПроизошла ли line item is discountable
discountsarrayDiscounts applied to the line item
invoicestringID of the invoice that contains this line item
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
periodjsonPeriod this line item covers
pricejsonPrice object for this line item
prorationbooleanПроизошла ли эта is a proration
proration_detailsjsonAdditional details for proration line items
quantitynumberQuantity of the item
subscriptionstringID of the subscription
subscription_itemstringID of the subscription item
tax_amountsarrayTax amounts for this line item
tax_ratesarrayTax rates applied
typestringType of line item (invoiceitem or subscription)
unit_amount_excluding_taxstringUnit amount excluding tax
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_payment_attemptnumberUnix timestamp of next payment attempt
numberstringHuman-readable invoice number
on_behalf_ofstringAccount on behalf of which the invoice was issued
paidbooleanWhether payment was successfully collected
paid_out_of_bandbooleanПроизошла ли invoice was paid out of band
payment_intentstringID of the PaymentIntent associated С помощью invoice
payment_settingsjsonConfiguration settings for payment collection
period_endnumberEnd of the usage period
period_startnumberStart of the usage period
post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
quotestringID of the quote this invoice was generated from
receipt_numberstringReceipt number for the invoice
renderingjsonInvoice rendering options
rendering_optionsjsonInvoice rendering options (deprecated)
shipping_costjsonShipping cost information
shipping_detailsobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
starting_balancenumberStarting customer balance before invoice
statement_descriptorstringStatement descriptor
statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
status_transitionsjsonTimestamps at which the invoice status was updated
subscriptionstringID of the subscription for this invoice
subscription_detailsjsonDetails about the subscription
subscription_proration_datenumberOnly set for upcoming invoices with proration
subtotalnumberTotal before discounts and taxes
subtotal_excluding_taxnumberSubtotal excluding tax
taxnumberTotal tax amount
test_clockstringID of the test clock
threshold_reasonjsonDetails about why the invoice was created
totalnumberTotal after discounts and taxes
total_discount_amountsarrayTotal discount amounts
total_excluding_taxnumberTotal excluding tax
total_tax_amountsarrayTotal tax amounts
transfer_datajsonData for creating transfers
webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_update_invoice

Обновитьn existing invoice

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)
descriptionstringНетDescription of the invoice
metadatajsonНетSet of key-value pairs
auto_advancebooleanНетAuto-finalize the invoice

Выходные данные

ПараметрТипОписание
invoiceobjectThe updated invoice object
idstringUnique identifier for the invoice
objectstringString representing the object type (invoice)
account_countrystringCountry of the business associated with this invoice
account_namestringName of the account associated with this invoice
account_tax_idsarrayAccount tax IDs
amount_duenumberFinal amount due in smallest currency unit
amount_paidnumberAmount paid in smallest currency unit
amount_remainingnumberAmount remaining in smallest currency unit
amount_shippingnumberShipping amount in smallest currency unit
applicationstringID of the Connect application that created the invoice
application_fee_amountnumberApplication fee amount
attempt_countnumberNumber of payment attempts made
attemptedbooleanWhether an attempt has been made to pay the invoice
auto_advancebooleanControls whether Stripe performs automatic collection
automatic_taxjsonSettings and results for automatic tax lookup
billing_reasonstringReason the invoice was created
chargestringID of the latest charge for this invoice
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the invoice was created
currencystringThree-letter ISO currency code (lowercase)
custom_fieldsarrayCustom fields displayed on the invoice
customerstringID of the customer who will be billed
customer_addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_emailstringEmail of the customer
customer_namestringName of the customer
customer_phonestringPhone number of the customer
customer_shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_tax_exemptstringTax exemption status of the customer
customer_tax_idsarrayCustomer tax IDs
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringDescription displayed in Dashboard (memo)
discountjsonDiscount applied to the invoice
discountsarrayDiscounts applied to the invoice
due_datenumberUnix timestamp when payment is due
effective_atnumberWhen the invoice was effective
ending_balancenumberEnding customer balance after invoice is finalized
footerstringFooter displayed on the invoice
from_invoicejsonDetails of the invoice that this invoice was created from
hosted_invoice_urlstringURL for the hosted invoice page
invoice_pdfstringURL for the invoice PDF
issuerjsonThe connected account that issues the invoice
last_finalization_errorjsonError encountered during finalization
latest_revisionstringID of the most recent revision
linesobjectInvoice line items
idstringUnique identifier for the line item
objectstringString representing the object type (line_item)
amountnumberAmount in smallest currency unit
amount_excluding_taxnumberAmount excluding tax
currencystringThree-letter ISO currency code (lowercase)
descriptionstringDescription of the line item
discount_amountsarrayDiscount amounts applied
discountablebooleanПроизошла ли line item is discountable
discountsarrayDiscounts applied to the line item
invoicestringID of the invoice that contains this line item
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
periodjsonPeriod this line item covers
pricejsonPrice object for this line item
prorationbooleanПроизошла ли эта is a proration
proration_detailsjsonAdditional details for proration line items
quantitynumberQuantity of the item
subscriptionstringID of the subscription
subscription_itemstringID of the subscription item
tax_amountsarrayTax amounts for this line item
tax_ratesarrayTax rates applied
typestringType of line item (invoiceitem or subscription)
unit_amount_excluding_taxstringUnit amount excluding tax
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_payment_attemptnumberUnix timestamp of next payment attempt
numberstringHuman-readable invoice number
on_behalf_ofstringAccount on behalf of which the invoice was issued
paidbooleanWhether payment was successfully collected
paid_out_of_bandbooleanПроизошла ли invoice was paid out of band
payment_intentstringID of the PaymentIntent associated С помощью invoice
payment_settingsjsonConfiguration settings for payment collection
period_endnumberEnd of the usage period
period_startnumberStart of the usage period
post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
quotestringID of the quote this invoice was generated from
receipt_numberstringReceipt number for the invoice
renderingjsonInvoice rendering options
rendering_optionsjsonInvoice rendering options (deprecated)
shipping_costjsonShipping cost information
shipping_detailsobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
starting_balancenumberStarting customer balance before invoice
statement_descriptorstringStatement descriptor
statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
status_transitionsjsonTimestamps at which the invoice status was updated
subscriptionstringID of the subscription for this invoice
subscription_detailsjsonDetails about the subscription
subscription_proration_datenumberOnly set for upcoming invoices with proration
subtotalnumberTotal before discounts and taxes
subtotal_excluding_taxnumberSubtotal excluding tax
taxnumberTotal tax amount
test_clockstringID of the test clock
threshold_reasonjsonDetails about why the invoice was created
totalnumberTotal after discounts and taxes
total_discount_amountsarrayTotal discount amounts
total_excluding_taxnumberTotal excluding tax
total_tax_amountsarrayTotal tax amounts
transfer_datajsonData for creating transfers
webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_delete_invoice

Permanently delete a draft invoice

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)

Выходные данные

ПараметрТипОписание
deletedbooleanПроизошла ли invoice was deleted
idstringThe ID of the deleted invoice

stripe_finalize_invoice

Finalize a draft invoice

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)
auto_advancebooleanНетAuto-advance the invoice

Выходные данные

ПараметрТипОписание
invoiceobjectThe finalized invoice object
idstringUnique identifier for the invoice
objectstringString representing the object type (invoice)
account_countrystringCountry of the business associated with this invoice
account_namestringName of the account associated with this invoice
account_tax_idsarrayAccount tax IDs
amount_duenumberFinal amount due in smallest currency unit
amount_paidnumberAmount paid in smallest currency unit
amount_remainingnumberAmount remaining in smallest currency unit
amount_shippingnumberShipping amount in smallest currency unit
applicationstringID of the Connect application that created the invoice
application_fee_amountnumberApplication fee amount
attempt_countnumberNumber of payment attempts made
attemptedbooleanWhether an attempt has been made to pay the invoice
auto_advancebooleanControls whether Stripe performs automatic collection
automatic_taxjsonSettings and results for automatic tax lookup
billing_reasonstringReason the invoice was created
chargestringID of the latest charge for this invoice
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the invoice was created
currencystringThree-letter ISO currency code (lowercase)
custom_fieldsarrayCustom fields displayed on the invoice
customerstringID of the customer who will be billed
customer_addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_emailstringEmail of the customer
customer_namestringName of the customer
customer_phonestringPhone number of the customer
customer_shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_tax_exemptstringTax exemption status of the customer
customer_tax_idsarrayCustomer tax IDs
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringDescription displayed in Dashboard (memo)
discountjsonDiscount applied to the invoice
discountsarrayDiscounts applied to the invoice
due_datenumberUnix timestamp when payment is due
effective_atnumberWhen the invoice was effective
ending_balancenumberEnding customer balance after invoice is finalized
footerstringFooter displayed on the invoice
from_invoicejsonDetails of the invoice that this invoice was created from
hosted_invoice_urlstringURL for the hosted invoice page
invoice_pdfstringURL for the invoice PDF
issuerjsonThe connected account that issues the invoice
last_finalization_errorjsonError encountered during finalization
latest_revisionstringID of the most recent revision
linesobjectInvoice line items
idstringUnique identifier for the line item
objectstringString representing the object type (line_item)
amountnumberAmount in smallest currency unit
amount_excluding_taxnumberAmount excluding tax
currencystringThree-letter ISO currency code (lowercase)
descriptionstringDescription of the line item
discount_amountsarrayDiscount amounts applied
discountablebooleanПроизошла ли line item is discountable
discountsarrayDiscounts applied to the line item
invoicestringID of the invoice that contains this line item
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
periodjsonPeriod this line item covers
pricejsonPrice object for this line item
prorationbooleanПроизошла ли эта is a proration
proration_detailsjsonAdditional details for proration line items
quantitynumberQuantity of the item
subscriptionstringID of the subscription
subscription_itemstringID of the subscription item
tax_amountsarrayTax amounts for this line item
tax_ratesarrayTax rates applied
typestringType of line item (invoiceitem or subscription)
unit_amount_excluding_taxstringUnit amount excluding tax
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_payment_attemptnumberUnix timestamp of next payment attempt
numberstringHuman-readable invoice number
on_behalf_ofstringAccount on behalf of which the invoice was issued
paidbooleanWhether payment was successfully collected
paid_out_of_bandbooleanПроизошла ли invoice was paid out of band
payment_intentstringID of the PaymentIntent associated С помощью invoice
payment_settingsjsonConfiguration settings for payment collection
period_endnumberEnd of the usage period
period_startnumberStart of the usage period
post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
quotestringID of the quote this invoice was generated from
receipt_numberstringReceipt number for the invoice
renderingjsonInvoice rendering options
rendering_optionsjsonInvoice rendering options (deprecated)
shipping_costjsonShipping cost information
shipping_detailsobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
starting_balancenumberStarting customer balance before invoice
statement_descriptorstringStatement descriptor
statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
status_transitionsjsonTimestamps at which the invoice status was updated
subscriptionstringID of the subscription for this invoice
subscription_detailsjsonDetails about the subscription
subscription_proration_datenumberOnly set for upcoming invoices with proration
subtotalnumberTotal before discounts and taxes
subtotal_excluding_taxnumberSubtotal excluding tax
taxnumberTotal tax amount
test_clockstringID of the test clock
threshold_reasonjsonDetails about why the invoice was created
totalnumberTotal after discounts and taxes
total_discount_amountsarrayTotal discount amounts
total_excluding_taxnumberTotal excluding tax
total_tax_amountsarrayTotal tax amounts
transfer_datajsonData for creating transfers
webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_pay_invoice

Pay an invoice

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)
paid_out_of_bandbooleanНетMark invoice as paid out of band

Выходные данные

ПараметрТипОписание
invoiceobjectThe paid invoice object
idstringUnique identifier for the invoice
objectstringString representing the object type (invoice)
account_countrystringCountry of the business associated with this invoice
account_namestringName of the account associated with this invoice
account_tax_idsarrayAccount tax IDs
amount_duenumberFinal amount due in smallest currency unit
amount_paidnumberAmount paid in smallest currency unit
amount_remainingnumberAmount remaining in smallest currency unit
amount_shippingnumberShipping amount in smallest currency unit
applicationstringID of the Connect application that created the invoice
application_fee_amountnumberApplication fee amount
attempt_countnumberNumber of payment attempts made
attemptedbooleanWhether an attempt has been made to pay the invoice
auto_advancebooleanControls whether Stripe performs automatic collection
automatic_taxjsonSettings and results for automatic tax lookup
billing_reasonstringReason the invoice was created
chargestringID of the latest charge for this invoice
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the invoice was created
currencystringThree-letter ISO currency code (lowercase)
custom_fieldsarrayCustom fields displayed on the invoice
customerstringID of the customer who will be billed
customer_addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_emailstringEmail of the customer
customer_namestringName of the customer
customer_phonestringPhone number of the customer
customer_shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_tax_exemptstringTax exemption status of the customer
customer_tax_idsarrayCustomer tax IDs
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringDescription displayed in Dashboard (memo)
discountjsonDiscount applied to the invoice
discountsarrayDiscounts applied to the invoice
due_datenumberUnix timestamp when payment is due
effective_atnumberWhen the invoice was effective
ending_balancenumberEnding customer balance after invoice is finalized
footerstringFooter displayed on the invoice
from_invoicejsonDetails of the invoice that this invoice was created from
hosted_invoice_urlstringURL for the hosted invoice page
invoice_pdfstringURL for the invoice PDF
issuerjsonThe connected account that issues the invoice
last_finalization_errorjsonError encountered during finalization
latest_revisionstringID of the most recent revision
linesobjectInvoice line items
idstringUnique identifier for the line item
objectstringString representing the object type (line_item)
amountnumberAmount in smallest currency unit
amount_excluding_taxnumberAmount excluding tax
currencystringThree-letter ISO currency code (lowercase)
descriptionstringDescription of the line item
discount_amountsarrayDiscount amounts applied
discountablebooleanПроизошла ли line item is discountable
discountsarrayDiscounts applied to the line item
invoicestringID of the invoice that contains this line item
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
periodjsonPeriod this line item covers
pricejsonPrice object for this line item
prorationbooleanПроизошла ли эта is a proration
proration_detailsjsonAdditional details for proration line items
quantitynumberQuantity of the item
subscriptionstringID of the subscription
subscription_itemstringID of the subscription item
tax_amountsarrayTax amounts for this line item
tax_ratesarrayTax rates applied
typestringType of line item (invoiceitem or subscription)
unit_amount_excluding_taxstringUnit amount excluding tax
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_payment_attemptnumberUnix timestamp of next payment attempt
numberstringHuman-readable invoice number
on_behalf_ofstringAccount on behalf of which the invoice was issued
paidbooleanWhether payment was successfully collected
paid_out_of_bandbooleanПроизошла ли invoice was paid out of band
payment_intentstringID of the PaymentIntent associated С помощью invoice
payment_settingsjsonConfiguration settings for payment collection
period_endnumberEnd of the usage period
period_startnumberStart of the usage period
post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
quotestringID of the quote this invoice was generated from
receipt_numberstringReceipt number for the invoice
renderingjsonInvoice rendering options
rendering_optionsjsonInvoice rendering options (deprecated)
shipping_costjsonShipping cost information
shipping_detailsobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
starting_balancenumberStarting customer balance before invoice
statement_descriptorstringStatement descriptor
statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
status_transitionsjsonTimestamps at which the invoice status was updated
subscriptionstringID of the subscription for this invoice
subscription_detailsjsonDetails about the subscription
subscription_proration_datenumberOnly set for upcoming invoices with proration
subtotalnumberTotal before discounts and taxes
subtotal_excluding_taxnumberSubtotal excluding tax
taxnumberTotal tax amount
test_clockstringID of the test clock
threshold_reasonjsonDetails about why the invoice was created
totalnumberTotal after discounts and taxes
total_discount_amountsarrayTotal discount amounts
total_excluding_taxnumberTotal excluding tax
total_tax_amountsarrayTotal tax amounts
transfer_datajsonData for creating transfers
webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_void_invoice

Void an invoice

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)

Выходные данные

ПараметрТипОписание
invoiceobjectThe voided invoice object
idstringUnique identifier for the invoice
objectstringString representing the object type (invoice)
account_countrystringCountry of the business associated with this invoice
account_namestringName of the account associated with this invoice
account_tax_idsarrayAccount tax IDs
amount_duenumberFinal amount due in smallest currency unit
amount_paidnumberAmount paid in smallest currency unit
amount_remainingnumberAmount remaining in smallest currency unit
amount_shippingnumberShipping amount in smallest currency unit
applicationstringID of the Connect application that created the invoice
application_fee_amountnumberApplication fee amount
attempt_countnumberNumber of payment attempts made
attemptedbooleanWhether an attempt has been made to pay the invoice
auto_advancebooleanControls whether Stripe performs automatic collection
automatic_taxjsonSettings and results for automatic tax lookup
billing_reasonstringReason the invoice was created
chargestringID of the latest charge for this invoice
collection_methodstringCollection method (charge_automatically or send_invoice)
creatednumberUnix timestamp when the invoice was created
currencystringThree-letter ISO currency code (lowercase)
custom_fieldsarrayCustom fields displayed on the invoice
customerstringID of the customer who will be billed
customer_addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_emailstringEmail of the customer
customer_namestringName of the customer
customer_phonestringPhone number of the customer
customer_shippingobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
customer_tax_exemptstringTax exemption status of the customer
customer_tax_idsarrayCustomer tax IDs
default_payment_methodstringID of the default payment method
default_sourcestringID of the default source
default_tax_ratesarrayDefault tax rates
descriptionstringDescription displayed in Dashboard (memo)
discountjsonDiscount applied to the invoice
discountsarrayDiscounts applied to the invoice
due_datenumberUnix timestamp when payment is due
effective_atnumberWhen the invoice was effective
ending_balancenumberEnding customer balance after invoice is finalized
footerstringFooter displayed on the invoice
from_invoicejsonDetails of the invoice that this invoice was created from
hosted_invoice_urlstringURL for the hosted invoice page
invoice_pdfstringURL for the invoice PDF
issuerjsonThe connected account that issues the invoice
last_finalization_errorjsonError encountered during finalization
latest_revisionstringID of the most recent revision
linesobjectInvoice line items
idstringUnique identifier for the line item
objectstringString representing the object type (line_item)
amountnumberAmount in smallest currency unit
amount_excluding_taxnumberAmount excluding tax
currencystringThree-letter ISO currency code (lowercase)
descriptionstringDescription of the line item
discount_amountsarrayDiscount amounts applied
discountablebooleanПроизошла ли line item is discountable
discountsarrayDiscounts applied to the line item
invoicestringID of the invoice that contains this line item
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
periodjsonPeriod this line item covers
pricejsonPrice object for this line item
prorationbooleanПроизошла ли эта is a proration
proration_detailsjsonAdditional details for proration line items
quantitynumberQuantity of the item
subscriptionstringID of the subscription
subscription_itemstringID of the subscription item
tax_amountsarrayTax amounts for this line item
tax_ratesarrayTax rates applied
typestringType of line item (invoiceitem or subscription)
unit_amount_excluding_taxstringUnit amount excluding tax
livemodebooleanWhether object exists in live mode or test mode
metadatajsonSet of key-value pairs for storing additional information
next_payment_attemptnumberUnix timestamp of next payment attempt
numberstringHuman-readable invoice number
on_behalf_ofstringAccount on behalf of which the invoice was issued
paidbooleanWhether payment was successfully collected
paid_out_of_bandbooleanПроизошла ли invoice was paid out of band
payment_intentstringID of the PaymentIntent associated С помощью invoice
payment_settingsjsonConfiguration settings for payment collection
period_endnumberEnd of the usage period
period_startnumberStart of the usage period
post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
quotestringID of the quote this invoice was generated from
receipt_numberstringReceipt number for the invoice
renderingjsonInvoice rendering options
rendering_optionsjsonInvoice rendering options (deprecated)
shipping_costjsonShipping cost information
shipping_detailsobjectShipping information
namestringRecipient name
phonestringRecipient phone number
addressobjectAddress object
line1stringAddress line 1 (street address)
line2stringAddress line 2 (apartment, suite, etc.)
citystringCity name
statestringState, county, province, or region
postal_codestringZIP or postal code
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
starting_balancenumberStarting customer balance before invoice
statement_descriptorstringStatement descriptor
statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
status_transitionsjsonTimestamps at which the invoice status was updated
subscriptionstringID of the subscription for this invoice
subscription_detailsjsonDetails about the subscription
subscription_proration_datenumberOnly set for upcoming invoices with proration
subtotalnumberTotal before discounts and taxes
subtotal_excluding_taxnumberSubtotal excluding tax
taxnumberTotal tax amount
test_clockstringID of the test clock
threshold_reasonjsonDetails about why the invoice was created
totalnumberTotal after discounts and taxes
total_discount_amountsarrayTotal discount amounts
total_excluding_taxnumberTotal excluding tax
total_tax_amountsarrayTotal tax amounts
transfer_datajsonData for creating transfers
webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_send_invoice

Отправить an invoice to the customer

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаInvoice ID (e.g., in_1234567890)

Выходные данные

ПараметрТипОписание
invoicejsonThe sent invoice object
metadatajsonInvoice metadata
idstringStripe unique identifier
statusstringCurrent state of the resource
amount_duenumberAmount remaining to be paid in smallest currency unit
currencystringThree-letter ISO currency code (lowercase)

stripe_list_invoices

Список всех invoices

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
customerstringНетFilter by customer ID
statusstringНетFilter by invoice status

Выходные данные

ПараметрТипОписание
invoicesjsonМассив invoice objects
metadatajsonList metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_invoices

Поиск invoices using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "customer:'cus_1234567890'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
invoicesjsonМассив matching invoice objects
metadatajsonSearch metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_create_charge

Создать новый charge to process a payment

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
amountnumberДаAmount in cents (e.g., 2000 for $20.00)
currencystringДаThree-letter ISO currency code (e.g., usd, eur)
customerstringНетCustomer ID to associate with this charge
sourcestringНетPayment source ID (e.g., card token or saved card ID)
descriptionstringНетDescription of the charge
metadatajsonНетSet of key-value pairs for storing additional information
capturebooleanНетWhether to immediately capture the charge (defaults to true)

Выходные данные

ПараметрТипОписание
chargejsonThe created Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)
paidbooleanWhether payment has been received

stripe_retrieve_charge

Получитьn existing charge от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаCharge ID (e.g., ch_1234567890)

Выходные данные

ПараметрТипОписание
chargejsonThe retrieved Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)
paidbooleanWhether payment has been received

stripe_update_charge

Обновитьn existing charge

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаCharge ID (e.g., ch_1234567890)
descriptionstringНетUpdated description
metadatajsonНетUpdated metadata

Выходные данные

ПараметрТипОписание
chargejsonThe updated Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)
paidbooleanWhether payment has been received

stripe_capture_charge

Capture an uncaptured charge

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаCharge ID (e.g., ch_1234567890)
amountnumberНетAmount to capture in cents (defaults to full amount)

Выходные данные

ПараметрТипОписание
chargejsonThe captured Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
idstringStripe unique identifier
statusstringCurrent state of the resource
amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)
paidbooleanWhether payment has been received

stripe_list_charges

Список всех charges

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
customerstringНетFilter by customer ID
createdjsonНетFilter by creation date (e.g., {"gt": 1633024800})

Выходные данные

ПараметрТипОписание
chargesjsonМассив Charge objects
metadatajsonList metadata including count and has_more
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_charges

Поиск charges using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "status:'succeeded' AND currency:'usd'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
chargesjsonМассив matching Charge objects
metadatajsonSearch metadata including count and has_more
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_create_product

Создать новый product object

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
namestringДаProduct name
descriptionstringНетProduct description
activebooleanНетПроизошла ли product is active
imagesjsonНетМассив image URLs for the product
metadatajsonНетSet of key-value pairs

Выходные данные

ПараметрТипОписание
productjsonThe created product object
metadatajsonProduct metadata
idstringStripe unique identifier
namestringDisplay name
activebooleanПроизошла ли resource is currently active

stripe_retrieve_product

Получитьn existing product от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаProduct ID (e.g., prod_1234567890)

Выходные данные

ПараметрТипОписание
productjsonThe retrieved product object
metadatajsonProduct metadata
idstringStripe unique identifier
namestringDisplay name
activebooleanПроизошла ли resource is currently active

stripe_update_product

Обновитьn existing product

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаProduct ID (e.g., prod_1234567890)
namestringНетUpdated product name
descriptionstringНетUpdated product description
activebooleanНетUpdated active status
imagesjsonНетUpdated array of image URLs
metadatajsonНетUpdated metadata

Выходные данные

ПараметрТипОписание
productjsonThe updated product object
metadatajsonProduct metadata
idstringStripe unique identifier
namestringDisplay name
activebooleanПроизошла ли resource is currently active

stripe_delete_product

Permanently delete a product

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаProduct ID (e.g., prod_1234567890)

Выходные данные

ПараметрТипОписание
deletedbooleanПроизошла ли product was deleted
idstringThe ID of the deleted product

stripe_list_products

Список всех products

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
activebooleanНетFilter by active status

Выходные данные

ПараметрТипОписание
productsjsonМассив product objects
metadatajsonList metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_products

Поиск products using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "name:'shirt'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
productsjsonМассив matching product objects
metadatajsonSearch metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_create_price

Создать новый price для a product

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
productstringДаProduct ID (e.g., prod_1234567890)
currencystringДаThree-letter ISO currency code (e.g., usd, eur)
unit_amountnumberНетAmount in cents (e.g., 1000 for $10.00)
recurringjsonНетRecurring billing configuration (interval: day/week/month/year)
metadatajsonНетSet of key-value pairs
billing_schemestringНетBilling scheme (per_unit or tiered)

Выходные данные

ПараметрТипОписание
pricejsonThe created price object
metadatajsonPrice metadata
idstringStripe unique identifier
productstringAssociated product ID
unit_amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_retrieve_price

Получитьn existing price от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPrice ID (e.g., price_1234567890)

Выходные данные

ПараметрТипОписание
pricejsonThe retrieved price object
metadatajsonPrice metadata
idstringStripe unique identifier
productstringAssociated product ID
unit_amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_update_price

Обновитьn existing price

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаPrice ID (e.g., price_1234567890)
activebooleanНетПроизошла ли price is active
metadatajsonНетUpdated metadata

Выходные данные

ПараметрТипОписание
pricejsonThe updated price object
metadatajsonPrice metadata
idstringStripe unique identifier
productstringAssociated product ID
unit_amountnumberAmount in smallest currency unit (e.g., cents)
currencystringThree-letter ISO currency code (lowercase)

stripe_list_prices

Список всех prices

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
productstringНетFilter by product ID
activebooleanНетFilter by active status

Выходные данные

ПараметрТипОписание
pricesjsonМассив price objects
metadatajsonList metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_search_prices

Поиск prices using запрос syntax

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
querystringДаSearch query (e.g., "active:'true' AND currency:'usd'")
limitnumberНетКоличество результатов для возврата (default 10, max 100)

Выходные данные

ПараметрТипОписание
pricesjsonМассив matching price objects
metadatajsonSearch metadata
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

stripe_retrieve_event

Получитьn existing Event от ID

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
idstringДаEvent ID (e.g., evt_1234567890)

Выходные данные

ПараметрТипОписание
eventjsonThe retrieved Event object
metadatajsonEvent metadata including ID, type, and created timestamp
idstringStripe unique identifier
typestringEvent type identifier
creatednumberUnix timestamp of creation

stripe_list_events

Список всех Events

Входные параметры

ПараметрТипОбязательныйОписание
apiKeystringДаStripe API key (secret key)
limitnumberНетКоличество результатов для возврата (default 10, max 100)
typestringНетFilter by event type (e.g., payment_intent.created)
createdjsonНетFilter by creation date (e.g., {"gt": 1633024800})

Выходные данные

ПараметрТипОписание
eventsjsonМассив Event objects
metadatajsonList metadata including count and has_more
countnumberNumber of items returned
has_morebooleanWhether more items exist beyond this page

On this page

Инструкции по использованию
Инструменты
stripe_create_payment_intent
Входные параметры
Выходные данные
stripe_retrieve_payment_intent
Входные параметры
Выходные данные
stripe_update_payment_intent
Входные параметры
Выходные данные
stripe_confirm_payment_intent
Входные параметры
Выходные данные
stripe_capture_payment_intent
Входные параметры
Выходные данные
stripe_cancel_payment_intent
Входные параметры
Выходные данные
stripe_list_payment_intents
Входные параметры
Выходные данные
stripe_search_payment_intents
Входные параметры
Выходные данные
stripe_create_customer
Входные параметры
Выходные данные
stripe_retrieve_customer
Входные параметры
Выходные данные
stripe_update_customer
Входные параметры
Выходные данные
stripe_delete_customer
Входные параметры
Выходные данные
stripe_list_customers
Входные параметры
Выходные данные
stripe_search_customers
Входные параметры
Выходные данные
stripe_create_subscription
Входные параметры
Выходные данные
stripe_retrieve_subscription
Входные параметры
Выходные данные
stripe_update_subscription
Входные параметры
Выходные данные
stripe_cancel_subscription
Входные параметры
Выходные данные
stripe_resume_subscription
Входные параметры
Выходные данные
stripe_list_subscriptions
Входные параметры
Выходные данные
stripe_search_subscriptions
Входные параметры
Выходные данные
stripe_create_invoice
Входные параметры
Выходные данные
stripe_retrieve_invoice
Входные параметры
Выходные данные
stripe_update_invoice
Входные параметры
Выходные данные
stripe_delete_invoice
Входные параметры
Выходные данные
stripe_finalize_invoice
Входные параметры
Выходные данные
stripe_pay_invoice
Входные параметры
Выходные данные
stripe_void_invoice
Входные параметры
Выходные данные
stripe_send_invoice
Входные параметры
Выходные данные
stripe_list_invoices
Входные параметры
Выходные данные
stripe_search_invoices
Входные параметры
Выходные данные
stripe_create_charge
Входные параметры
Выходные данные
stripe_retrieve_charge
Входные параметры
Выходные данные
stripe_update_charge
Входные параметры
Выходные данные
stripe_capture_charge
Входные параметры
Выходные данные
stripe_list_charges
Входные параметры
Выходные данные
stripe_search_charges
Входные параметры
Выходные данные
stripe_create_product
Входные параметры
Выходные данные
stripe_retrieve_product
Входные параметры
Выходные данные
stripe_update_product
Входные параметры
Выходные данные
stripe_delete_product
Входные параметры
Выходные данные
stripe_list_products
Входные параметры
Выходные данные
stripe_search_products
Входные параметры
Выходные данные
stripe_create_price
Входные параметры
Выходные данные
stripe_retrieve_price
Входные параметры
Выходные данные
stripe_update_price
Входные параметры
Выходные данные
stripe_list_prices
Входные параметры
Выходные данные
stripe_search_prices
Входные параметры
Выходные данные
stripe_retrieve_event
Входные параметры
Выходные данные
stripe_list_events
Входные параметры
Выходные данные
Начните создавать сегодня
Нам доверяют более 100 000 разработчиков.
SaaS-платформа для создания AI-агентов и управления агентным workforce.
Начать