import { type Options } from '@hey-api/client-fetch'; import type { GetAccountData, PostAccountLinksData, PostAccountSessionsData, GetAccountsData, GetAccountsResponse, PostAccountsData, DeleteAccountsAccountData, GetAccountsAccountData, PostAccountsAccountData, PostAccountsAccountBankAccountsData, DeleteAccountsAccountBankAccountsIdData, GetAccountsAccountBankAccountsIdData, PostAccountsAccountBankAccountsIdData, GetAccountsAccountCapabilitiesData, GetAccountsAccountCapabilitiesResponse, GetAccountsAccountCapabilitiesCapabilityData, PostAccountsAccountCapabilitiesCapabilityData, GetAccountsAccountExternalAccountsData, GetAccountsAccountExternalAccountsResponse, PostAccountsAccountExternalAccountsData, DeleteAccountsAccountExternalAccountsIdData, GetAccountsAccountExternalAccountsIdData, PostAccountsAccountExternalAccountsIdData, PostAccountsAccountLoginLinksData, GetAccountsAccountPeopleData, GetAccountsAccountPeopleResponse, PostAccountsAccountPeopleData, DeleteAccountsAccountPeoplePersonData, GetAccountsAccountPeoplePersonData, PostAccountsAccountPeoplePersonData, GetAccountsAccountPersonsData, GetAccountsAccountPersonsResponse, PostAccountsAccountPersonsData, DeleteAccountsAccountPersonsPersonData, GetAccountsAccountPersonsPersonData, PostAccountsAccountPersonsPersonData, PostAccountsAccountRejectData, GetApplePayDomainsData, GetApplePayDomainsResponse, PostApplePayDomainsData, DeleteApplePayDomainsDomainData, GetApplePayDomainsDomainData, GetApplicationFeesData, GetApplicationFeesResponse, GetApplicationFeesFeeRefundsIdData, PostApplicationFeesFeeRefundsIdData, GetApplicationFeesIdData, PostApplicationFeesIdRefundData, GetApplicationFeesIdRefundsData, GetApplicationFeesIdRefundsResponse, PostApplicationFeesIdRefundsData, GetAppsSecretsData, GetAppsSecretsResponse, PostAppsSecretsData, PostAppsSecretsDeleteData, GetAppsSecretsFindData, GetBalanceData, GetBalanceHistoryData, GetBalanceHistoryResponse, GetBalanceHistoryIdData, GetBalanceTransactionsData, GetBalanceTransactionsResponse, GetBalanceTransactionsIdData, PostBillingMeterEventAdjustmentsData, PostBillingMeterEventsData, GetBillingMetersData, GetBillingMetersResponse, PostBillingMetersData, GetBillingMetersIdData, PostBillingMetersIdData, PostBillingMetersIdDeactivateData, GetBillingMetersIdEventSummariesData, GetBillingMetersIdEventSummariesResponse, PostBillingMetersIdReactivateData, GetBillingPortalConfigurationsData, GetBillingPortalConfigurationsResponse, PostBillingPortalConfigurationsData, GetBillingPortalConfigurationsConfigurationData, PostBillingPortalConfigurationsConfigurationData, PostBillingPortalSessionsData, GetChargesData, GetChargesResponse, PostChargesData, GetChargesSearchData, GetChargesSearchResponse, GetChargesChargeData, PostChargesChargeData, PostChargesChargeCaptureData, GetChargesChargeDisputeData, PostChargesChargeDisputeData, PostChargesChargeDisputeCloseData, PostChargesChargeRefundData, GetChargesChargeRefundsData, GetChargesChargeRefundsResponse, PostChargesChargeRefundsData, GetChargesChargeRefundsRefundData, PostChargesChargeRefundsRefundData, GetCheckoutSessionsData, GetCheckoutSessionsResponse, PostCheckoutSessionsData, GetCheckoutSessionsSessionData, PostCheckoutSessionsSessionExpireData, GetCheckoutSessionsSessionLineItemsData, GetCheckoutSessionsSessionLineItemsResponse, GetClimateOrdersData, GetClimateOrdersResponse, PostClimateOrdersData, GetClimateOrdersOrderData, PostClimateOrdersOrderData, PostClimateOrdersOrderCancelData, GetClimateProductsData, GetClimateProductsResponse, GetClimateProductsProductData, GetClimateSuppliersData, GetClimateSuppliersResponse, GetClimateSuppliersSupplierData, GetConfirmationTokensConfirmationTokenData, GetCountrySpecsData, GetCountrySpecsResponse, GetCountrySpecsCountryData, GetCouponsData, GetCouponsResponse, PostCouponsData, DeleteCouponsCouponData, GetCouponsCouponData, PostCouponsCouponData, GetCreditNotesData, GetCreditNotesResponse, PostCreditNotesData, GetCreditNotesPreviewData, GetCreditNotesPreviewLinesData, GetCreditNotesPreviewLinesResponse, GetCreditNotesCreditNoteLinesData, GetCreditNotesCreditNoteLinesResponse, GetCreditNotesIdData, PostCreditNotesIdData, PostCreditNotesIdVoidData, PostCustomerSessionsData, GetCustomersData, GetCustomersResponse, PostCustomersData, GetCustomersSearchData, GetCustomersSearchResponse, DeleteCustomersCustomerData, GetCustomersCustomerData, GetCustomersCustomerResponse, PostCustomersCustomerData, GetCustomersCustomerBalanceTransactionsData, GetCustomersCustomerBalanceTransactionsResponse, PostCustomersCustomerBalanceTransactionsData, GetCustomersCustomerBalanceTransactionsTransactionData, PostCustomersCustomerBalanceTransactionsTransactionData, GetCustomersCustomerBankAccountsData, GetCustomersCustomerBankAccountsResponse, PostCustomersCustomerBankAccountsData, DeleteCustomersCustomerBankAccountsIdData, DeleteCustomersCustomerBankAccountsIdResponse, GetCustomersCustomerBankAccountsIdData, PostCustomersCustomerBankAccountsIdData, PostCustomersCustomerBankAccountsIdResponse, PostCustomersCustomerBankAccountsIdVerifyData, GetCustomersCustomerCardsData, GetCustomersCustomerCardsResponse, PostCustomersCustomerCardsData, DeleteCustomersCustomerCardsIdData, DeleteCustomersCustomerCardsIdResponse, GetCustomersCustomerCardsIdData, PostCustomersCustomerCardsIdData, PostCustomersCustomerCardsIdResponse, GetCustomersCustomerCashBalanceData, PostCustomersCustomerCashBalanceData, GetCustomersCustomerCashBalanceTransactionsData, GetCustomersCustomerCashBalanceTransactionsResponse, GetCustomersCustomerCashBalanceTransactionsTransactionData, DeleteCustomersCustomerDiscountData, GetCustomersCustomerDiscountData, PostCustomersCustomerFundingInstructionsData, GetCustomersCustomerPaymentMethodsData, GetCustomersCustomerPaymentMethodsResponse, GetCustomersCustomerPaymentMethodsPaymentMethodData, GetCustomersCustomerSourcesData, GetCustomersCustomerSourcesResponse, PostCustomersCustomerSourcesData, DeleteCustomersCustomerSourcesIdData, DeleteCustomersCustomerSourcesIdResponse, GetCustomersCustomerSourcesIdData, PostCustomersCustomerSourcesIdData, PostCustomersCustomerSourcesIdResponse, PostCustomersCustomerSourcesIdVerifyData, GetCustomersCustomerSubscriptionsData, GetCustomersCustomerSubscriptionsResponse, PostCustomersCustomerSubscriptionsData, DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdData, GetCustomersCustomerSubscriptionsSubscriptionExposedIdData, PostCustomersCustomerSubscriptionsSubscriptionExposedIdData, DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountData, GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountData, GetCustomersCustomerTaxIdsData, GetCustomersCustomerTaxIdsResponse, PostCustomersCustomerTaxIdsData, DeleteCustomersCustomerTaxIdsIdData, GetCustomersCustomerTaxIdsIdData, GetDisputesData, GetDisputesResponse, GetDisputesDisputeData, PostDisputesDisputeData, PostDisputesDisputeCloseData, GetEntitlementsActiveEntitlementsData, GetEntitlementsActiveEntitlementsResponse, GetEntitlementsActiveEntitlementsIdData, GetEntitlementsFeaturesData, GetEntitlementsFeaturesResponse, PostEntitlementsFeaturesData, GetEntitlementsFeaturesIdData, PostEntitlementsFeaturesIdData, PostEphemeralKeysData, DeleteEphemeralKeysKeyData, GetEventsData, GetEventsResponse, GetEventsIdData, GetExchangeRatesData, GetExchangeRatesResponse, GetExchangeRatesRateIdData, GetFileLinksData, GetFileLinksResponse, PostFileLinksData, GetFileLinksLinkData, PostFileLinksLinkData, GetFilesData, GetFilesResponse, PostFilesData, GetFilesFileData, GetFinancialConnectionsAccountsData, GetFinancialConnectionsAccountsResponse, GetFinancialConnectionsAccountsAccountData, PostFinancialConnectionsAccountsAccountDisconnectData, GetFinancialConnectionsAccountsAccountOwnersData, GetFinancialConnectionsAccountsAccountOwnersResponse, PostFinancialConnectionsAccountsAccountRefreshData, PostFinancialConnectionsAccountsAccountSubscribeData, PostFinancialConnectionsAccountsAccountUnsubscribeData, PostFinancialConnectionsSessionsData, GetFinancialConnectionsSessionsSessionData, GetFinancialConnectionsTransactionsData, GetFinancialConnectionsTransactionsResponse, GetFinancialConnectionsTransactionsTransactionData, GetForwardingRequestsData, GetForwardingRequestsResponse, PostForwardingRequestsData, GetForwardingRequestsIdData, GetIdentityVerificationReportsData, GetIdentityVerificationReportsResponse, GetIdentityVerificationReportsReportData, GetIdentityVerificationSessionsData, GetIdentityVerificationSessionsResponse, PostIdentityVerificationSessionsData, GetIdentityVerificationSessionsSessionData, PostIdentityVerificationSessionsSessionData, PostIdentityVerificationSessionsSessionCancelData, PostIdentityVerificationSessionsSessionRedactData, GetInvoiceitemsData, GetInvoiceitemsResponse, PostInvoiceitemsData, DeleteInvoiceitemsInvoiceitemData, GetInvoiceitemsInvoiceitemData, PostInvoiceitemsInvoiceitemData, GetInvoicesData, GetInvoicesResponse, PostInvoicesData, PostInvoicesCreatePreviewData, GetInvoicesSearchData, GetInvoicesSearchResponse, GetInvoicesUpcomingData, GetInvoicesUpcomingLinesData, GetInvoicesUpcomingLinesResponse, DeleteInvoicesInvoiceData, GetInvoicesInvoiceData, PostInvoicesInvoiceData, PostInvoicesInvoiceFinalizeData, GetInvoicesInvoiceLinesData, GetInvoicesInvoiceLinesResponse, PostInvoicesInvoiceLinesLineItemIdData, PostInvoicesInvoiceMarkUncollectibleData, PostInvoicesInvoicePayData, PostInvoicesInvoiceSendData, PostInvoicesInvoiceVoidData, GetIssuingAuthorizationsData, GetIssuingAuthorizationsResponse, GetIssuingAuthorizationsAuthorizationData, PostIssuingAuthorizationsAuthorizationData, PostIssuingAuthorizationsAuthorizationApproveData, PostIssuingAuthorizationsAuthorizationDeclineData, GetIssuingCardholdersData, GetIssuingCardholdersResponse, PostIssuingCardholdersData, GetIssuingCardholdersCardholderData, PostIssuingCardholdersCardholderData, GetIssuingCardsData, GetIssuingCardsResponse, PostIssuingCardsData, GetIssuingCardsCardData, PostIssuingCardsCardData, GetIssuingDisputesData, GetIssuingDisputesResponse, PostIssuingDisputesData, GetIssuingDisputesDisputeData, PostIssuingDisputesDisputeData, PostIssuingDisputesDisputeSubmitData, GetIssuingPersonalizationDesignsData, GetIssuingPersonalizationDesignsResponse, PostIssuingPersonalizationDesignsData, GetIssuingPersonalizationDesignsPersonalizationDesignData, PostIssuingPersonalizationDesignsPersonalizationDesignData, GetIssuingPhysicalBundlesData, GetIssuingPhysicalBundlesResponse, GetIssuingPhysicalBundlesPhysicalBundleData, GetIssuingSettlementsSettlementData, PostIssuingSettlementsSettlementData, GetIssuingTokensData, GetIssuingTokensResponse, GetIssuingTokensTokenData, PostIssuingTokensTokenData, GetIssuingTransactionsData, GetIssuingTransactionsResponse, GetIssuingTransactionsTransactionData, PostIssuingTransactionsTransactionData, PostLinkAccountSessionsData, GetLinkAccountSessionsSessionData, GetLinkedAccountsData, GetLinkedAccountsResponse, GetLinkedAccountsAccountData, PostLinkedAccountsAccountDisconnectData, GetLinkedAccountsAccountOwnersData, GetLinkedAccountsAccountOwnersResponse, PostLinkedAccountsAccountRefreshData, GetMandatesMandateData, GetPaymentIntentsData, GetPaymentIntentsResponse, PostPaymentIntentsData, GetPaymentIntentsSearchData, GetPaymentIntentsSearchResponse, GetPaymentIntentsIntentData, PostPaymentIntentsIntentData, PostPaymentIntentsIntentApplyCustomerBalanceData, PostPaymentIntentsIntentCancelData, PostPaymentIntentsIntentCaptureData, PostPaymentIntentsIntentConfirmData, PostPaymentIntentsIntentIncrementAuthorizationData, PostPaymentIntentsIntentVerifyMicrodepositsData, GetPaymentLinksData, GetPaymentLinksResponse, PostPaymentLinksData, GetPaymentLinksPaymentLinkData, PostPaymentLinksPaymentLinkData, GetPaymentLinksPaymentLinkLineItemsData, GetPaymentLinksPaymentLinkLineItemsResponse, GetPaymentMethodConfigurationsData, GetPaymentMethodConfigurationsResponse, PostPaymentMethodConfigurationsData, GetPaymentMethodConfigurationsConfigurationData, PostPaymentMethodConfigurationsConfigurationData, GetPaymentMethodDomainsData, GetPaymentMethodDomainsResponse, PostPaymentMethodDomainsData, GetPaymentMethodDomainsPaymentMethodDomainData, PostPaymentMethodDomainsPaymentMethodDomainData, PostPaymentMethodDomainsPaymentMethodDomainValidateData, GetPaymentMethodsData, GetPaymentMethodsResponse, PostPaymentMethodsData, GetPaymentMethodsPaymentMethodData, PostPaymentMethodsPaymentMethodData, PostPaymentMethodsPaymentMethodAttachData, PostPaymentMethodsPaymentMethodDetachData, GetPayoutsData, GetPayoutsResponse, PostPayoutsData, GetPayoutsPayoutData, PostPayoutsPayoutData, PostPayoutsPayoutCancelData, PostPayoutsPayoutReverseData, GetPlansData, GetPlansResponse, PostPlansData, DeletePlansPlanData, GetPlansPlanData, PostPlansPlanData, GetPricesData, GetPricesResponse, PostPricesData, GetPricesSearchData, GetPricesSearchResponse, GetPricesPriceData, PostPricesPriceData, GetProductsData, GetProductsResponse, PostProductsData, GetProductsSearchData, GetProductsSearchResponse, DeleteProductsIdData, GetProductsIdData, PostProductsIdData, GetProductsProductFeaturesData, GetProductsProductFeaturesResponse, PostProductsProductFeaturesData, DeleteProductsProductFeaturesIdData, GetProductsProductFeaturesIdData, GetPromotionCodesData, GetPromotionCodesResponse, PostPromotionCodesData, GetPromotionCodesPromotionCodeData, PostPromotionCodesPromotionCodeData, GetQuotesData, GetQuotesResponse, PostQuotesData, GetQuotesQuoteData, PostQuotesQuoteData, PostQuotesQuoteAcceptData, PostQuotesQuoteCancelData, GetQuotesQuoteComputedUpfrontLineItemsData, GetQuotesQuoteComputedUpfrontLineItemsResponse, PostQuotesQuoteFinalizeData, GetQuotesQuoteLineItemsData, GetQuotesQuoteLineItemsResponse, GetQuotesQuotePdfData, GetQuotesQuotePdfResponse, GetRadarEarlyFraudWarningsData, GetRadarEarlyFraudWarningsResponse, GetRadarEarlyFraudWarningsEarlyFraudWarningData, GetRadarValueListItemsData, GetRadarValueListItemsResponse, PostRadarValueListItemsData, DeleteRadarValueListItemsItemData, GetRadarValueListItemsItemData, GetRadarValueListsData, GetRadarValueListsResponse, PostRadarValueListsData, DeleteRadarValueListsValueListData, GetRadarValueListsValueListData, PostRadarValueListsValueListData, GetRefundsData, GetRefundsResponse, PostRefundsData, GetRefundsRefundData, PostRefundsRefundData, PostRefundsRefundCancelData, GetReportingReportRunsData, GetReportingReportRunsResponse, PostReportingReportRunsData, GetReportingReportRunsReportRunData, GetReportingReportTypesData, GetReportingReportTypesResponse, GetReportingReportTypesReportTypeData, GetReviewsData, GetReviewsResponse, GetReviewsReviewData, PostReviewsReviewApproveData, GetSetupAttemptsData, GetSetupAttemptsResponse, GetSetupIntentsData, GetSetupIntentsResponse, PostSetupIntentsData, GetSetupIntentsIntentData, PostSetupIntentsIntentData, PostSetupIntentsIntentCancelData, PostSetupIntentsIntentConfirmData, PostSetupIntentsIntentVerifyMicrodepositsData, GetShippingRatesData, GetShippingRatesResponse, PostShippingRatesData, GetShippingRatesShippingRateTokenData, PostShippingRatesShippingRateTokenData, GetSigmaScheduledQueryRunsData, GetSigmaScheduledQueryRunsResponse, GetSigmaScheduledQueryRunsScheduledQueryRunData, PostSourcesData, GetSourcesSourceData, PostSourcesSourceData, GetSourcesSourceMandateNotificationsMandateNotificationData, GetSourcesSourceSourceTransactionsData, GetSourcesSourceSourceTransactionsResponse, GetSourcesSourceSourceTransactionsSourceTransactionData, PostSourcesSourceVerifyData, GetSubscriptionItemsData, GetSubscriptionItemsResponse, PostSubscriptionItemsData, DeleteSubscriptionItemsItemData, GetSubscriptionItemsItemData, PostSubscriptionItemsItemData, GetSubscriptionItemsSubscriptionItemUsageRecordSummariesData, GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse, PostSubscriptionItemsSubscriptionItemUsageRecordsData, GetSubscriptionSchedulesData, GetSubscriptionSchedulesResponse, PostSubscriptionSchedulesData, GetSubscriptionSchedulesScheduleData, PostSubscriptionSchedulesScheduleData, PostSubscriptionSchedulesScheduleCancelData, PostSubscriptionSchedulesScheduleReleaseData, GetSubscriptionsData, GetSubscriptionsResponse, PostSubscriptionsData, GetSubscriptionsSearchData, GetSubscriptionsSearchResponse, DeleteSubscriptionsSubscriptionExposedIdData, GetSubscriptionsSubscriptionExposedIdData, PostSubscriptionsSubscriptionExposedIdData, DeleteSubscriptionsSubscriptionExposedIdDiscountData, PostSubscriptionsSubscriptionResumeData, PostTaxCalculationsData, GetTaxCalculationsCalculationLineItemsData, GetTaxCalculationsCalculationLineItemsResponse, GetTaxRegistrationsData, GetTaxRegistrationsResponse, PostTaxRegistrationsData, GetTaxRegistrationsIdData, PostTaxRegistrationsIdData, GetTaxSettingsData, PostTaxSettingsData, PostTaxTransactionsCreateFromCalculationData, PostTaxTransactionsCreateReversalData, GetTaxTransactionsTransactionData, GetTaxTransactionsTransactionLineItemsData, GetTaxTransactionsTransactionLineItemsResponse, GetTaxCodesData, GetTaxCodesResponse, GetTaxCodesIdData, GetTaxIdsData, GetTaxIdsResponse, PostTaxIdsData, DeleteTaxIdsIdData, GetTaxIdsIdData, GetTaxRatesData, GetTaxRatesResponse, PostTaxRatesData, GetTaxRatesTaxRateData, PostTaxRatesTaxRateData, GetTerminalConfigurationsData, GetTerminalConfigurationsResponse, PostTerminalConfigurationsData, DeleteTerminalConfigurationsConfigurationData, GetTerminalConfigurationsConfigurationData, GetTerminalConfigurationsConfigurationResponse, PostTerminalConfigurationsConfigurationData, PostTerminalConfigurationsConfigurationResponse, PostTerminalConnectionTokensData, GetTerminalLocationsData, GetTerminalLocationsResponse, PostTerminalLocationsData, DeleteTerminalLocationsLocationData, GetTerminalLocationsLocationData, GetTerminalLocationsLocationResponse, PostTerminalLocationsLocationData, PostTerminalLocationsLocationResponse, GetTerminalReadersData, GetTerminalReadersResponse, PostTerminalReadersData, DeleteTerminalReadersReaderData, GetTerminalReadersReaderData, GetTerminalReadersReaderResponse, PostTerminalReadersReaderData, PostTerminalReadersReaderResponse, PostTerminalReadersReaderCancelActionData, PostTerminalReadersReaderProcessPaymentIntentData, PostTerminalReadersReaderProcessSetupIntentData, PostTerminalReadersReaderRefundPaymentData, PostTerminalReadersReaderSetReaderDisplayData, PostTestHelpersConfirmationTokensData, PostTestHelpersCustomersCustomerFundCashBalanceData, PostTestHelpersIssuingAuthorizationsData, PostTestHelpersIssuingAuthorizationsAuthorizationCaptureData, PostTestHelpersIssuingAuthorizationsAuthorizationExpireData, PostTestHelpersIssuingAuthorizationsAuthorizationIncrementData, PostTestHelpersIssuingAuthorizationsAuthorizationReverseData, PostTestHelpersIssuingCardsCardShippingDeliverData, PostTestHelpersIssuingCardsCardShippingFailData, PostTestHelpersIssuingCardsCardShippingReturnData, PostTestHelpersIssuingCardsCardShippingShipData, PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivateData, PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivateData, PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignRejectData, PostTestHelpersIssuingTransactionsCreateForceCaptureData, PostTestHelpersIssuingTransactionsCreateUnlinkedRefundData, PostTestHelpersIssuingTransactionsTransactionRefundData, PostTestHelpersRefundsRefundExpireData, PostTestHelpersTerminalReadersReaderPresentPaymentMethodData, GetTestHelpersTestClocksData, GetTestHelpersTestClocksResponse, PostTestHelpersTestClocksData, DeleteTestHelpersTestClocksTestClockData, GetTestHelpersTestClocksTestClockData, PostTestHelpersTestClocksTestClockAdvanceData, PostTestHelpersTreasuryInboundTransfersIdFailData, PostTestHelpersTreasuryInboundTransfersIdReturnData, PostTestHelpersTreasuryInboundTransfersIdSucceedData, PostTestHelpersTreasuryOutboundPaymentsIdData, PostTestHelpersTreasuryOutboundPaymentsIdFailData, PostTestHelpersTreasuryOutboundPaymentsIdPostData, PostTestHelpersTreasuryOutboundPaymentsIdReturnData, PostTestHelpersTreasuryOutboundTransfersOutboundTransferData, PostTestHelpersTreasuryOutboundTransfersOutboundTransferFailData, PostTestHelpersTreasuryOutboundTransfersOutboundTransferPostData, PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturnData, PostTestHelpersTreasuryReceivedCreditsData, PostTestHelpersTreasuryReceivedDebitsData, PostTokensData, GetTokensTokenData, GetTopupsData, GetTopupsResponse, PostTopupsData, GetTopupsTopupData, PostTopupsTopupData, PostTopupsTopupCancelData, GetTransfersData, GetTransfersResponse, PostTransfersData, GetTransfersIdReversalsData, GetTransfersIdReversalsResponse, PostTransfersIdReversalsData, GetTransfersTransferData, PostTransfersTransferData, GetTransfersTransferReversalsIdData, PostTransfersTransferReversalsIdData, GetTreasuryCreditReversalsData, GetTreasuryCreditReversalsResponse, PostTreasuryCreditReversalsData, GetTreasuryCreditReversalsCreditReversalData, GetTreasuryDebitReversalsData, GetTreasuryDebitReversalsResponse, PostTreasuryDebitReversalsData, GetTreasuryDebitReversalsDebitReversalData, GetTreasuryFinancialAccountsData, GetTreasuryFinancialAccountsResponse, PostTreasuryFinancialAccountsData, GetTreasuryFinancialAccountsFinancialAccountData, PostTreasuryFinancialAccountsFinancialAccountData, GetTreasuryFinancialAccountsFinancialAccountFeaturesData, PostTreasuryFinancialAccountsFinancialAccountFeaturesData, GetTreasuryInboundTransfersData, GetTreasuryInboundTransfersResponse, PostTreasuryInboundTransfersData, GetTreasuryInboundTransfersIdData, PostTreasuryInboundTransfersInboundTransferCancelData, GetTreasuryOutboundPaymentsData, GetTreasuryOutboundPaymentsResponse, PostTreasuryOutboundPaymentsData, GetTreasuryOutboundPaymentsIdData, PostTreasuryOutboundPaymentsIdCancelData, GetTreasuryOutboundTransfersData, GetTreasuryOutboundTransfersResponse, PostTreasuryOutboundTransfersData, GetTreasuryOutboundTransfersOutboundTransferData, PostTreasuryOutboundTransfersOutboundTransferCancelData, GetTreasuryReceivedCreditsData, GetTreasuryReceivedCreditsResponse, GetTreasuryReceivedCreditsIdData, GetTreasuryReceivedDebitsData, GetTreasuryReceivedDebitsResponse, GetTreasuryReceivedDebitsIdData, GetTreasuryTransactionEntriesData, GetTreasuryTransactionEntriesResponse, GetTreasuryTransactionEntriesIdData, GetTreasuryTransactionsData, GetTreasuryTransactionsResponse, GetTreasuryTransactionsIdData, GetWebhookEndpointsData, GetWebhookEndpointsResponse, PostWebhookEndpointsData, DeleteWebhookEndpointsWebhookEndpointData, GetWebhookEndpointsWebhookEndpointData, PostWebhookEndpointsWebhookEndpointData } from './types.gen'; export declare const client: import("@hey-api/client-fetch").Client & import("@hey-api/client-fetch").Config & { headers: Headers; }>; /** *

Retrieves the details of an account.

*/ export declare const getAccount: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.

*/ export declare const postAccountLinks: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.

*/ export declare const postAccountSessions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.

*/ export declare const getAccounts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

With Connect, you can create Stripe accounts for your users. * To do this, you’ll first need to register your platform.

* *

If you’ve already collected information for your connected accounts, you can prefill that information when * creating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding. * You can prefill any information on the account.

*/ export declare const postAccounts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

With Connect, you can delete accounts you manage.

* *

Test-mode accounts can be deleted at any time.

* *

Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all balances are zero.

* *

If you want to delete your own account, use the account information tab in your account settings instead.

*/ export declare const deleteAccountsAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an account.

*/ export declare const getAccountsAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a connected account by setting the values of the parameters passed. Any parameters not provided are * left unchanged.

* *

For accounts where controller.requirement_collection * is application, which includes Custom accounts, you can update any information on the account.

* *

For accounts where controller.requirement_collection * is stripe, which includes Standard and Express accounts, you can update all information until you create * an Account Link or Account Session to start Connect onboarding, * after which some properties can no longer be updated.

* *

To update your own account, use the Dashboard. Refer to our * Connect documentation to learn more about updating accounts.

*/ export declare const postAccountsAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Create an external account for a given account.

*/ export declare const postAccountsAccountBankAccounts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete a specified external account for a given account.

*/ export declare const deleteAccountsAccountBankAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a specified external account for a given account.

*/ export declare const getAccountsAccountBankAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the metadata, account holder name, account holder type of a bank account belonging to * a connected account and optionally sets it as the default for its currency. Other bank account * details are not editable by design.

* *

You can only update bank accounts when account.controller.requirement_collection is application, which includes Custom accounts.

* *

You can re-enable a disabled bank account by performing an update call without providing any * arguments or changes.

*/ export declare const postAccountsAccountBankAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.

*/ export declare const getAccountsAccountCapabilities: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves information about the specified Account Capability.

*/ export declare const getAccountsAccountCapabilitiesCapability: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing Account Capability. Request or remove a capability by updating its requested parameter.

*/ export declare const postAccountsAccountCapabilitiesCapability: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List external accounts for an account.

*/ export declare const getAccountsAccountExternalAccounts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Create an external account for a given account.

*/ export declare const postAccountsAccountExternalAccounts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete a specified external account for a given account.

*/ export declare const deleteAccountsAccountExternalAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a specified external account for a given account.

*/ export declare const getAccountsAccountExternalAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the metadata, account holder name, account holder type of a bank account belonging to * a connected account and optionally sets it as the default for its currency. Other bank account * details are not editable by design.

* *

You can only update bank accounts when account.controller.requirement_collection is application, which includes Custom accounts.

* *

You can re-enable a disabled bank account by performing an update call without providing any * arguments or changes.

*/ export declare const postAccountsAccountExternalAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a single-use login link for a connected account to access the Express Dashboard.

* *

You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

*/ export declare const postAccountsAccountLoginLinks: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

*/ export declare const getAccountsAccountPeople: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new person.

*/ export declare const postAccountsAccountPeople: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

*/ export declare const deleteAccountsAccountPeoplePerson: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an existing person.

*/ export declare const getAccountsAccountPeoplePerson: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing person.

*/ export declare const postAccountsAccountPeoplePerson: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

*/ export declare const getAccountsAccountPersons: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new person.

*/ export declare const postAccountsAccountPersons: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

*/ export declare const deleteAccountsAccountPersonsPerson: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an existing person.

*/ export declare const getAccountsAccountPersonsPerson: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing person.

*/ export declare const postAccountsAccountPersonsPerson: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

With Connect, you can reject accounts that you have flagged as suspicious.

* *

Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.

*/ export declare const postAccountsAccountReject: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List apple pay domains.

*/ export declare const getApplePayDomains: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Create an apple pay domain.

*/ export declare const postApplePayDomains: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete an apple pay domain.

*/ export declare const deleteApplePayDomainsDomain: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve an apple pay domain.

*/ export declare const getApplePayDomainsDomain: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.

*/ export declare const getApplicationFees: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee.

*/ export declare const getApplicationFeesFeeRefundsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* *

This request only accepts metadata as an argument.

*/ export declare const postApplicationFeesFeeRefundsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.

*/ export declare const getApplicationFeesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; export declare const postApplicationFeesIdRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds.

*/ export declare const getApplicationFeesIdRefunds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Refunds an application fee that has previously been collected but not yet refunded. * Funds will be refunded to the Stripe account from which the fee was originally collected.

* *

You can optionally refund only part of an application fee. * You can do so multiple times, until the entire fee has been refunded.

* *

Once entirely refunded, an application fee can’t be refunded again. * This method will raise an error when called on an already-refunded application fee, * or when trying to refund more money than is left on an application fee.

*/ export declare const postApplicationFeesIdRefunds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List all secrets stored on the given scope.

*/ export declare const getAppsSecrets: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Create or replace a secret in the secret store.

*/ export declare const postAppsSecrets: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a secret from the secret store by name and scope.

*/ export declare const postAppsSecretsDelete: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Finds a secret in the secret store by name and scope.

*/ export declare const getAppsSecretsFind: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the current account balance, based on the authentication that was used to make the request. * For a sample request, see Accounting for negative balances.

*/ export declare const getBalance: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.

* *

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

*/ export declare const getBalanceHistory: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the balance transaction with the given ID.

* *

Note that this endpoint previously used the path /v1/balance/history/:id.

*/ export declare const getBalanceHistoryId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.

* *

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

*/ export declare const getBalanceTransactions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the balance transaction with the given ID.

* *

Note that this endpoint previously used the path /v1/balance/history/:id.

*/ export declare const getBalanceTransactionsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a billing meter event adjustment

*/ export declare const postBillingMeterEventAdjustments: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a billing meter event

*/ export declare const postBillingMeterEvents: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a list of billing meters.

*/ export declare const getBillingMeters: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a billing meter

*/ export declare const postBillingMeters: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a billing meter given an ID

*/ export declare const getBillingMetersId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a billing meter

*/ export declare const postBillingMetersId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deactivates a billing meter

*/ export declare const postBillingMetersIdDeactivate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a list of billing meter event summaries.

*/ export declare const getBillingMetersIdEventSummaries: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Reactivates a billing meter

*/ export declare const postBillingMetersIdReactivate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of configurations that describe the functionality of the customer portal.

*/ export declare const getBillingPortalConfigurations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a configuration that describes the functionality and behavior of a PortalSession

*/ export declare const postBillingPortalConfigurations: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a configuration that describes the functionality of the customer portal.

*/ export declare const getBillingPortalConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a configuration that describes the functionality of the customer portal.

*/ export declare const postBillingPortalConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a session of the customer portal.

*/ export declare const postBillingPortalSessions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent charges appearing first.

*/ export declare const getCharges: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

This method is no longer recommended—use the Payment Intents API * to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge * object used to request payment.

*/ export declare const postCharges: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for charges you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getChargesSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.

*/ export declare const getChargesCharge: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postChargesCharge: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.

* *

Uncaptured payments expire a set number of days after they are created (7 by default), after which they are marked as refunded and capture attempts will fail.

* *

Don’t use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

*/ export declare const postChargesChargeCapture: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a dispute for a specified charge.

*/ export declare const getChargesChargeDispute: (options: Options) => import("@hey-api/client-fetch").RequestResult; export declare const postChargesChargeDispute: (options: Options) => import("@hey-api/client-fetch").RequestResult; export declare const postChargesChargeDisputeClose: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new refund, you must specify either a Charge or a PaymentIntent object.

* *

This action refunds a previously created charge that’s not refunded yet. * Funds are refunded to the credit or debit card that’s originally charged.

* *

You can optionally refund only part of a charge. * You can repeat this until the entire charge is refunded.

* *

After you entirely refund a charge, you can’t refund it again. * This method raises an error when it’s called on an already-refunded charge, * or when you attempt to refund more money than is left on a charge.

*/ export declare const postChargesChargeRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds.

*/ export declare const getChargesChargeRefunds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

* *

Creating a new refund will refund a charge that has previously been created but not yet refunded. * Funds will be refunded to the credit or debit card that was originally charged.

* *

You can optionally refund only part of a charge. * You can do so multiple times, until the entire charge has been refunded.

* *

Once entirely refunded, a charge can’t be refunded again. * This method will raise an error when called on an already-refunded charge, * or when trying to refund more money than is left on a charge.

*/ export declare const postChargesChargeRefunds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing refund.

*/ export declare const getChargesChargeRefundsRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Update a specified refund.

*/ export declare const postChargesChargeRefundsRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Checkout Sessions.

*/ export declare const getCheckoutSessions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a Session object.

*/ export declare const postCheckoutSessions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Session object.

*/ export declare const getCheckoutSessionsSession: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A Session can be expired when it is in one of these statuses: open

* *

After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.

*/ export declare const postCheckoutSessionsSessionExpire: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ export declare const getCheckoutSessionsSessionLineItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all Climate order objects. The orders are returned sorted by creation date, with the * most recently created orders appearing first.

*/ export declare const getClimateOrders: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a Climate order object for a given Climate product. The order will be processed immediately * after creation and payment will be deducted your Stripe balance.

*/ export declare const postClimateOrders: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a Climate order object with the given ID.

*/ export declare const getClimateOrdersOrder: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified order by setting the values of the parameters passed.

*/ export declare const postClimateOrdersOrder: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the * reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier * might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe * provides 90 days advance notice and refunds the amount_total.

*/ export declare const postClimateOrdersOrderCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all available Climate product objects.

*/ export declare const getClimateProducts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a Climate product with the given ID.

*/ export declare const getClimateProductsProduct: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all available Climate supplier objects.

*/ export declare const getClimateSuppliers: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Climate supplier object.

*/ export declare const getClimateSuppliersSupplier: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an existing ConfirmationToken object

*/ export declare const getConfirmationTokensConfirmationToken: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all Country Spec objects available in the API.

*/ export declare const getCountrySpecs: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a Country Spec for a given Country code.

*/ export declare const getCountrySpecsCountry: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your coupons.

*/ export declare const getCoupons: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can create coupons easily via the coupon management page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.

* *

A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice’s subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it.

*/ export declare const postCoupons: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can delete coupons via the coupon management page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.

*/ export declare const deleteCouponsCoupon: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the coupon with the given ID.

*/ export declare const getCouponsCoupon: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.

*/ export declare const postCouponsCoupon: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of credit notes.

*/ export declare const getCreditNotes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Issue a credit note to adjust the amount of a finalized invoice. For a status=open invoice, a credit note reduces * its amount_due. For a status=paid invoice, a credit note does not affect its amount_due. Instead, it can result * in any combination of the following:

* *
    *
  • Refund: create a new refund (using refund_amount) or link an existing refund (using refund).
  • *
  • Customer balance credit: credit the customer’s balance (using credit_amount) which will be automatically applied to their next invoice when it’s finalized.
  • *
  • Outside of Stripe credit: record the amount that is or will be credited outside of Stripe (using out_of_band_amount).
  • *
* *

For post-payment credit notes the sum of the refund, credit and outside of Stripe amounts must equal the credit note total.

* *

You may issue multiple credit notes for an invoice. Each credit note will increment the invoice’s pre_payment_credit_notes_amount * or post_payment_credit_notes_amount depending on its status at the time of credit note creation.

*/ export declare const postCreditNotes: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Get a preview of a credit note without creating it.

*/ export declare const getCreditNotesPreview: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving a credit note preview, you’ll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.

*/ export declare const getCreditNotesPreviewLines: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving a credit note, you’ll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ export declare const getCreditNotesCreditNoteLines: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the credit note object with the given identifier.

*/ export declare const getCreditNotesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing credit note.

*/ export declare const postCreditNotesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Marks a credit note as void. Learn more about voiding credit notes.

*/ export declare const postCreditNotesIdVoid: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a customer session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources.

*/ export declare const postCustomerSessions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.

*/ export declare const getCustomers: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new customer object.

*/ export declare const postCustomers: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for customers you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getCustomersSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.

*/ export declare const deleteCustomersCustomer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Customer object.

*/ export declare const getCustomersCustomer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer’s active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer’s current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior.

* *

This request accepts mostly the same arguments as the customer creation call.

*/ export declare const postCustomersCustomer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of transactions that updated the customer’s balances.

*/ export declare const getCustomersCustomerBalanceTransactions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an immutable transaction that updates the customer’s credit balance.

*/ export declare const postCustomersCustomerBalanceTransactions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a specific customer balance transaction that updated the customer’s balances.

*/ export declare const getCustomersCustomerBalanceTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Most credit balance transaction fields are immutable, but you may update its description and metadata.

*/ export declare const postCustomersCustomerBalanceTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** * @deprecated *

You can see a list of the bank accounts belonging to a Customer. Note that the 10 most recent sources are always available by default on the Customer. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional bank accounts.

*/ export declare const getCustomersCustomerBankAccounts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new credit card, you must specify a customer or recipient on which to create it.

* *

If the card’s owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. * To change the default, you should update the customer to have a new default_source.

*/ export declare const postCustomersCustomerBankAccounts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete a specified source for a given customer.

*/ export declare const deleteCustomersCustomerBankAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** * @deprecated *

By default, you can see the 10 most recent sources stored on a Customer directly on the object, but you can also retrieve details about a specific bank account stored on the Stripe account.

*/ export declare const getCustomersCustomerBankAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Update a specified source for a given customer.

*/ export declare const postCustomersCustomerBankAccountsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Verify a specified bank account for a given customer.

*/ export declare const postCustomersCustomerBankAccountsIdVerify: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** * @deprecated *

You can see a list of the cards belonging to a customer. * Note that the 10 most recent sources are always available on the Customer object. * If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional cards.

*/ export declare const getCustomersCustomerCards: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new credit card, you must specify a customer or recipient on which to create it.

* *

If the card’s owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. * To change the default, you should update the customer to have a new default_source.

*/ export declare const postCustomersCustomerCards: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete a specified source for a given customer.

*/ export declare const deleteCustomersCustomerCardsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** * @deprecated *

You can always see the 10 most recent cards directly on a customer; this method lets you retrieve details about a specific card stored on the customer.

*/ export declare const getCustomersCustomerCardsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Update a specified source for a given customer.

*/ export declare const postCustomersCustomerCardsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a customer’s cash balance.

*/ export declare const getCustomersCustomerCashBalance: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Changes the settings on a customer’s cash balance.

*/ export declare const postCustomersCustomerCashBalance: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of transactions that modified the customer’s cash balance.

*/ export declare const getCustomersCustomerCashBalanceTransactions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a specific cash balance transaction, which updated the customer’s cash balance.

*/ export declare const getCustomersCustomerCashBalanceTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Removes the currently applied discount on a customer.

*/ export declare const deleteCustomersCustomerDiscount: (options: Options) => import("@hey-api/client-fetch").RequestResult; export declare const getCustomersCustomerDiscount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new * funding instructions will be created. If funding instructions have already been created for a given customer, the same * funding instructions will be retrieved. In other words, we will return the same funding instructions each time.

*/ export declare const postCustomersCustomerFundingInstructions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of PaymentMethods for a given Customer

*/ export declare const getCustomersCustomerPaymentMethods: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a PaymentMethod object for a given Customer.

*/ export declare const getCustomersCustomerPaymentMethodsPaymentMethod: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List sources for a specified customer.

*/ export declare const getCustomersCustomerSources: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new credit card, you must specify a customer or recipient on which to create it.

* *

If the card’s owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. * To change the default, you should update the customer to have a new default_source.

*/ export declare const postCustomersCustomerSources: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete a specified source for a given customer.

*/ export declare const deleteCustomersCustomerSourcesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a specified source for a given customer.

*/ export declare const getCustomersCustomerSourcesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Update a specified source for a given customer.

*/ export declare const postCustomersCustomerSourcesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Verify a specified bank account for a given customer.

*/ export declare const postCustomersCustomerSourcesIdVerify: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can see a list of the customer’s active subscriptions. Note that the 10 most recent active subscriptions are always available by default on the customer object. If you need more than those 10, you can use the limit and starting_after parameters to page through additional subscriptions.

*/ export declare const getCustomersCustomerSubscriptions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new subscription on an existing customer.

*/ export declare const postCustomersCustomerSubscriptions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels a customer’s subscription. If you set the at_period_end parameter to true, the subscription will remain active until the end of the period, at which point it will be canceled and not renewed. Otherwise, with the default false value, the subscription is terminated immediately. In either case, the customer will not be charged again for the subscription.

* *

Note, however, that any pending invoice items that you’ve created will still be charged for at the end of the period, unless manually deleted. If you’ve set the subscription to cancel at the end of the period, any pending prorations will also be left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations will be removed.

* *

By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.

*/ export declare const deleteCustomersCustomerSubscriptionsSubscriptionExposedId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the subscription with the given ID.

*/ export declare const getCustomersCustomerSubscriptionsSubscriptionExposedId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the upcoming invoice endpoint.

*/ export declare const postCustomersCustomerSubscriptionsSubscriptionExposedId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Removes the currently applied discount on a customer.

*/ export declare const deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount: (options: Options) => import("@hey-api/client-fetch").RequestResult; export declare const getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of tax IDs for a customer.

*/ export declare const getCustomersCustomerTaxIds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new tax_id object for a customer.

*/ export declare const postCustomersCustomerTaxIds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes an existing tax_id object.

*/ export declare const deleteCustomersCustomerTaxIdsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the tax_id object with the given identifier.

*/ export declare const getCustomersCustomerTaxIdsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your disputes.

*/ export declare const getDisputes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the dispute with the given ID.

*/ export declare const getDisputesDispute: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your dashboard, but if you prefer, you can use the API to submit evidence programmatically.

* *

Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our guide to dispute types.

*/ export declare const postDisputesDispute: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.

* *

The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible.

*/ export declare const postDisputesDisputeClose: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a list of active entitlements for a customer

*/ export declare const getEntitlementsActiveEntitlements: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve an active entitlement

*/ export declare const getEntitlementsActiveEntitlementsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a list of features

*/ export declare const getEntitlementsFeatures: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a feature

*/ export declare const postEntitlementsFeatures: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a feature

*/ export declare const getEntitlementsFeaturesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Update a feature’s metadata or permanently deactivate it.

*/ export declare const postEntitlementsFeaturesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a short-lived API key for a given resource.

*/ export declare const postEphemeralKeys: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Invalidates a short-lived API key for a given resource.

*/ export declare const deleteEphemeralKeysKey: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header).

*/ export declare const getEvents: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an event. Supply the unique identifier of the event, which you might have received in a webhook.

*/ export declare const getEventsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.

*/ export declare const getExchangeRates: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the exchange rates from the given currency to every supported currency.

*/ export declare const getExchangeRatesRateId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of file links.

*/ export declare const getFileLinks: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new file link object.

*/ export declare const postFileLinks: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the file link with the given ID.

*/ export declare const getFileLinksLink: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing file link object. Expired links can no longer be updated.

*/ export declare const postFileLinksLink: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top.

*/ export declare const getFiles: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

To upload a file to Stripe, you need to send a request of type multipart/form-data. Include the file you want to upload in the request, and the parameters for creating a file.

* *

All of Stripe’s officially supported Client libraries support sending multipart/form-data.

*/ export declare const postFiles: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to access file contents.

*/ export declare const getFilesFile: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Financial Connections Account objects.

*/ export declare const getFinancialConnectionsAccounts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an Financial Connections Account.

*/ export declare const getFinancialConnectionsAccountsAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

*/ export declare const postFinancialConnectionsAccountsAccountDisconnect: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all owners for a given Account

*/ export declare const getFinancialConnectionsAccountsAccountOwners: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Refreshes the data associated with a Financial Connections Account.

*/ export declare const postFinancialConnectionsAccountsAccountRefresh: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Subscribes to periodic refreshes of data associated with a Financial Connections Account.

*/ export declare const postFinancialConnectionsAccountsAccountSubscribe: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.

*/ export declare const postFinancialConnectionsAccountsAccountUnsubscribe: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

*/ export declare const postFinancialConnectionsSessions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a Financial Connections Session

*/ export declare const getFinancialConnectionsSessionsSession: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Financial Connections Transaction objects.

*/ export declare const getFinancialConnectionsTransactions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a Financial Connections Transaction

*/ export declare const getFinancialConnectionsTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all ForwardingRequest objects.

*/ export declare const getForwardingRequests: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a ForwardingRequest object.

*/ export declare const postForwardingRequests: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a ForwardingRequest object.

*/ export declare const getForwardingRequestsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List all verification reports.

*/ export declare const getIdentityVerificationReports: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an existing VerificationReport

*/ export declare const getIdentityVerificationReportsReport: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of VerificationSessions

*/ export declare const getIdentityVerificationSessions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a VerificationSession object.

* *

After the VerificationSession is created, display a verification modal using the session client_secret or send your users to the session’s url.

* *

If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.

* *

Related guide: Verify your users’ identity documents

*/ export declare const postIdentityVerificationSessions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a VerificationSession that was previously created.

* *

When the session status is requires_input, you can use this method to retrieve a valid * client_secret or url to allow re-submission.

*/ export declare const getIdentityVerificationSessionsSession: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a VerificationSession object.

* *

When the session status is requires_input, you can use this method to update the * verification check and options.

*/ export declare const postIdentityVerificationSessionsSession: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A VerificationSession object can be canceled when it is in requires_input status.

* *

Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.

*/ export declare const postIdentityVerificationSessionsSessionCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Redact a VerificationSession to remove all collected information from Stripe. This will redact * the VerificationSession and all objects related to it, including VerificationReports, Events, * request logs, etc.

* *

A VerificationSession object can be redacted when it is in requires_input or verified * status. Redacting a VerificationSession in requires_action * state will automatically cancel it.

* *

The redaction process may take up to four days. When the redaction process is in progress, the * VerificationSession’s redaction.status field will be set to processing; when the process is * finished, it will change to redacted and an identity.verification_session.redacted event * will be emitted.

* *

Redaction is irreversible. Redacted objects are still accessible in the Stripe API, but all the * fields that contain personal data will be replaced by the string [redacted] or a similar * placeholder. The metadata field will also be erased. Redacted objects cannot be updated or * used for any purpose.

* *

Learn more.

*/ export declare const postIdentityVerificationSessionsSessionRedact: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.

*/ export declare const getInvoiceitems: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified.

*/ export declare const postInvoiceitems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.

*/ export declare const deleteInvoiceitemsInvoiceitem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the invoice item with the given ID.

*/ export declare const getInvoiceitemsInvoiceitem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.

*/ export declare const postInvoiceitemsInvoiceitem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.

*/ export declare const getInvoices: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you finalize the invoice, which allows you to pay or send the invoice to your customers.

*/ export declare const postInvoices: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

* *

Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.

* *

You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

* *

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. Learn more

*/ export declare const postInvoicesCreatePreview: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for invoices you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getInvoicesSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

* *

Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.

* *

You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

* *

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. Learn more

*/ export declare const getInvoicesUpcoming: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving an upcoming invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ export declare const getInvoicesUpcomingLines: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.

*/ export declare const deleteInvoicesInvoice: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the invoice with the given ID.

*/ export declare const getInvoicesInvoice: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Draft invoices are fully editable. Once an invoice is finalized, * monetary values, as well as collection_method, become uneditable.

* *

If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, * sending reminders for, or automatically reconciling invoices, pass * auto_advance=false.

*/ export declare const postInvoicesInvoice: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you’d like to finalize a draft invoice manually, you can do so using this method.

*/ export declare const postInvoicesInvoiceFinalize: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ export declare const getInvoicesInvoiceLines: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, * so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice * item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. * Updating an invoice’s line item is only possible before the invoice is finalized.

*/ export declare const postInvoicesInvoiceLinesLineItemId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.

*/ export declare const postInvoicesInvoiceMarkUncollectible: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.

*/ export declare const postInvoicesInvoicePay: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Stripe will automatically send invoices to customers according to your subscriptions settings. However, if you’d like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

* *

Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.

*/ export declare const postInvoicesInvoiceSend: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to deletion, however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

* *

Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you’re doing business in. You might need to issue another invoice or credit note instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.

*/ export declare const postInvoicesInvoiceVoid: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingAuthorizations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Authorization object.

*/ export declare const getIssuingAuthorizationsAuthorization: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postIssuingAuthorizationsAuthorization: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** * @deprecated *

[Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the real-time authorization flow. * This method is deprecated. Instead, respond directly to the webhook request to approve an authorization.

*/ export declare const postIssuingAuthorizationsAuthorizationApprove: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** * @deprecated *

[Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the real time authorization flow. * This method is deprecated. Instead, respond directly to the webhook request to decline an authorization.

*/ export declare const postIssuingAuthorizationsAuthorizationDecline: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingCardholders: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new Issuing Cardholder object that can be issued cards.

*/ export declare const postIssuingCardholders: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Cardholder object.

*/ export declare const getIssuingCardholdersCardholder: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postIssuingCardholdersCardholder: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingCards: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an Issuing Card object.

*/ export declare const postIssuingCards: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Card object.

*/ export declare const getIssuingCardsCard: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postIssuingCardsCard: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingDisputes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to Dispute reasons and evidence for more details about evidence requirements.

*/ export declare const postIssuingDisputes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Dispute object.

*/ export declare const getIssuingDisputesDispute: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string.

*/ export declare const postIssuingDisputesDispute: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute’s reason are present. For more details, see Dispute reasons and evidence.

*/ export declare const postIssuingDisputesDisputeSubmit: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingPersonalizationDesigns: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a personalization design object.

*/ export declare const postIssuingPersonalizationDesigns: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a personalization design object.

*/ export declare const getIssuingPersonalizationDesignsPersonalizationDesign: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a card personalization object.

*/ export declare const postIssuingPersonalizationDesignsPersonalizationDesign: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingPhysicalBundles: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a physical bundle object.

*/ export declare const getIssuingPhysicalBundlesPhysicalBundle: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Settlement object.

*/ export declare const getIssuingSettlementsSettlement: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified Issuing Settlement object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postIssuingSettlementsSettlement: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all Issuing Token objects for a given card.

*/ export declare const getIssuingTokens: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Token object.

*/ export declare const getIssuingTokensToken: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Attempts to update the specified Issuing Token object to the status specified.

*/ export declare const postIssuingTokensToken: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getIssuingTransactions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an Issuing Transaction object.

*/ export declare const getIssuingTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postIssuingTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

*/ export declare const postLinkAccountSessions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a Financial Connections Session

*/ export declare const getLinkAccountSessionsSession: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Financial Connections Account objects.

*/ export declare const getLinkedAccounts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an Financial Connections Account.

*/ export declare const getLinkedAccountsAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

*/ export declare const postLinkedAccountsAccountDisconnect: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists all owners for a given Account

*/ export declare const getLinkedAccountsAccountOwners: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Refreshes the data associated with a Financial Connections Account.

*/ export declare const postLinkedAccountsAccountRefresh: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Mandate object.

*/ export declare const getMandatesMandate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of PaymentIntents.

*/ export declare const getPaymentIntents: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a PaymentIntent object.

* *

After the PaymentIntent is created, attach a payment method and confirm * to continue the payment. Learn more about the available payment flows * with the Payment Intents API.

* *

When you use confirm=true during creation, it’s equivalent to creating * and confirming the PaymentIntent in the same call. You can use any parameters * available in the confirm API when you supply * confirm=true.

*/ export declare const postPaymentIntents: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for PaymentIntents you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getPaymentIntentsSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a PaymentIntent that has previously been created.

* *

You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.

* *

If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the payment intent object reference for more details.

*/ export declare const getPaymentIntentsIntent: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates properties on a PaymentIntent object without confirming.

* *

Depending on which properties you update, you might need to confirm the * PaymentIntent again. For example, updating the payment_method * always requires you to confirm the PaymentIntent again. If you prefer to * update and confirm at the same time, we recommend updating properties through * the confirm API instead.

*/ export declare const postPaymentIntentsIntent: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Manually reconcile the remaining amount for a customer_balance PaymentIntent.

*/ export declare const postPaymentIntentsIntentApplyCustomerBalance: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can cancel a PaymentIntent object when it’s in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, in rare cases, processing.

* *

After it’s canceled, no additional charges are made by the PaymentIntent and any operations on the PaymentIntent fail with an error. For PaymentIntents with a status of requires_capture, the remaining amount_capturable is automatically refunded.

* *

You can’t cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session instead.

*/ export declare const postPaymentIntentsIntentCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture.

* *

Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.

* *

Learn more about separate authorization and capture.

*/ export declare const postPaymentIntentsIntentCapture: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Confirm that your customer intends to pay with current or provided * payment method. Upon confirmation, the PaymentIntent will attempt to initiate * a payment. * If the selected payment method requires additional authentication steps, the * PaymentIntent will transition to the requires_action status and * suggest additional actions via next_action. If payment fails, * the PaymentIntent transitions to the requires_payment_method status or the * canceled status if the confirmation limit is reached. If * payment succeeds, the PaymentIntent will transition to the succeeded * status (or requires_capture, if capture_method is set to manual). * If the confirmation_method is automatic, payment may be attempted * using our client SDKs * and the PaymentIntent’s client_secret. * After next_actions are handled by the client, no additional * confirmation is required to complete the payment. * If the confirmation_method is manual, all payment attempts must be * initiated using a secret key. * If any actions are required for the payment, the PaymentIntent will * return to the requires_confirmation state * after those actions are completed. Your server needs to then * explicitly re-confirm the PaymentIntent to initiate the next payment * attempt.

*/ export declare const postPaymentIntentsIntentConfirm: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Perform an incremental authorization on an eligible * PaymentIntent. To be eligible, the * PaymentIntent’s status must be requires_capture and * incremental_authorization_supported * must be true.

* *

Incremental authorizations attempt to increase the authorized amount on * your customer’s card to the new, higher amount provided. Similar to the * initial authorization, incremental authorizations can be declined. A * single PaymentIntent can call this endpoint multiple times to further * increase the authorized amount.

* *

If the incremental authorization succeeds, the PaymentIntent object * returns with the updated * amount. * If the incremental authorization fails, a * card_declined error returns, and no other * fields on the PaymentIntent or Charge update. The PaymentIntent * object remains capturable for the previously authorized amount.

* *

Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines. * After it’s captured, a PaymentIntent can no longer be incremented.

* *

Learn more about incremental authorizations.

*/ export declare const postPaymentIntentsIntentIncrementAuthorization: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Verifies microdeposits on a PaymentIntent object.

*/ export declare const postPaymentIntentsIntentVerifyMicrodeposits: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your payment links.

*/ export declare const getPaymentLinks: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a payment link.

*/ export declare const postPaymentLinks: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a payment link.

*/ export declare const getPaymentLinksPaymentLink: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a payment link.

*/ export declare const postPaymentLinksPaymentLink: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ export declare const getPaymentLinksPaymentLinkLineItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List payment method configurations

*/ export declare const getPaymentMethodConfigurations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a payment method configuration

*/ export declare const postPaymentMethodConfigurations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve payment method configuration

*/ export declare const getPaymentMethodConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Update payment method configuration

*/ export declare const postPaymentMethodConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Lists the details of existing payment method domains.

*/ export declare const getPaymentMethodDomains: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a payment method domain.

*/ export declare const postPaymentMethodDomains: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing payment method domain.

*/ export declare const getPaymentMethodDomainsPaymentMethodDomain: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing payment method domain.

*/ export declare const postPaymentMethodDomainsPaymentMethodDomain: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. * The payment method doesn’t appear in Elements for this domain until it is active.

* *

To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.

* *

Related guides: Payment method domains.

*/ export declare const postPaymentMethodDomainsPaymentMethodDomainValidate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the List a Customer’s PaymentMethods API instead.

*/ export declare const getPaymentMethods: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a PaymentMethod object. Read the Stripe.js reference to learn how to create PaymentMethods via Stripe.js.

* *

Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents API to accept a payment immediately or the SetupIntent API to collect payment method details ahead of a future payment.

*/ export declare const postPaymentMethods: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use Retrieve a Customer’s PaymentMethods

*/ export declare const getPaymentMethodsPaymentMethod: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.

*/ export declare const postPaymentMethodsPaymentMethod: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Attaches a PaymentMethod object to a Customer.

* *

To attach a new PaymentMethod to a customer for future payments, we recommend you use a SetupIntent * or a PaymentIntent with setup_future_usage. * These approaches will perform any necessary steps to set up the PaymentMethod for future payments. Using the /v1/payment_methods/:id/attach * endpoint without first using a SetupIntent or PaymentIntent with setup_future_usage does not optimize the PaymentMethod for * future use, which makes later declines and payment friction more likely. * See Optimizing cards for future payments for more information about setting up * future payments.

* *

To use this PaymentMethod as the default for invoice or subscription payments, * set invoice_settings.default_payment_method, * on the Customer to the PaymentMethod’s ID.

*/ export declare const postPaymentMethodsPaymentMethodAttach: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer.

*/ export declare const postPaymentMethodsPaymentMethodDetach: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.

*/ export declare const getPayouts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

To send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.

* *

If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode.

* *

If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type.

*/ export declare const postPayouts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.

*/ export declare const getPayoutsPayout: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.

*/ export declare const postPayoutsPayout: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.

*/ export declare const postPayoutsPayoutCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead.

* *

By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.

*/ export declare const postPayoutsPayoutReverse: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your plans.

*/ export declare const getPlans: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

*/ export declare const postPlans: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.

*/ export declare const deletePlansPlan: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the plan with the given ID.

*/ export declare const getPlansPlan: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan’s ID, amount, currency, or billing cycle.

*/ export declare const postPlansPlan: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your active prices, excluding inline prices. For the list of inactive prices, set active to false.

*/ export declare const getPrices: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new price for an existing product. The price can be recurring or one-time.

*/ export declare const postPrices: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for prices you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getPricesSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the price with the given ID.

*/ export declare const getPricesPrice: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.

*/ export declare const postPricesPrice: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.

*/ export declare const getProducts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new product object.

*/ export declare const postProducts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for products you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getProductsSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.

*/ export declare const deleteProductsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.

*/ export declare const getProductsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postProductsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve a list of features for a product

*/ export declare const getProductsProductFeatures: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a product_feature, which represents a feature attachment to a product

*/ export declare const postProductsProductFeatures: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes the feature attachment to a product

*/ export declare const deleteProductsProductFeaturesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a product_feature, which represents a feature attachment to a product

*/ export declare const getProductsProductFeaturesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your promotion codes.

*/ export declare const getPromotionCodes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, and expiration date.

*/ export declare const postPromotionCodes: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use list with the desired code.

*/ export declare const getPromotionCodesPromotionCode: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.

*/ export declare const postPromotionCodesPromotionCode: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your quotes.

*/ export declare const getQuotes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the quote template.

*/ export declare const postQuotes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the quote with the given ID.

*/ export declare const getQuotesQuote: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A quote models prices and services for a customer.

*/ export declare const postQuotesQuote: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Accepts the specified quote.

*/ export declare const postQuotesQuoteAccept: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels the quote.

*/ export declare const postQuotesQuoteCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.

*/ export declare const getQuotesQuoteComputedUpfrontLineItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Finalizes the quote.

*/ export declare const postQuotesQuoteFinalize: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ export declare const getQuotesQuoteLineItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Download the PDF for a finalized quote. Explanation for special handling can be found here

*/ export declare const getQuotesQuotePdf: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of early fraud warnings.

*/ export declare const getRadarEarlyFraudWarnings: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an early fraud warning that has previously been created.

* *

Please refer to the early fraud warning object reference for more details.

*/ export declare const getRadarEarlyFraudWarningsEarlyFraudWarning: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getRadarValueListItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new ValueListItem object, which is added to the specified parent value list.

*/ export declare const postRadarValueListItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a ValueListItem object, removing it from its parent value list.

*/ export declare const deleteRadarValueListItemsItem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a ValueListItem object.

*/ export declare const getRadarValueListItemsItem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getRadarValueLists: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new ValueList object, which can then be referenced in rules.

*/ export declare const postRadarValueLists: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.

*/ export declare const deleteRadarValueListsValueList: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a ValueList object.

*/ export declare const getRadarValueListsValueList: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable.

*/ export declare const postRadarValueListsValueList: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first The 10 most recent refunds are always available by default on the Charge object.

*/ export declare const getRefunds: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

* *

Creating a new refund will refund a charge that has previously been created but not yet refunded. * Funds will be refunded to the credit or debit card that was originally charged.

* *

You can optionally refund only part of a charge. * You can do so multiple times, until the entire charge has been refunded.

* *

Once entirely refunded, a charge can’t be refunded again. * This method will raise an error when called on an already-refunded charge, * or when trying to refund more money than is left on a charge.

*/ export declare const postRefunds: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing refund.

*/ export declare const getRefundsRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don’t provide remain unchanged.

* *

This request only accepts metadata as an argument.

*/ export declare const postRefundsRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels a refund with a status of requires_action.

* *

You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state.

*/ export declare const postRefundsRefundCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Report Runs, with the most recent appearing first.

*/ export declare const getReportingReportRuns: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

*/ export declare const postReportingReportRuns: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing Report Run.

*/ export declare const getReportingReportRunsReportRun: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a full list of Report Types.

*/ export declare const getReportingReportTypes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

*/ export declare const getReportingReportTypesReportType: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ export declare const getReviews: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Review object.

*/ export declare const getReviewsReview: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Approves a Review object, closing it and removing it from the list of reviews.

*/ export declare const postReviewsReviewApprove: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of SetupAttempts that associate with a provided SetupIntent.

*/ export declare const getSetupAttempts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of SetupIntents.

*/ export declare const getSetupIntents: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a SetupIntent object.

* *

After you create the SetupIntent, attach a payment method and confirm * it to collect any required permissions to charge the payment method later.

*/ export declare const postSetupIntents: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a SetupIntent that has previously been created.

* *

Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string.

* *

When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the SetupIntent object reference for more details.

*/ export declare const getSetupIntentsIntent: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a SetupIntent object.

*/ export declare const postSetupIntentsIntent: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can cancel a SetupIntent object when it’s in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.

* *

After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session instead.

*/ export declare const postSetupIntentsIntentCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Confirm that your customer intends to set up the current or * provided payment method. For example, you would confirm a SetupIntent * when a customer hits the “Save” button on a payment method management * page on your website.

* *

If the selected payment method does not require any additional * steps from the customer, the SetupIntent will transition to the * succeeded status.

* *

Otherwise, it will transition to the requires_action status and * suggest additional actions via next_action. If setup fails, * the SetupIntent will transition to the * requires_payment_method status or the canceled status if the * confirmation limit is reached.

*/ export declare const postSetupIntentsIntentConfirm: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Verifies microdeposits on a SetupIntent object.

*/ export declare const postSetupIntentsIntentVerifyMicrodeposits: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your shipping rates.

*/ export declare const getShippingRates: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new shipping rate object.

*/ export declare const postShippingRates: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns the shipping rate object with the given ID.

*/ export declare const getShippingRatesShippingRateToken: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing shipping rate object.

*/ export declare const postShippingRatesShippingRateToken: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of scheduled query runs.

*/ export declare const getSigmaScheduledQueryRuns: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an scheduled query run.

*/ export declare const getSigmaScheduledQueryRunsScheduledQueryRun: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new source object.

*/ export declare const postSources: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information.

*/ export declare const getSourcesSource: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* *

This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our payment method guides for more detail.

*/ export declare const postSourcesSource: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a new Source MandateNotification.

*/ export declare const getSourcesSourceMandateNotificationsMandateNotification: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

List source transactions for a given source.

*/ export declare const getSourcesSourceSourceTransactions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieve an existing source transaction object. Supply the unique source ID from a source creation request and the source transaction ID and Stripe will return the corresponding up-to-date source object information.

*/ export declare const getSourcesSourceSourceTransactionsSourceTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Verify a given source.

*/ export declare const postSourcesSourceVerify: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your subscription items for a given subscription.

*/ export declare const getSubscriptionItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Adds a new item to an existing subscription. No existing items will be changed or replaced.

*/ export declare const postSubscriptionItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.

*/ export declare const deleteSubscriptionItemsItem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the subscription item with the given ID.

*/ export declare const getSubscriptionItemsItem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the plan or quantity of an item on a current subscription.

*/ export declare const postSubscriptionItemsItem: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

* *

The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

*/ export declare const getSubscriptionItemsSubscriptionItemUsageRecordSummaries: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a usage record for a specified subscription item and date, and fills it with a quantity.

* *

Usage records provide quantity information that Stripe uses to track how much a customer is using your service. With usage information and the pricing model set up by the metered billing plan, Stripe helps you send accurate invoices to your customers.

* *

The default calculation for usage is to add up all the quantity values of the usage records within a billing period. You can change this default behavior with the billing plan’s aggregate_usage parameter. When there is more than one usage record with the same timestamp, Stripe adds the quantity values together. In most cases, this is the desired resolution, however, you can change this behavior with the action parameter.

* *

The default pricing model for metered billing is per-unit pricing. For finer granularity, you can configure metered billing to have a tiered pricing model.

*/ export declare const postSubscriptionItemsSubscriptionItemUsageRecords: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the list of your subscription schedules.

*/ export declare const getSubscriptionSchedules: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.

*/ export declare const postSubscriptionSchedules: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.

*/ export declare const getSubscriptionSchedulesSchedule: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing subscription schedule.

*/ export declare const postSubscriptionSchedulesSchedule: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.

*/ export declare const postSubscriptionSchedulesScheduleCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription’s ID to the released_subscription property.

*/ export declare const postSubscriptionSchedulesScheduleRelease: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.

*/ export declare const getSubscriptions: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.

* *

When you create a subscription with collection_method=charge_automatically, the first invoice is finalized as part of the request. * The payment_behavior parameter determines the exact behavior of the initial payment.

* *

To start subscriptions where the first invoice always begins in a draft status, use subscription schedules instead. * Schedules provide the flexibility to model more complex billing configurations that change over time.

*/ export declare const postSubscriptions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Search for subscriptions you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ export declare const getSubscriptionsSearch: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels a customer’s subscription immediately. The customer will not be charged again for the subscription.

* *

Note, however, that any pending invoice items that you’ve created will still be charged for at the end of the period, unless manually deleted. If you’ve set the subscription to cancel at the end of the period, any pending prorations will also be left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations will be removed.

* *

By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.

*/ export declare const deleteSubscriptionsSubscriptionExposedId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the subscription with the given ID.

*/ export declare const getSubscriptionsSubscriptionExposedId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing subscription to match the specified parameters. * When changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes. * To preview how the proration is calculated, use the upcoming invoice endpoint.

* *

By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they’ll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they’ll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month’s 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.

* *

Switching prices does not normally change the billing date or generate an immediate charge unless:

* *
    *
  • The billing interval is changed (for example, from monthly to yearly).
  • *
  • The subscription moves from free to paid, or paid to free.
  • *
  • A trial starts or ends.
  • *
* *

In these cases, we apply a credit for the unused time on the previous price, immediately charge the customer using the new price, and reset the billing date.

* *

If you want to charge for an upgrade immediately, pass proration_behavior as always_invoice to create prorations, automatically invoice the customer for those proration adjustments, and attempt to collect payment. If you pass create_prorations, the prorations are created but not automatically invoiced. If you want to bill the customer for the prorations before the subscription’s renewal date, you need to manually invoice the customer.

* *

If you don’t want to prorate, set the proration_behavior option to none. With this option, the customer is billed 100 on May 1 and 200 on June 1. Similarly, if you set proration_behavior to none when switching between different billing intervals (for example, from monthly to yearly), we don’t generate any credits for the old subscription’s unused time. We still reset the billing date and bill immediately for the new subscription.

* *

Updating the quantity on a subscription many times in an hour may result in rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing instead.

*/ export declare const postSubscriptionsSubscriptionExposedId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Removes the currently applied discount on a subscription.

*/ export declare const deleteSubscriptionsSubscriptionExposedIdDiscount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.

*/ export declare const postSubscriptionsSubscriptionResume: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Calculates tax based on input and returns a Tax Calculation object.

*/ export declare const postTaxCalculations: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.

*/ export declare const getTaxCalculationsCalculationLineItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Tax Registration objects.

*/ export declare const getTaxRegistrations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new Tax Registration object.

*/ export declare const postTaxRegistrations: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a Tax Registration object.

*/ export declare const getTaxRegistrationsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing Tax Registration object.

* *

A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.

*/ export declare const postTaxRegistrationsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves Tax Settings for a merchant.

*/ export declare const getTaxSettings: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.

*/ export declare const postTaxSettings: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.

*/ export declare const postTaxTransactionsCreateFromCalculation: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Partially or fully reverses a previously created Transaction.

*/ export declare const postTaxTransactionsCreateReversal: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Tax Transaction object.

*/ export declare const getTaxTransactionsTransaction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the line items of a committed standalone transaction as a collection.

*/ export declare const getTaxTransactionsTransactionLineItems: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A list of all tax codes available to add to Products in order to allow specific tax calculations.

*/ export declare const getTaxCodes: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.

*/ export declare const getTaxCodesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of tax IDs.

*/ export declare const getTaxIds: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new account or customer tax_id object.

*/ export declare const postTaxIds: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes an existing account or customer tax_id object.

*/ export declare const deleteTaxIdsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves an account or customer tax_id object.

*/ export declare const getTaxIdsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.

*/ export declare const getTaxRates: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new tax rate.

*/ export declare const postTaxRates: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a tax rate with the given ID

*/ export declare const getTaxRatesTaxRate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates an existing tax rate.

*/ export declare const postTaxRatesTaxRate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Configuration objects.

*/ export declare const getTerminalConfigurations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new Configuration object.

*/ export declare const postTerminalConfigurations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a Configuration object.

*/ export declare const deleteTerminalConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Configuration object.

*/ export declare const getTerminalConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a new Configuration object.

*/ export declare const postTerminalConfigurationsConfiguration: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token.

*/ export declare const postTerminalConnectionTokens: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Location objects.

*/ export declare const getTerminalLocations: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new Location object. * For further details, including which address fields are required in each country, see the Manage locations guide.

*/ export declare const postTerminalLocations: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a Location object.

*/ export declare const deleteTerminalLocationsLocation: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Location object.

*/ export declare const getTerminalLocationsLocation: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postTerminalLocationsLocation: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of Reader objects.

*/ export declare const getTerminalReaders: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new Reader object.

*/ export declare const postTerminalReaders: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a Reader object.

*/ export declare const deleteTerminalReadersReader: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a Reader object.

*/ export declare const getTerminalReadersReader: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ export declare const postTerminalReadersReader: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels the current reader action.

*/ export declare const postTerminalReadersReaderCancelAction: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Initiates a payment flow on a Reader.

*/ export declare const postTerminalReadersReaderProcessPaymentIntent: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Initiates a setup intent flow on a Reader.

*/ export declare const postTerminalReadersReaderProcessSetupIntent: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Initiates a refund on a Reader

*/ export declare const postTerminalReadersReaderRefundPayment: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Sets reader display to show cart details.

*/ export declare const postTerminalReadersReaderSetReaderDisplay: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a test mode Confirmation Token server side for your integration tests.

*/ export declare const postTestHelpersConfirmationTokens: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Create an incoming testmode bank transfer

*/ export declare const postTestHelpersCustomersCustomerFundCashBalance: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Create a test-mode authorization.

*/ export declare const postTestHelpersIssuingAuthorizations: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Capture a test-mode authorization.

*/ export declare const postTestHelpersIssuingAuthorizationsAuthorizationCapture: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Expire a test-mode Authorization.

*/ export declare const postTestHelpersIssuingAuthorizationsAuthorizationExpire: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Increment a test-mode Authorization.

*/ export declare const postTestHelpersIssuingAuthorizationsAuthorizationIncrement: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Reverse a test-mode Authorization.

*/ export declare const postTestHelpersIssuingAuthorizationsAuthorizationReverse: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the shipping status of the specified Issuing Card object to delivered.

*/ export declare const postTestHelpersIssuingCardsCardShippingDeliver: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the shipping status of the specified Issuing Card object to failure.

*/ export declare const postTestHelpersIssuingCardsCardShippingFail: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the shipping status of the specified Issuing Card object to returned.

*/ export declare const postTestHelpersIssuingCardsCardShippingReturn: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the shipping status of the specified Issuing Card object to shipped.

*/ export declare const postTestHelpersIssuingCardsCardShippingShip: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the status of the specified testmode personalization design object to active.

*/ export declare const postTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the status of the specified testmode personalization design object to inactive.

*/ export declare const postTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivate: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the status of the specified testmode personalization design object to rejected.

*/ export declare const postTestHelpersIssuingPersonalizationDesignsPersonalizationDesignReject: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Allows the user to capture an arbitrary amount, also known as a forced capture.

*/ export declare const postTestHelpersIssuingTransactionsCreateForceCapture: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

*/ export declare const postTestHelpersIssuingTransactionsCreateUnlinkedRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Refund a test-mode Transaction.

*/ export declare const postTestHelpersIssuingTransactionsTransactionRefund: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Expire a refund with a status of requires_action.

*/ export declare const postTestHelpersRefundsRefundExpire: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

*/ export declare const postTestHelpersTerminalReadersReaderPresentPaymentMethod: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your test clocks.

*/ export declare const getTestHelpersTestClocks: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new test clock that can be attached to new customers and quotes.

*/ export declare const postTestHelpersTestClocks: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Deletes a test clock.

*/ export declare const deleteTestHelpersTestClocksTestClock: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a test clock.

*/ export declare const getTestHelpersTestClocksTestClock: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready.

*/ export declare const postTestHelpersTestClocksTestClockAdvance: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.

*/ export declare const postTestHelpersTreasuryInboundTransfersIdFail: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.

*/ export declare const postTestHelpersTreasuryInboundTransfersIdReturn: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.

*/ export declare const postTestHelpersTreasuryInboundTransfersIdSucceed: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

*/ export declare const postTestHelpersTreasuryOutboundPaymentsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

*/ export declare const postTestHelpersTreasuryOutboundPaymentsIdFail: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

*/ export declare const postTestHelpersTreasuryOutboundPaymentsIdPost: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

*/ export declare const postTestHelpersTreasuryOutboundPaymentsIdReturn: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.

*/ export declare const postTestHelpersTreasuryOutboundTransfersOutboundTransfer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.

*/ export declare const postTestHelpersTreasuryOutboundTransfersOutboundTransferFail: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.

*/ export declare const postTestHelpersTreasuryOutboundTransfersOutboundTransferPost: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.

*/ export declare const postTestHelpersTreasuryOutboundTransfersOutboundTransferReturn: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.

*/ export declare const postTestHelpersTreasuryReceivedCredits: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.

*/ export declare const postTestHelpersTreasuryReceivedDebits: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a single-use token that represents a bank account’s details. * You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection is application, which includes Custom accounts.

*/ export declare const postTokens: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the token with the given ID.

*/ export declare const getTokensToken: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of top-ups.

*/ export declare const getTopups: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Top up the balance of an account

*/ export declare const postTopups: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.

*/ export declare const getTopupsTopup: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the metadata of a top-up. Other top-up details are not editable by design.

*/ export declare const postTopupsTopup: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels a top-up. Only pending top-ups can be canceled.

*/ export declare const postTopupsTopupCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.

*/ export declare const getTransfers: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

To send funds from your Stripe account to a connected account, you create a new transfer object. Your Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.

*/ export declare const postTransfers: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional reversals.

*/ export declare const getTransfersIdReversals: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

When you create a new reversal, you must specify a transfer to create it on.

* *

When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.

* *

Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.

*/ export declare const postTransfersIdReversals: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.

*/ export declare const getTransfersTransfer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* *

This request accepts only metadata as an argument.

*/ export declare const postTransfersTransfer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.

*/ export declare const getTransfersTransferReversalsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* *

This request only accepts metadata and description as arguments.

*/ export declare const postTransfersTransferReversalsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of CreditReversals.

*/ export declare const getTreasuryCreditReversals: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Reverses a ReceivedCredit and creates a CreditReversal object.

*/ export declare const postTreasuryCreditReversals: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

*/ export declare const getTreasuryCreditReversalsCreditReversal: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of DebitReversals.

*/ export declare const getTreasuryDebitReversals: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Reverses a ReceivedDebit and creates a DebitReversal object.

*/ export declare const postTreasuryDebitReversals: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a DebitReversal object.

*/ export declare const getTreasuryDebitReversalsDebitReversal: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of FinancialAccounts.

*/ export declare const getTreasuryFinancialAccounts: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

*/ export declare const postTreasuryFinancialAccounts: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of a FinancialAccount.

*/ export declare const getTreasuryFinancialAccountsFinancialAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the details of a FinancialAccount.

*/ export declare const postTreasuryFinancialAccountsFinancialAccount: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves Features information associated with the FinancialAccount.

*/ export declare const getTreasuryFinancialAccountsFinancialAccountFeatures: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the Features associated with a FinancialAccount.

*/ export declare const postTreasuryFinancialAccountsFinancialAccountFeatures: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of InboundTransfers sent from the specified FinancialAccount.

*/ export declare const getTreasuryInboundTransfers: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an InboundTransfer.

*/ export declare const postTreasuryInboundTransfers: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing InboundTransfer.

*/ export declare const getTreasuryInboundTransfersId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancels an InboundTransfer.

*/ export declare const postTreasuryInboundTransfersInboundTransferCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of OutboundPayments sent from the specified FinancialAccount.

*/ export declare const getTreasuryOutboundPayments: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an OutboundPayment.

*/ export declare const postTreasuryOutboundPayments: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

*/ export declare const getTreasuryOutboundPaymentsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Cancel an OutboundPayment.

*/ export declare const postTreasuryOutboundPaymentsIdCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

*/ export declare const getTreasuryOutboundTransfers: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Creates an OutboundTransfer.

*/ export declare const postTreasuryOutboundTransfers: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

*/ export declare const getTreasuryOutboundTransfersOutboundTransfer: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

An OutboundTransfer can be canceled if the funds have not yet been paid out.

*/ export declare const postTreasuryOutboundTransfersOutboundTransferCancel: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of ReceivedCredits.

*/ export declare const getTreasuryReceivedCredits: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

*/ export declare const getTreasuryReceivedCreditsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of ReceivedDebits.

*/ export declare const getTreasuryReceivedDebits: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

*/ export declare const getTreasuryReceivedDebitsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a list of TransactionEntry objects.

*/ export declare const getTreasuryTransactionEntries: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a TransactionEntry object.

*/ export declare const getTreasuryTransactionEntriesId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves a list of Transaction objects.

*/ export declare const getTreasuryTransactions: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the details of an existing Transaction.

*/ export declare const getTreasuryTransactionsId: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Returns a list of your webhook endpoints.

*/ export declare const getWebhookEndpoints: (options?: Options) => import("@hey-api/client-fetch").RequestResult; /** *

A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the webhooks settings section of the Dashboard.

*/ export declare const postWebhookEndpoints: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

You can also delete webhook endpoints via the webhook endpoint management page of the Stripe dashboard.

*/ export declare const deleteWebhookEndpointsWebhookEndpoint: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Retrieves the webhook endpoint with the given ID.

*/ export declare const getWebhookEndpointsWebhookEndpoint: (options: Options) => import("@hey-api/client-fetch").RequestResult; /** *

Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.

*/ export declare const postWebhookEndpointsWebhookEndpoint: (options: Options) => import("@hey-api/client-fetch").RequestResult; //# sourceMappingURL=services.gen.d.ts.map