nomoss 0.0.1 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/LICENSE +1 -1
- package/README.md +52 -26
- package/ROADMAP.md +19 -0
- package/docs/README.md +19 -0
- package/docs/application/aws-resource-coverage.md +26 -0
- package/docs/application/aws-resource-lifecycle-management.md +47 -0
- package/docs/application/cli-workflow.md +111 -0
- package/docs/application/engine-design.md +43 -0
- package/docs/application/generation-architecture.md +285 -0
- package/docs/application/resource-command-policy-stage.md +37 -0
- package/docs/application/resource-graph.md +45 -0
- package/docs/application/resource-lifecycle-tracker.md +43 -0
- package/docs/application/resource-mapping.md +112 -0
- package/docs/application/resource-operations.md +41 -0
- package/docs/application/resource-outputs.md +66 -0
- package/docs/application/tracing.md +27 -0
- package/docs/development/code-documentation.md +54 -0
- package/docs/development/commit-message-spec.md +9 -0
- package/docs/development/effect-native-development.md +89 -0
- package/docs/development/linting.md +39 -0
- package/docs/development/resource-graph-testing-approach.md +9 -0
- package/docs/development/review-code.md +73 -0
- package/docs/development/review-docs.md +27 -0
- package/docs/development/review-remediation-spec.md +40 -0
- package/docs/development/spec-writing.md +35 -0
- package/docs/development/testing.md +125 -0
- package/docs/development/unslop.md +55 -0
- package/docs/operations/observability-sop.md +32 -0
- package/docs/operations/releasing.md +7 -0
- package/examples/README.md +11 -0
- package/examples/cli.ts +15 -0
- package/examples/commands.ts +32 -0
- package/examples/http-echo/index.ts +54 -0
- package/examples/queue/application.ts +37 -0
- package/examples/state-machine/application.ts +57 -0
- package/examples/stripe-billing/application.ts +56 -0
- package/media/nomoss-http-demo.gif +0 -0
- package/package.json +63 -24
- package/providers/aws/README.md +21 -0
- package/providers/aws/awsEnvironment.ts +114 -0
- package/providers/aws/generated/managementRegistry.ts +136 -0
- package/providers/aws/generated/resources/apigatewayv2/api.ts +528 -0
- package/providers/aws/generated/resources/apigatewayv2/integration.ts +559 -0
- package/providers/aws/generated/resources/apigatewayv2/route.ts +421 -0
- package/providers/aws/generated/resources/apigatewayv2/stage.ts +366 -0
- package/providers/aws/generated/resources/iam/accesskey.ts +184 -0
- package/providers/aws/generated/resources/iam/group.ts +294 -0
- package/providers/aws/generated/resources/iam/grouppolicy.ts +244 -0
- package/providers/aws/generated/resources/iam/instanceprofile.ts +249 -0
- package/providers/aws/generated/resources/iam/managedpolicy.ts +518 -0
- package/providers/aws/generated/resources/iam/oidcprovider.ts +314 -0
- package/providers/aws/generated/resources/iam/policy.ts +264 -0
- package/providers/aws/generated/resources/iam/role.ts +444 -0
- package/providers/aws/generated/resources/iam/rolepolicy.ts +242 -0
- package/providers/aws/generated/resources/iam/samlprovider.ts +463 -0
- package/providers/aws/generated/resources/iam/servercertificate.ts +465 -0
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +187 -0
- package/providers/aws/generated/resources/iam/user.ts +435 -0
- package/providers/aws/generated/resources/iam/userpolicy.ts +242 -0
- package/providers/aws/generated/resources/iam/usertogroupaddition.ts +212 -0
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +298 -0
- package/providers/aws/generated/resources/kms/key.ts +552 -0
- package/providers/aws/generated/resources/lambda/function.ts +1924 -0
- package/providers/aws/generated/resources/lambda/permission.ts +913 -0
- package/providers/aws/generated/resources/s3/bucket.ts +3325 -0
- package/providers/aws/generated/resources/sns/topic.ts +536 -0
- package/providers/aws/generated/resources/sqs/queue.ts +476 -0
- package/providers/aws/generated/resources/stepfunctions/statemachine.ts +720 -0
- package/providers/aws/management/mappings/iam/group.ts +63 -0
- package/providers/aws/management/mappings/iam/iamIdentity.ts +41 -0
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +8 -0
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +159 -0
- package/providers/aws/management/mappings/iam/instanceProfile.ts +77 -0
- package/providers/aws/management/mappings/iam/oidcProvider.ts +94 -0
- package/providers/aws/management/mappings/iam/role.ts +74 -0
- package/providers/aws/management/mappings/iam/samlProvider.ts +98 -0
- package/providers/aws/management/mappings/iam/serverCertificate.ts +72 -0
- package/providers/aws/management/mappings/iam/user.ts +61 -0
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +75 -0
- package/providers/aws/management/operations/iam/accessKey.ts +206 -0
- package/providers/aws/management/operations/iam/managedPolicy.ts +491 -0
- package/providers/aws/management/operations/iam/policy.ts +476 -0
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +172 -0
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +253 -0
- package/providers/aws/management/resourceAssociationConfiguration.ts +112 -0
- package/providers/aws/management/resourceAssociationRegistration.ts +349 -0
- package/providers/aws/management/resourceAssociations.ts +168 -0
- package/providers/aws/management/resourceConfiguration.ts +119 -0
- package/providers/aws/management/resourceLifecycleRegistration.ts +540 -0
- package/providers/aws/management/resourceManagementModule.ts +31 -0
- package/providers/aws/management/resourceManagementRegistry.ts +62 -0
- package/providers/aws/management/resourceMapping.ts +84 -0
- package/providers/aws/management/resourceOperation.ts +134 -0
- package/providers/aws/management/resourceTagOperations.ts +108 -0
- package/providers/aws/management/resourceTiming.ts +4 -0
- package/providers/aws/runtime.ts +52 -0
- package/src/cli.ts +31 -13
- package/src/cliCommand.ts +207 -170
- package/src/cliDiagnostics.ts +104 -0
- package/src/core/asset.ts +350 -0
- package/src/core/index.ts +61 -17
- package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
- package/src/core/resource/model.ts +1168 -0
- package/src/core/resource/resourceCommandPolicy.ts +88 -0
- package/src/core/resource/resourceGraphBuilder.ts +319 -0
- package/src/core/resource/resourceGraphStore.ts +373 -0
- package/src/core/resource/resourceLifecycle.ts +644 -0
- package/src/core/resource/resourceOutputBinding.ts +113 -0
- package/src/core/resource/resourceOutputResolver.ts +365 -0
- package/src/core/resource/resourceRequest.ts +186 -0
- package/src/core/resource/resourceStabilization.ts +120 -0
- package/src/core/resource/resourceVersions.ts +102 -0
- package/src/core/runtime/stackRuntimeLayer.ts +16 -0
- package/src/core/runtime/tracing.ts +43 -0
- package/src/core/stack/planner.ts +663 -0
- package/src/core/stack/resourceDisplay.ts +213 -0
- package/src/core/stack/resourceStackDefinition.ts +32 -0
- package/src/core/stack/resourceStackLifecycle.ts +1229 -0
- package/src/core/stack/resourceStackOperations.ts +642 -0
- package/src/core/stack/resourceStackProgress.ts +169 -0
- package/src/core/stack/stackWorkflowRenderer.ts +756 -0
- package/src/core/state/localState.ts +18 -0
- package/src/core/state/resourceState.ts +77 -0
- package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
- package/src/core/state/stateStore.ts +600 -0
- package/src/providers/file/jsonFile.ts +94 -0
- package/src/providers/file/model.ts +29 -0
- package/src/providers/file/resourcePolicy.ts +271 -0
- package/src/providers/index.ts +0 -2
- package/src/providers/providerRuntimeLayer.ts +27 -113
- package/src/providers/resourceCommandPolicyLayer.ts +151 -200
- package/src/providers/stripe/client/generated/LICENSE +21 -0
- package/src/providers/stripe/client/generated/accounts.ts +14360 -0
- package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
- package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
- package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
- package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
- package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
- package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
- package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
- package/src/providers/stripe/client/generated/catalog.ts +18881 -0
- package/src/providers/stripe/client/generated/charges.ts +2637 -0
- package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
- package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
- package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
- package/src/providers/stripe/client/generated/configuration.ts +3 -0
- package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
- package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
- package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
- package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
- package/src/providers/stripe/client/generated/coupons.ts +562 -0
- package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
- package/src/providers/stripe/client/generated/customers.ts +10712 -0
- package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
- package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
- package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
- package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
- package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
- package/src/providers/stripe/client/generated/index.ts +330 -0
- package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
- package/src/providers/stripe/client/generated/invoices.ts +8412 -0
- package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
- package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
- package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
- package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
- package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
- package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
- package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
- package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
- package/src/providers/stripe/client/generated/models/common.ts +25024 -0
- package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
- package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
- package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
- package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
- package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
- package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
- package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
- package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
- package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
- package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
- package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
- package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
- package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
- package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
- package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
- package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
- package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
- package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
- package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
- package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
- package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
- package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
- package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
- package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
- package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
- package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
- package/src/providers/stripe/client/generated/payouts.ts +589 -0
- package/src/providers/stripe/client/generated/plans.ts +712 -0
- package/src/providers/stripe/client/generated/prices.ts +1045 -0
- package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
- package/src/providers/stripe/client/generated/products.ts +1370 -0
- package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
- package/src/providers/stripe/client/generated/quotes.ts +1874 -0
- package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
- package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
- package/src/providers/stripe/client/generated/refunds.ts +493 -0
- package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
- package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
- package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
- package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
- package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
- package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
- package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
- package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
- package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
- package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
- package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
- package/src/providers/stripe/client/generated/sources.ts +1482 -0
- package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
- package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
- package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
- package/src/providers/stripe/client/generated/taxIds.ts +644 -0
- package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
- package/src/providers/stripe/client/generated/taxRates.ts +620 -0
- package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
- package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
- package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
- package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
- package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
- package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
- package/src/providers/stripe/client/generated/tokens.ts +2498 -0
- package/src/providers/stripe/client/generated/topups.ts +556 -0
- package/src/providers/stripe/client/generated/transfers.ts +786 -0
- package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
- package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
- package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
- package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
- package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
- package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
- package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
- package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
- package/src/providers/stripe/client/stripeClient.ts +212 -0
- package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
- package/src/providers/stripe/client/stripeClientModel.ts +40 -0
- package/src/providers/stripe/index.ts +8 -15
- package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
- package/src/providers/stripe/management/resourcePolicy.ts +500 -0
- package/src/providers/stripe/management/resources.ts +36 -0
- package/src/providers/stripe/runtime.ts +74 -0
- package/bin/nomoss +0 -13
- package/docs/code-documentation.md +0 -36
- package/docs/effect-native-development.md +0 -55
- package/docs/engine-design.md +0 -93
- package/docs/linting.md +0 -88
- package/docs/releasing.md +0 -13
- package/docs/resource-command-policy-stage.md +0 -71
- package/docs/resource-graph-mvp.md +0 -31
- package/docs/resource-graph-testing-approach.md +0 -11
- package/docs/resource-lifecycle-tracker.md +0 -93
- package/docs/testing.md +0 -86
- package/examples/upload-events/README.md +0 -41
- package/src/cliRuntimeLayer.ts +0 -49
- package/src/core/model.ts +0 -229
- package/src/core/physicalNameStore.ts +0 -226
- package/src/core/planner.ts +0 -645
- package/src/core/resourceCommandPolicy.ts +0 -79
- package/src/core/resourceGraphBuilder.ts +0 -167
- package/src/core/resourceGraphStore.ts +0 -288
- package/src/core/resourceOutputResolver.ts +0 -185
- package/src/core/resourcePolicy.ts +0 -77
- package/src/core/resourceStackDefinition.ts +0 -17
- package/src/core/resourceStackLifecycle.ts +0 -456
- package/src/core/resourceStackOperations.ts +0 -129
- package/src/core/runtimeLayer.ts +0 -73
- package/src/core/stackWorkflowRenderer.ts +0 -239
- package/src/core/stateStore.ts +0 -652
- package/src/core/tracing.ts +0 -26
- package/src/providers/aws/awsApply.ts +0 -132
- package/src/providers/aws/awsBucket.ts +0 -329
- package/src/providers/aws/awsBucketNotification.ts +0 -351
- package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
- package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
- package/src/providers/aws/awsProviderLayer.ts +0 -274
- package/src/providers/aws/awsQueue.ts +0 -346
- package/src/providers/aws/awsQueuePolicy.ts +0 -419
- package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
- package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
- package/src/providers/aws/awsReconciliation.ts +0 -92
- package/src/providers/aws/awsRefresh.ts +0 -50
- package/src/providers/aws/awsResourceLifecycle.ts +0 -118
- package/src/providers/aws/awsResourcePolicy.ts +0 -83
- package/src/providers/aws/awsResources.ts +0 -274
- package/src/providers/aws/awsRuntimeLayer.ts +0 -21
- package/src/providers/aws/awsSqsTransport.ts +0 -33
- package/src/providers/aws/awsStackLifecycle.ts +0 -272
- package/src/providers/aws/awsTagging.ts +0 -186
- package/src/providers/aws/constants.ts +0 -3
- package/src/providers/aws/index.ts +0 -22
- package/src/providers/aws/sampleStack.ts +0 -65
- package/src/providers/aws/stackWorkflow.ts +0 -443
- package/src/providers/stripe/stripeAccount.ts +0 -139
- package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
- package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
- package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
- package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
- package/src/providers/stripe/stripeCustomer.ts +0 -148
- package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
- package/src/providers/stripe/stripePrice.ts +0 -218
- package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
- package/src/providers/stripe/stripeProduct.ts +0 -171
- package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
- package/src/providers/stripe/stripeResources.ts +0 -454
- package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
- package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
- package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
|
@@ -0,0 +1,4148 @@
|
|
|
1
|
+
// This schema module comes from the selected resource contracts. Do not edit.
|
|
2
|
+
|
|
3
|
+
// biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's compiled regular expressions.
|
|
4
|
+
import { Schema } from "effect";
|
|
5
|
+
import { Stripeaccount } from "./accounts.js";
|
|
6
|
+
import { Stripecharge } from "./charges.js";
|
|
7
|
+
import {
|
|
8
|
+
Stripeapi_errors,
|
|
9
|
+
Stripeapplication,
|
|
10
|
+
Stripefunding_instructions_bank_transfer_financial_address,
|
|
11
|
+
Stripelinked_account_options_common,
|
|
12
|
+
Stripereview,
|
|
13
|
+
Stripeshipping,
|
|
14
|
+
Stripesmor_resource_managed_payments,
|
|
15
|
+
} from "./common.js";
|
|
16
|
+
import { Stripecustomer, Stripedeleted_customer } from "./customers.js";
|
|
17
|
+
import {
|
|
18
|
+
Stripepayment_method_options_affirm,
|
|
19
|
+
Stripepayment_method_options_afterpay_clearpay,
|
|
20
|
+
Stripepayment_method_options_alipay,
|
|
21
|
+
Stripepayment_method_options_alma,
|
|
22
|
+
Stripepayment_method_options_amazon_pay,
|
|
23
|
+
Stripepayment_method_options_bancontact,
|
|
24
|
+
Stripepayment_method_options_billie,
|
|
25
|
+
Stripepayment_method_options_bizum,
|
|
26
|
+
Stripepayment_method_options_boleto,
|
|
27
|
+
Stripepayment_method_options_card_installments,
|
|
28
|
+
Stripepayment_method_options_card_mandate_options,
|
|
29
|
+
Stripepayment_method_options_card_present,
|
|
30
|
+
Stripepayment_method_options_card_present_routing,
|
|
31
|
+
Stripepayment_method_options_cashapp,
|
|
32
|
+
Stripepayment_method_options_crypto,
|
|
33
|
+
Stripepayment_method_options_customer_balance,
|
|
34
|
+
Stripepayment_method_options_fpx,
|
|
35
|
+
Stripepayment_method_options_giropay,
|
|
36
|
+
Stripepayment_method_options_grabpay,
|
|
37
|
+
Stripepayment_method_options_ideal,
|
|
38
|
+
Stripepayment_method_options_interac_present,
|
|
39
|
+
Stripepayment_method_options_klarna,
|
|
40
|
+
Stripepayment_method_options_konbini,
|
|
41
|
+
Stripepayment_method_options_kr_card,
|
|
42
|
+
Stripepayment_method_options_mb_way,
|
|
43
|
+
Stripepayment_method_options_multibanco,
|
|
44
|
+
Stripepayment_method_options_oxxo,
|
|
45
|
+
Stripepayment_method_options_p24,
|
|
46
|
+
Stripepayment_method_options_pay_by_bank,
|
|
47
|
+
Stripepayment_method_options_paynow,
|
|
48
|
+
Stripepayment_method_options_paypal,
|
|
49
|
+
Stripepayment_method_options_paypay,
|
|
50
|
+
Stripepayment_method_options_pix,
|
|
51
|
+
Stripepayment_method_options_promptpay,
|
|
52
|
+
Stripepayment_method_options_revolut_pay,
|
|
53
|
+
Stripepayment_method_options_satispay,
|
|
54
|
+
Stripepayment_method_options_scalapay,
|
|
55
|
+
Stripepayment_method_options_sequra,
|
|
56
|
+
Stripepayment_method_options_sofort,
|
|
57
|
+
Stripepayment_method_options_sunbit,
|
|
58
|
+
Stripepayment_method_options_twint,
|
|
59
|
+
Stripepayment_method_options_upi,
|
|
60
|
+
Stripepayment_method_options_us_bank_account_mandate_options,
|
|
61
|
+
Stripepayment_method_options_wechat_pay,
|
|
62
|
+
Stripepayment_method_options_zip,
|
|
63
|
+
} from "./paymentMethodOptions.js";
|
|
64
|
+
import {
|
|
65
|
+
Stripepayment_method,
|
|
66
|
+
Stripepayment_method_config_biz_payment_method_configuration_details,
|
|
67
|
+
} from "./paymentMethods.js";
|
|
68
|
+
import {
|
|
69
|
+
Stripepayment_flows_amount_details,
|
|
70
|
+
Stripepayment_flows_amount_details_client,
|
|
71
|
+
Stripepayment_flows_amount_details_resource_line_items_list_resource_line_item_resource_payment_method_options,
|
|
72
|
+
Stripepayment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax,
|
|
73
|
+
Stripepayment_flows_automatic_payment_methods_payment_intent,
|
|
74
|
+
Stripepayment_flows_installment_options,
|
|
75
|
+
Stripepayment_flows_payment_details,
|
|
76
|
+
Stripepayment_flows_payment_intent_async_workflows,
|
|
77
|
+
Stripepayment_flows_payment_intent_presentment_details,
|
|
78
|
+
Stripepayment_flows_private_payment_methods_kakao_pay_payment_method_options,
|
|
79
|
+
Stripepayment_flows_private_payment_methods_naver_pay_payment_method_options,
|
|
80
|
+
Stripepayment_flows_private_payment_methods_payco_payment_method_options,
|
|
81
|
+
Stripepayment_flows_private_payment_methods_samsung_pay_payment_method_options,
|
|
82
|
+
Stripepayment_record,
|
|
83
|
+
} from "./payments.js";
|
|
84
|
+
import { Stripetransfer_data } from "./transfers.js";
|
|
85
|
+
|
|
86
|
+
export type Stripepayment_intent = {
|
|
87
|
+
readonly allowed_payment_method_types?: ReadonlyArray<
|
|
88
|
+
| "acss_debit"
|
|
89
|
+
| "affirm"
|
|
90
|
+
| "afterpay_clearpay"
|
|
91
|
+
| "alipay"
|
|
92
|
+
| "alma"
|
|
93
|
+
| "amazon_pay"
|
|
94
|
+
| "au_becs_debit"
|
|
95
|
+
| "bacs_debit"
|
|
96
|
+
| "bancontact"
|
|
97
|
+
| "billie"
|
|
98
|
+
| "bizum"
|
|
99
|
+
| "blik"
|
|
100
|
+
| "boku_promptpay"
|
|
101
|
+
| "boleto"
|
|
102
|
+
| "capchase_pay"
|
|
103
|
+
| "card"
|
|
104
|
+
| "card_present"
|
|
105
|
+
| "cashapp"
|
|
106
|
+
| "check_scan"
|
|
107
|
+
| "click_to_pay"
|
|
108
|
+
| "crypto"
|
|
109
|
+
| "customer_balance"
|
|
110
|
+
| "demo_pay"
|
|
111
|
+
| "duitnow"
|
|
112
|
+
| "dummy_auth_push"
|
|
113
|
+
| "dummy_passthrough_card"
|
|
114
|
+
| "edenred"
|
|
115
|
+
| "eps"
|
|
116
|
+
| "fpx"
|
|
117
|
+
| "gcash"
|
|
118
|
+
| "getbalance"
|
|
119
|
+
| "gift_card"
|
|
120
|
+
| "giropay"
|
|
121
|
+
| "gopay"
|
|
122
|
+
| "grabpay"
|
|
123
|
+
| "id_bank_transfer"
|
|
124
|
+
| "ideal"
|
|
125
|
+
| "interac_present"
|
|
126
|
+
| "kakao_pay"
|
|
127
|
+
| "klarna"
|
|
128
|
+
| "knet"
|
|
129
|
+
| "konbini"
|
|
130
|
+
| "kr_card"
|
|
131
|
+
| "kr_market"
|
|
132
|
+
| "kriya"
|
|
133
|
+
| "link"
|
|
134
|
+
| "mb_way"
|
|
135
|
+
| "mobilepay"
|
|
136
|
+
| "momo"
|
|
137
|
+
| "mondu"
|
|
138
|
+
| "multibanco"
|
|
139
|
+
| "naver_pay"
|
|
140
|
+
| "netbanking"
|
|
141
|
+
| "ng_bank"
|
|
142
|
+
| "ng_bank_transfer"
|
|
143
|
+
| "ng_card"
|
|
144
|
+
| "ng_market"
|
|
145
|
+
| "ng_ussd"
|
|
146
|
+
| "ng_wallet"
|
|
147
|
+
| "nz_bank_account"
|
|
148
|
+
| "octopus"
|
|
149
|
+
| "oxxo"
|
|
150
|
+
| "p24"
|
|
151
|
+
| "paper_check"
|
|
152
|
+
| "pay_by_bank"
|
|
153
|
+
| "payco"
|
|
154
|
+
| "paynow"
|
|
155
|
+
| "paypal"
|
|
156
|
+
| "paypay"
|
|
157
|
+
| "payto"
|
|
158
|
+
| "pix"
|
|
159
|
+
| "promptpay"
|
|
160
|
+
| "qris"
|
|
161
|
+
| "rechnung"
|
|
162
|
+
| "revolut_pay"
|
|
163
|
+
| "samsung_pay"
|
|
164
|
+
| "satispay"
|
|
165
|
+
| "scalapay"
|
|
166
|
+
| "sepa_debit"
|
|
167
|
+
| "sequra"
|
|
168
|
+
| "shop_pay"
|
|
169
|
+
| "shopeepay"
|
|
170
|
+
| "sofort"
|
|
171
|
+
| "south_korea_market"
|
|
172
|
+
| "stripe_balance"
|
|
173
|
+
| "sunbit"
|
|
174
|
+
| "swish"
|
|
175
|
+
| "tamara"
|
|
176
|
+
| "test_pay"
|
|
177
|
+
| "touch_n_go"
|
|
178
|
+
| "truemoney"
|
|
179
|
+
| "twint"
|
|
180
|
+
| "upi"
|
|
181
|
+
| "us_bank_account"
|
|
182
|
+
| "us_cash_voucher"
|
|
183
|
+
| "vipps"
|
|
184
|
+
| "wechat_pay"
|
|
185
|
+
| "wero"
|
|
186
|
+
| "zip"
|
|
187
|
+
> | null;
|
|
188
|
+
readonly amount?: number;
|
|
189
|
+
readonly amount_capturable?: number;
|
|
190
|
+
readonly amount_details?:
|
|
191
|
+
| Stripepayment_flows_amount_details
|
|
192
|
+
| Stripepayment_flows_amount_details_client;
|
|
193
|
+
readonly amount_received?: number;
|
|
194
|
+
readonly application?: string | Stripeapplication | null;
|
|
195
|
+
readonly application_fee_amount?: number | null;
|
|
196
|
+
readonly automatic_payment_methods?: Stripepayment_flows_automatic_payment_methods_payment_intent | null;
|
|
197
|
+
readonly canceled_at?: number | null;
|
|
198
|
+
readonly cancellation_reason?:
|
|
199
|
+
| "abandoned"
|
|
200
|
+
| "automatic"
|
|
201
|
+
| "duplicate"
|
|
202
|
+
| "expired"
|
|
203
|
+
| "failed_invoice"
|
|
204
|
+
| "fraudulent"
|
|
205
|
+
| "requested_by_customer"
|
|
206
|
+
| "void_invoice"
|
|
207
|
+
| null;
|
|
208
|
+
readonly capture_method?: "automatic" | "automatic_async" | "manual";
|
|
209
|
+
readonly client_secret?: string | null;
|
|
210
|
+
readonly confirmation_method?: "automatic" | "manual";
|
|
211
|
+
readonly created: number;
|
|
212
|
+
readonly currency?: string;
|
|
213
|
+
readonly customer?: string | Stripecustomer | Stripedeleted_customer | null;
|
|
214
|
+
readonly customer_account?: string | null;
|
|
215
|
+
readonly description?: string | null;
|
|
216
|
+
readonly excluded_payment_method_types?: ReadonlyArray<
|
|
217
|
+
| "acss_debit"
|
|
218
|
+
| "affirm"
|
|
219
|
+
| "afterpay_clearpay"
|
|
220
|
+
| "alipay"
|
|
221
|
+
| "alma"
|
|
222
|
+
| "amazon_pay"
|
|
223
|
+
| "au_becs_debit"
|
|
224
|
+
| "bacs_debit"
|
|
225
|
+
| "bancontact"
|
|
226
|
+
| "billie"
|
|
227
|
+
| "bizum"
|
|
228
|
+
| "blik"
|
|
229
|
+
| "boleto"
|
|
230
|
+
| "card"
|
|
231
|
+
| "cashapp"
|
|
232
|
+
| "crypto"
|
|
233
|
+
| "customer_balance"
|
|
234
|
+
| "eps"
|
|
235
|
+
| "fpx"
|
|
236
|
+
| "giropay"
|
|
237
|
+
| "grabpay"
|
|
238
|
+
| "ideal"
|
|
239
|
+
| "kakao_pay"
|
|
240
|
+
| "klarna"
|
|
241
|
+
| "konbini"
|
|
242
|
+
| "kr_card"
|
|
243
|
+
| "mb_way"
|
|
244
|
+
| "mobilepay"
|
|
245
|
+
| "multibanco"
|
|
246
|
+
| "naver_pay"
|
|
247
|
+
| "nz_bank_account"
|
|
248
|
+
| "oxxo"
|
|
249
|
+
| "p24"
|
|
250
|
+
| "pay_by_bank"
|
|
251
|
+
| "payco"
|
|
252
|
+
| "paynow"
|
|
253
|
+
| "paypal"
|
|
254
|
+
| "paypay"
|
|
255
|
+
| "payto"
|
|
256
|
+
| "pix"
|
|
257
|
+
| "promptpay"
|
|
258
|
+
| "revolut_pay"
|
|
259
|
+
| "samsung_pay"
|
|
260
|
+
| "satispay"
|
|
261
|
+
| "scalapay"
|
|
262
|
+
| "sepa_debit"
|
|
263
|
+
| "sequra"
|
|
264
|
+
| "sofort"
|
|
265
|
+
| "sunbit"
|
|
266
|
+
| "swish"
|
|
267
|
+
| "twint"
|
|
268
|
+
| "upi"
|
|
269
|
+
| "us_bank_account"
|
|
270
|
+
| "wechat_pay"
|
|
271
|
+
| "zip"
|
|
272
|
+
> | null;
|
|
273
|
+
readonly hooks?: Stripepayment_flows_payment_intent_async_workflows;
|
|
274
|
+
readonly id: string;
|
|
275
|
+
readonly last_payment_error?: Stripeapi_errors | null;
|
|
276
|
+
readonly latest_charge?: string | Stripecharge | null;
|
|
277
|
+
readonly livemode: boolean;
|
|
278
|
+
readonly managed_payments?: Stripesmor_resource_managed_payments | null;
|
|
279
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
280
|
+
readonly next_action?: Stripepayment_intent_next_action | null;
|
|
281
|
+
readonly object: "payment_intent";
|
|
282
|
+
readonly on_behalf_of?: string | Stripeaccount | null;
|
|
283
|
+
readonly payment_details?: Stripepayment_flows_payment_details;
|
|
284
|
+
readonly payment_method?: string | Stripepayment_method | null;
|
|
285
|
+
readonly payment_method_configuration_details?: Stripepayment_method_config_biz_payment_method_configuration_details | null;
|
|
286
|
+
readonly payment_method_options?: Stripepayment_intent_payment_method_options | null;
|
|
287
|
+
readonly payment_method_types?: ReadonlyArray<string>;
|
|
288
|
+
readonly payment_record?: string | Stripepayment_record | null;
|
|
289
|
+
readonly presentment_details?: Stripepayment_flows_payment_intent_presentment_details;
|
|
290
|
+
readonly processing?: Stripepayment_intent_processing | null;
|
|
291
|
+
readonly receipt_email?: string | null;
|
|
292
|
+
readonly review?: string | Stripereview | null;
|
|
293
|
+
readonly setup_future_usage?: "off_session" | "on_session" | null;
|
|
294
|
+
readonly shipping?: Stripeshipping | null;
|
|
295
|
+
readonly statement_descriptor?: string | null;
|
|
296
|
+
readonly statement_descriptor_suffix?: string | null;
|
|
297
|
+
readonly status:
|
|
298
|
+
| "canceled"
|
|
299
|
+
| "processing"
|
|
300
|
+
| "requires_action"
|
|
301
|
+
| "requires_capture"
|
|
302
|
+
| "requires_confirmation"
|
|
303
|
+
| "requires_payment_method"
|
|
304
|
+
| "succeeded";
|
|
305
|
+
readonly transfer_data?: Stripetransfer_data | null;
|
|
306
|
+
readonly transfer_group?: string | null;
|
|
307
|
+
} & { readonly [x: string]: Schema.Json };
|
|
308
|
+
export type Stripepayment_intent_next_action_alipay_handle_redirect = {
|
|
309
|
+
readonly native_data?: string | null;
|
|
310
|
+
readonly native_url?: string | null;
|
|
311
|
+
readonly return_url?: string | null;
|
|
312
|
+
readonly url?: string | null;
|
|
313
|
+
} & { readonly [x: string]: Schema.Json };
|
|
314
|
+
export type Stripepayment_intent_next_action_blik_authorize = {
|
|
315
|
+
readonly [x: string]: Schema.Json;
|
|
316
|
+
};
|
|
317
|
+
export type Stripepayment_intent_next_action_boleto = {
|
|
318
|
+
readonly expires_at?: number | null;
|
|
319
|
+
readonly hosted_voucher_url?: string | null;
|
|
320
|
+
readonly number?: string | null;
|
|
321
|
+
readonly pdf?: string | null;
|
|
322
|
+
} & { readonly [x: string]: Schema.Json };
|
|
323
|
+
export type Stripepayment_intent_next_action_card_await_notification = {
|
|
324
|
+
readonly charge_attempt_at?: number | null;
|
|
325
|
+
readonly customer_approval_required?: boolean | null;
|
|
326
|
+
} & { readonly [x: string]: Schema.Json };
|
|
327
|
+
export type Stripepayment_intent_next_action_cashapp_qr_code = {
|
|
328
|
+
readonly expires_at: number;
|
|
329
|
+
readonly image_url_png: string;
|
|
330
|
+
readonly image_url_svg: string;
|
|
331
|
+
} & { readonly [x: string]: Schema.Json };
|
|
332
|
+
export type Stripepayment_intent_next_action_klarna_display_qr_code = {
|
|
333
|
+
readonly data: string;
|
|
334
|
+
readonly expires_at?: number | null;
|
|
335
|
+
readonly image_url_png: string;
|
|
336
|
+
readonly image_url_svg: string;
|
|
337
|
+
} & { readonly [x: string]: Schema.Json };
|
|
338
|
+
export type Stripepayment_intent_next_action_konbini_familymart = {
|
|
339
|
+
readonly confirmation_number?: string;
|
|
340
|
+
readonly payment_code: string;
|
|
341
|
+
} & { readonly [x: string]: Schema.Json };
|
|
342
|
+
export type Stripepayment_intent_next_action_konbini_lawson = {
|
|
343
|
+
readonly confirmation_number?: string;
|
|
344
|
+
readonly payment_code: string;
|
|
345
|
+
} & { readonly [x: string]: Schema.Json };
|
|
346
|
+
export type Stripepayment_intent_next_action_konbini_ministop = {
|
|
347
|
+
readonly confirmation_number?: string;
|
|
348
|
+
readonly payment_code: string;
|
|
349
|
+
} & { readonly [x: string]: Schema.Json };
|
|
350
|
+
export type Stripepayment_intent_next_action_konbini_seicomart = {
|
|
351
|
+
readonly confirmation_number?: string;
|
|
352
|
+
readonly payment_code: string;
|
|
353
|
+
} & { readonly [x: string]: Schema.Json };
|
|
354
|
+
export type Stripepayment_intent_next_action_display_multibanco_details = {
|
|
355
|
+
readonly entity?: string | null;
|
|
356
|
+
readonly expires_at?: number | null;
|
|
357
|
+
readonly hosted_voucher_url?: string | null;
|
|
358
|
+
readonly reference?: string | null;
|
|
359
|
+
} & { readonly [x: string]: Schema.Json };
|
|
360
|
+
export type Stripepayment_intent_next_action_display_oxxo_details = {
|
|
361
|
+
readonly expires_after?: number | null;
|
|
362
|
+
readonly hosted_voucher_url?: string | null;
|
|
363
|
+
readonly number?: string | null;
|
|
364
|
+
} & { readonly [x: string]: Schema.Json };
|
|
365
|
+
export type Stripepayment_intent_next_action_paynow_display_qr_code = {
|
|
366
|
+
readonly data: string;
|
|
367
|
+
readonly hosted_instructions_url?: string | null;
|
|
368
|
+
readonly image_url_png: string;
|
|
369
|
+
readonly image_url_svg: string;
|
|
370
|
+
} & { readonly [x: string]: Schema.Json };
|
|
371
|
+
export type Stripepayment_intent_next_action_pix_display_qr_code = {
|
|
372
|
+
readonly data?: string;
|
|
373
|
+
readonly expires_at?: number;
|
|
374
|
+
readonly hosted_instructions_url?: string;
|
|
375
|
+
readonly image_url_png?: string;
|
|
376
|
+
readonly image_url_svg?: string;
|
|
377
|
+
} & { readonly [x: string]: Schema.Json };
|
|
378
|
+
export type Stripepayment_intent_next_action_promptpay_display_qr_code = {
|
|
379
|
+
readonly data: string;
|
|
380
|
+
readonly hosted_instructions_url: string;
|
|
381
|
+
readonly image_url_png: string;
|
|
382
|
+
readonly image_url_svg: string;
|
|
383
|
+
} & { readonly [x: string]: Schema.Json };
|
|
384
|
+
export type Stripepayment_intent_next_action_redirect_to_url = {
|
|
385
|
+
readonly return_url?: string | null;
|
|
386
|
+
readonly url?: string | null;
|
|
387
|
+
} & { readonly [x: string]: Schema.Json };
|
|
388
|
+
export type Stripepayment_intent_next_action_swish_qr_code = {
|
|
389
|
+
readonly data: string;
|
|
390
|
+
readonly expires_at: number;
|
|
391
|
+
readonly image_url_png: string;
|
|
392
|
+
readonly image_url_svg: string;
|
|
393
|
+
} & { readonly [x: string]: Schema.Json };
|
|
394
|
+
export type Stripepayment_intent_next_action_upiqr_code = {
|
|
395
|
+
readonly expires_at: number;
|
|
396
|
+
readonly image_url_png: string;
|
|
397
|
+
readonly image_url_svg: string;
|
|
398
|
+
} & { readonly [x: string]: Schema.Json };
|
|
399
|
+
export type Stripepayment_intent_next_action_verify_with_microdeposits = {
|
|
400
|
+
readonly arrival_date: number;
|
|
401
|
+
readonly hosted_verification_url: string;
|
|
402
|
+
readonly microdeposit_type?: "amounts" | "descriptor_code" | null;
|
|
403
|
+
} & { readonly [x: string]: Schema.Json };
|
|
404
|
+
export type Stripepayment_intent_next_action_wechat_pay_display_qr_code = {
|
|
405
|
+
readonly data: string;
|
|
406
|
+
readonly hosted_instructions_url: string;
|
|
407
|
+
readonly image_data_url: string;
|
|
408
|
+
readonly image_url_png: string;
|
|
409
|
+
readonly image_url_svg: string;
|
|
410
|
+
} & { readonly [x: string]: Schema.Json };
|
|
411
|
+
export type Stripepayment_intent_next_action_wechat_pay_redirect_to_android_app =
|
|
412
|
+
{
|
|
413
|
+
readonly app_id: string;
|
|
414
|
+
readonly nonce_str: string;
|
|
415
|
+
readonly package: string;
|
|
416
|
+
readonly partner_id: string;
|
|
417
|
+
readonly prepay_id: string;
|
|
418
|
+
readonly sign: string;
|
|
419
|
+
readonly timestamp: string;
|
|
420
|
+
} & { readonly [x: string]: Schema.Json };
|
|
421
|
+
export type Stripepayment_intent_next_action_wechat_pay_redirect_to_ios_app = {
|
|
422
|
+
readonly native_url: string;
|
|
423
|
+
} & { readonly [x: string]: Schema.Json };
|
|
424
|
+
export type Stripepayment_intent_payment_method_options_mandate_options_acss_debit =
|
|
425
|
+
{
|
|
426
|
+
readonly custom_mandate_url?: string;
|
|
427
|
+
readonly interval_description?: string | null;
|
|
428
|
+
readonly payment_schedule?: "combined" | "interval" | "sporadic" | null;
|
|
429
|
+
readonly transaction_type?: "business" | "personal" | null;
|
|
430
|
+
} & { readonly [x: string]: Schema.Json };
|
|
431
|
+
export type Stripepayment_intent_payment_method_options_mandate_options_payto =
|
|
432
|
+
{
|
|
433
|
+
readonly amount?: number | null;
|
|
434
|
+
readonly amount_type?: "fixed" | "maximum" | null;
|
|
435
|
+
readonly end_date?: string | null;
|
|
436
|
+
readonly payment_schedule?:
|
|
437
|
+
| "adhoc"
|
|
438
|
+
| "annual"
|
|
439
|
+
| "daily"
|
|
440
|
+
| "fortnightly"
|
|
441
|
+
| "monthly"
|
|
442
|
+
| "quarterly"
|
|
443
|
+
| "semi_annual"
|
|
444
|
+
| "weekly"
|
|
445
|
+
| null;
|
|
446
|
+
readonly payments_per_period?: number | null;
|
|
447
|
+
readonly purpose?:
|
|
448
|
+
| "dependant_support"
|
|
449
|
+
| "government"
|
|
450
|
+
| "loan"
|
|
451
|
+
| "mortgage"
|
|
452
|
+
| "other"
|
|
453
|
+
| "pension"
|
|
454
|
+
| "personal"
|
|
455
|
+
| "retail"
|
|
456
|
+
| "salary"
|
|
457
|
+
| "tax"
|
|
458
|
+
| "utility"
|
|
459
|
+
| null;
|
|
460
|
+
} & { readonly [x: string]: Schema.Json };
|
|
461
|
+
export type Stripepayment_intent_payment_method_options_au_becs_debit = {
|
|
462
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
463
|
+
readonly target_date?: string;
|
|
464
|
+
} & { readonly [x: string]: Schema.Json };
|
|
465
|
+
export type Stripepayment_intent_payment_method_options_mandate_options_bacs_debit =
|
|
466
|
+
{ readonly reference_prefix?: string } & {
|
|
467
|
+
readonly [x: string]: Schema.Json;
|
|
468
|
+
};
|
|
469
|
+
export type Stripepayment_intent_payment_method_options_mandate_options_blik = {
|
|
470
|
+
readonly expires_at?: number | null;
|
|
471
|
+
readonly type?: "off_session" | null;
|
|
472
|
+
} & { readonly [x: string]: Schema.Json };
|
|
473
|
+
export type Stripepayment_intent_payment_method_options_eps = {
|
|
474
|
+
readonly setup_future_usage?: "none";
|
|
475
|
+
} & { readonly [x: string]: Schema.Json };
|
|
476
|
+
export type Stripepayment_intent_payment_method_options_link = {
|
|
477
|
+
readonly capture_method?: "manual";
|
|
478
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
479
|
+
} & { readonly [x: string]: Schema.Json };
|
|
480
|
+
export type Stripepayment_intent_payment_method_options_mobilepay = {
|
|
481
|
+
readonly capture_method?: "manual";
|
|
482
|
+
readonly setup_future_usage?: "none";
|
|
483
|
+
} & { readonly [x: string]: Schema.Json };
|
|
484
|
+
export type Stripepayment_intent_payment_method_options_nz_bank_account = {
|
|
485
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
486
|
+
readonly target_date?: string;
|
|
487
|
+
} & { readonly [x: string]: Schema.Json };
|
|
488
|
+
export type Stripepayment_intent_payment_method_options_mandate_options_sepa_debit =
|
|
489
|
+
{ readonly reference_prefix?: string } & {
|
|
490
|
+
readonly [x: string]: Schema.Json;
|
|
491
|
+
};
|
|
492
|
+
export type Stripepayment_intent_payment_method_options_swish = {
|
|
493
|
+
readonly reference?: string | null;
|
|
494
|
+
readonly setup_future_usage?: "none";
|
|
495
|
+
} & { readonly [x: string]: Schema.Json };
|
|
496
|
+
export type Stripepayment_intent_processing_customer_notification = {
|
|
497
|
+
readonly approval_requested?: boolean | null;
|
|
498
|
+
readonly completes_at?: number | null;
|
|
499
|
+
} & { readonly [x: string]: Schema.Json };
|
|
500
|
+
export type Stripepayment_intent_next_action_cashapp_handle_redirect_or_display_qr_code =
|
|
501
|
+
{
|
|
502
|
+
readonly hosted_instructions_url: string;
|
|
503
|
+
readonly mobile_auth_url: string;
|
|
504
|
+
readonly qr_code: Stripepayment_intent_next_action_cashapp_qr_code;
|
|
505
|
+
} & { readonly [x: string]: Schema.Json };
|
|
506
|
+
export type Stripepayment_intent_next_action_konbini_stores = {
|
|
507
|
+
readonly familymart?: Stripepayment_intent_next_action_konbini_familymart | null;
|
|
508
|
+
readonly lawson?: Stripepayment_intent_next_action_konbini_lawson | null;
|
|
509
|
+
readonly ministop?: Stripepayment_intent_next_action_konbini_ministop | null;
|
|
510
|
+
readonly seicomart?: Stripepayment_intent_next_action_konbini_seicomart | null;
|
|
511
|
+
} & { readonly [x: string]: Schema.Json };
|
|
512
|
+
export type Stripepayment_intent_next_action_swish_handle_redirect_or_display_qr_code =
|
|
513
|
+
{
|
|
514
|
+
readonly hosted_instructions_url: string;
|
|
515
|
+
readonly qr_code: Stripepayment_intent_next_action_swish_qr_code;
|
|
516
|
+
} & { readonly [x: string]: Schema.Json };
|
|
517
|
+
export type Stripepayment_intent_next_action_upi_handle_redirect_or_display_qr_code =
|
|
518
|
+
{
|
|
519
|
+
readonly hosted_instructions_url: string;
|
|
520
|
+
readonly qr_code: Stripepayment_intent_next_action_upiqr_code;
|
|
521
|
+
} & { readonly [x: string]: Schema.Json };
|
|
522
|
+
export type Stripepayment_intent_payment_method_options_acss_debit = {
|
|
523
|
+
readonly mandate_options?: Stripepayment_intent_payment_method_options_mandate_options_acss_debit;
|
|
524
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
525
|
+
readonly target_date?: string;
|
|
526
|
+
readonly verification_method?: "automatic" | "instant" | "microdeposits";
|
|
527
|
+
} & { readonly [x: string]: Schema.Json };
|
|
528
|
+
export type Stripepayment_intent_payment_method_options_payto = {
|
|
529
|
+
readonly mandate_options?: Stripepayment_intent_payment_method_options_mandate_options_payto;
|
|
530
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
531
|
+
} & { readonly [x: string]: Schema.Json };
|
|
532
|
+
export type Stripepayment_intent_payment_method_options_bacs_debit = {
|
|
533
|
+
readonly mandate_options?: Stripepayment_intent_payment_method_options_mandate_options_bacs_debit;
|
|
534
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
535
|
+
readonly target_date?: string;
|
|
536
|
+
} & { readonly [x: string]: Schema.Json };
|
|
537
|
+
export type Stripepayment_intent_payment_method_options_blik = {
|
|
538
|
+
readonly mandate_options?: Stripepayment_intent_payment_method_options_mandate_options_blik;
|
|
539
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
540
|
+
} & { readonly [x: string]: Schema.Json };
|
|
541
|
+
export type Stripepayment_intent_payment_method_options_sepa_debit = {
|
|
542
|
+
readonly mandate_options?: Stripepayment_intent_payment_method_options_mandate_options_sepa_debit;
|
|
543
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
544
|
+
readonly target_date?: string;
|
|
545
|
+
} & { readonly [x: string]: Schema.Json };
|
|
546
|
+
export type Stripepayment_intent_card_processing = {
|
|
547
|
+
readonly customer_notification?: Stripepayment_intent_processing_customer_notification;
|
|
548
|
+
} & { readonly [x: string]: Schema.Json };
|
|
549
|
+
export type Stripepayment_intent_amount_details_line_item = {
|
|
550
|
+
readonly discount_amount?: number | null;
|
|
551
|
+
readonly id: string;
|
|
552
|
+
readonly object: "payment_intent_amount_details_line_item";
|
|
553
|
+
readonly payment_method_options?: Stripepayment_flows_amount_details_resource_line_items_list_resource_line_item_resource_payment_method_options | null;
|
|
554
|
+
readonly product_code?: string | null;
|
|
555
|
+
readonly product_name: string;
|
|
556
|
+
readonly quantity: number;
|
|
557
|
+
readonly tax?: Stripepayment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax | null;
|
|
558
|
+
readonly unit_cost: number;
|
|
559
|
+
readonly unit_of_measure?: string | null;
|
|
560
|
+
} & { readonly [x: string]: Schema.Json };
|
|
561
|
+
export type Stripepayment_intent_type_specific_payment_method_options_client = {
|
|
562
|
+
readonly capture_method?: "automatic_delayed" | "manual" | "manual_preferred";
|
|
563
|
+
readonly installments?: Stripepayment_flows_installment_options;
|
|
564
|
+
readonly mandate_options?: Stripepayment_intent_payment_method_options_mandate_options_payto;
|
|
565
|
+
readonly request_incremental_authorization_support?: boolean;
|
|
566
|
+
readonly require_cvc_recollection?: boolean;
|
|
567
|
+
readonly routing?: Stripepayment_method_options_card_present_routing;
|
|
568
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
569
|
+
readonly verification_method?: "automatic" | "instant" | "microdeposits";
|
|
570
|
+
} & { readonly [x: string]: Schema.Json };
|
|
571
|
+
export type Stripepayment_intent_payment_method_options_card = {
|
|
572
|
+
readonly capture_method?: "manual";
|
|
573
|
+
readonly installments?: Stripepayment_method_options_card_installments | null;
|
|
574
|
+
readonly mandate_options?: Stripepayment_method_options_card_mandate_options | null;
|
|
575
|
+
readonly network?:
|
|
576
|
+
| "amex"
|
|
577
|
+
| "cartes_bancaires"
|
|
578
|
+
| "diners"
|
|
579
|
+
| "discover"
|
|
580
|
+
| "eftpos_au"
|
|
581
|
+
| "girocard"
|
|
582
|
+
| "interac"
|
|
583
|
+
| "jcb"
|
|
584
|
+
| "link"
|
|
585
|
+
| "mastercard"
|
|
586
|
+
| "unionpay"
|
|
587
|
+
| "unknown"
|
|
588
|
+
| "visa"
|
|
589
|
+
| null;
|
|
590
|
+
readonly request_extended_authorization?: "if_available" | "never";
|
|
591
|
+
readonly request_incremental_authorization?: "if_available" | "never";
|
|
592
|
+
readonly request_multicapture?: "if_available" | "never";
|
|
593
|
+
readonly request_overcapture?: "if_available" | "never";
|
|
594
|
+
readonly request_three_d_secure?: "any" | "automatic" | "challenge" | null;
|
|
595
|
+
readonly require_cvc_recollection?: boolean;
|
|
596
|
+
readonly setup_credential_usage?: "installment" | "recurring" | "unscheduled";
|
|
597
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
598
|
+
readonly statement_descriptor_suffix_kana?: string;
|
|
599
|
+
readonly statement_descriptor_suffix_kanji?: string;
|
|
600
|
+
readonly stored_credential_usage?:
|
|
601
|
+
| "installment"
|
|
602
|
+
| "recurring"
|
|
603
|
+
| "unscheduled";
|
|
604
|
+
} & { readonly [x: string]: Schema.Json };
|
|
605
|
+
export type Stripepayment_intent_next_action_konbini = {
|
|
606
|
+
readonly expires_at: number;
|
|
607
|
+
readonly hosted_voucher_url?: string | null;
|
|
608
|
+
readonly stores: Stripepayment_intent_next_action_konbini_stores;
|
|
609
|
+
} & { readonly [x: string]: Schema.Json };
|
|
610
|
+
export type Stripepayment_intent_payment_method_options_us_bank_account = {
|
|
611
|
+
readonly financial_connections?: Stripelinked_account_options_common;
|
|
612
|
+
readonly mandate_options?: Stripepayment_method_options_us_bank_account_mandate_options;
|
|
613
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
614
|
+
readonly target_date?: string;
|
|
615
|
+
readonly transaction_purpose?: "goods" | "other" | "services" | "unspecified";
|
|
616
|
+
readonly verification_method?: "automatic" | "instant" | "microdeposits";
|
|
617
|
+
} & { readonly [x: string]: Schema.Json };
|
|
618
|
+
export type Stripepayment_intent_processing = {
|
|
619
|
+
readonly card?: Stripepayment_intent_card_processing;
|
|
620
|
+
readonly type: "card";
|
|
621
|
+
} & { readonly [x: string]: Schema.Json };
|
|
622
|
+
export type Stripepayment_intent_next_action_display_bank_transfer_instructions =
|
|
623
|
+
{
|
|
624
|
+
readonly amount_remaining?: number | null;
|
|
625
|
+
readonly currency?: string | null;
|
|
626
|
+
readonly financial_addresses?: ReadonlyArray<Stripefunding_instructions_bank_transfer_financial_address>;
|
|
627
|
+
readonly hosted_instructions_url?: string | null;
|
|
628
|
+
readonly reference?: string | null;
|
|
629
|
+
readonly type:
|
|
630
|
+
| "eu_bank_transfer"
|
|
631
|
+
| "gb_bank_transfer"
|
|
632
|
+
| "jp_bank_transfer"
|
|
633
|
+
| "mx_bank_transfer"
|
|
634
|
+
| "us_bank_transfer";
|
|
635
|
+
} & { readonly [x: string]: Schema.Json };
|
|
636
|
+
export type Stripepayment_intent_payment_method_options = {
|
|
637
|
+
readonly acss_debit?:
|
|
638
|
+
| Stripepayment_intent_payment_method_options_acss_debit
|
|
639
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
640
|
+
readonly affirm?:
|
|
641
|
+
| Stripepayment_method_options_affirm
|
|
642
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
643
|
+
readonly afterpay_clearpay?:
|
|
644
|
+
| Stripepayment_method_options_afterpay_clearpay
|
|
645
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
646
|
+
readonly alipay?:
|
|
647
|
+
| Stripepayment_method_options_alipay
|
|
648
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
649
|
+
readonly alma?:
|
|
650
|
+
| Stripepayment_method_options_alma
|
|
651
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
652
|
+
readonly amazon_pay?:
|
|
653
|
+
| Stripepayment_method_options_amazon_pay
|
|
654
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
655
|
+
readonly au_becs_debit?:
|
|
656
|
+
| Stripepayment_intent_payment_method_options_au_becs_debit
|
|
657
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
658
|
+
readonly bacs_debit?:
|
|
659
|
+
| Stripepayment_intent_payment_method_options_bacs_debit
|
|
660
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
661
|
+
readonly bancontact?:
|
|
662
|
+
| Stripepayment_method_options_bancontact
|
|
663
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
664
|
+
readonly billie?:
|
|
665
|
+
| Stripepayment_method_options_billie
|
|
666
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
667
|
+
readonly bizum?:
|
|
668
|
+
| Stripepayment_method_options_bizum
|
|
669
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
670
|
+
readonly blik?:
|
|
671
|
+
| Stripepayment_intent_payment_method_options_blik
|
|
672
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
673
|
+
readonly boleto?:
|
|
674
|
+
| Stripepayment_method_options_boleto
|
|
675
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
676
|
+
readonly card?:
|
|
677
|
+
| Stripepayment_intent_payment_method_options_card
|
|
678
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
679
|
+
readonly card_present?:
|
|
680
|
+
| Stripepayment_method_options_card_present
|
|
681
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
682
|
+
readonly cashapp?:
|
|
683
|
+
| Stripepayment_method_options_cashapp
|
|
684
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
685
|
+
readonly crypto?:
|
|
686
|
+
| Stripepayment_method_options_crypto
|
|
687
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
688
|
+
readonly customer_balance?:
|
|
689
|
+
| Stripepayment_method_options_customer_balance
|
|
690
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
691
|
+
readonly eps?:
|
|
692
|
+
| Stripepayment_intent_payment_method_options_eps
|
|
693
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
694
|
+
readonly fpx?:
|
|
695
|
+
| Stripepayment_method_options_fpx
|
|
696
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
697
|
+
readonly giropay?:
|
|
698
|
+
| Stripepayment_method_options_giropay
|
|
699
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
700
|
+
readonly grabpay?:
|
|
701
|
+
| Stripepayment_method_options_grabpay
|
|
702
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
703
|
+
readonly ideal?:
|
|
704
|
+
| Stripepayment_method_options_ideal
|
|
705
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
706
|
+
readonly interac_present?:
|
|
707
|
+
| Stripepayment_method_options_interac_present
|
|
708
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
709
|
+
readonly kakao_pay?:
|
|
710
|
+
| Stripepayment_flows_private_payment_methods_kakao_pay_payment_method_options
|
|
711
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
712
|
+
readonly klarna?:
|
|
713
|
+
| Stripepayment_method_options_klarna
|
|
714
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
715
|
+
readonly konbini?:
|
|
716
|
+
| Stripepayment_method_options_konbini
|
|
717
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
718
|
+
readonly kr_card?:
|
|
719
|
+
| Stripepayment_method_options_kr_card
|
|
720
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
721
|
+
readonly link?:
|
|
722
|
+
| Stripepayment_intent_payment_method_options_link
|
|
723
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
724
|
+
readonly mb_way?:
|
|
725
|
+
| Stripepayment_method_options_mb_way
|
|
726
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
727
|
+
readonly mobilepay?:
|
|
728
|
+
| Stripepayment_intent_payment_method_options_mobilepay
|
|
729
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
730
|
+
readonly multibanco?:
|
|
731
|
+
| Stripepayment_method_options_multibanco
|
|
732
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
733
|
+
readonly naver_pay?:
|
|
734
|
+
| Stripepayment_flows_private_payment_methods_naver_pay_payment_method_options
|
|
735
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
736
|
+
readonly nz_bank_account?:
|
|
737
|
+
| Stripepayment_intent_payment_method_options_nz_bank_account
|
|
738
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
739
|
+
readonly oxxo?:
|
|
740
|
+
| Stripepayment_method_options_oxxo
|
|
741
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
742
|
+
readonly p24?:
|
|
743
|
+
| Stripepayment_method_options_p24
|
|
744
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
745
|
+
readonly pay_by_bank?:
|
|
746
|
+
| Stripepayment_method_options_pay_by_bank
|
|
747
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
748
|
+
readonly payco?:
|
|
749
|
+
| Stripepayment_flows_private_payment_methods_payco_payment_method_options
|
|
750
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
751
|
+
readonly paynow?:
|
|
752
|
+
| Stripepayment_method_options_paynow
|
|
753
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
754
|
+
readonly paypal?:
|
|
755
|
+
| Stripepayment_method_options_paypal
|
|
756
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
757
|
+
readonly paypay?:
|
|
758
|
+
| Stripepayment_method_options_paypay
|
|
759
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
760
|
+
readonly payto?:
|
|
761
|
+
| Stripepayment_intent_payment_method_options_payto
|
|
762
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
763
|
+
readonly pix?:
|
|
764
|
+
| Stripepayment_method_options_pix
|
|
765
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
766
|
+
readonly promptpay?:
|
|
767
|
+
| Stripepayment_method_options_promptpay
|
|
768
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
769
|
+
readonly revolut_pay?:
|
|
770
|
+
| Stripepayment_method_options_revolut_pay
|
|
771
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
772
|
+
readonly samsung_pay?:
|
|
773
|
+
| Stripepayment_flows_private_payment_methods_samsung_pay_payment_method_options
|
|
774
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
775
|
+
readonly satispay?:
|
|
776
|
+
| Stripepayment_method_options_satispay
|
|
777
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
778
|
+
readonly scalapay?:
|
|
779
|
+
| Stripepayment_method_options_scalapay
|
|
780
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
781
|
+
readonly sepa_debit?:
|
|
782
|
+
| Stripepayment_intent_payment_method_options_sepa_debit
|
|
783
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
784
|
+
readonly sequra?:
|
|
785
|
+
| Stripepayment_method_options_sequra
|
|
786
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
787
|
+
readonly sofort?:
|
|
788
|
+
| Stripepayment_method_options_sofort
|
|
789
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
790
|
+
readonly sunbit?:
|
|
791
|
+
| Stripepayment_method_options_sunbit
|
|
792
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
793
|
+
readonly swish?:
|
|
794
|
+
| Stripepayment_intent_payment_method_options_swish
|
|
795
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
796
|
+
readonly twint?:
|
|
797
|
+
| Stripepayment_method_options_twint
|
|
798
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
799
|
+
readonly upi?:
|
|
800
|
+
| Stripepayment_method_options_upi
|
|
801
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
802
|
+
readonly us_bank_account?:
|
|
803
|
+
| Stripepayment_intent_payment_method_options_us_bank_account
|
|
804
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
805
|
+
readonly wechat_pay?:
|
|
806
|
+
| Stripepayment_method_options_wechat_pay
|
|
807
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
808
|
+
readonly zip?:
|
|
809
|
+
| Stripepayment_method_options_zip
|
|
810
|
+
| Stripepayment_intent_type_specific_payment_method_options_client;
|
|
811
|
+
} & { readonly [x: string]: Schema.Json };
|
|
812
|
+
export type Stripepayment_intent_next_action = {
|
|
813
|
+
readonly alipay_handle_redirect?: Stripepayment_intent_next_action_alipay_handle_redirect;
|
|
814
|
+
readonly blik_authorize?: Stripepayment_intent_next_action_blik_authorize;
|
|
815
|
+
readonly boleto_display_details?: Stripepayment_intent_next_action_boleto;
|
|
816
|
+
readonly card_await_notification?: Stripepayment_intent_next_action_card_await_notification;
|
|
817
|
+
readonly cashapp_handle_redirect_or_display_qr_code?: Stripepayment_intent_next_action_cashapp_handle_redirect_or_display_qr_code;
|
|
818
|
+
readonly display_bank_transfer_instructions?: Stripepayment_intent_next_action_display_bank_transfer_instructions;
|
|
819
|
+
readonly klarna_display_qr_code?: Stripepayment_intent_next_action_klarna_display_qr_code;
|
|
820
|
+
readonly konbini_display_details?: Stripepayment_intent_next_action_konbini;
|
|
821
|
+
readonly multibanco_display_details?: Stripepayment_intent_next_action_display_multibanco_details;
|
|
822
|
+
readonly oxxo_display_details?: Stripepayment_intent_next_action_display_oxxo_details;
|
|
823
|
+
readonly paynow_display_qr_code?: Stripepayment_intent_next_action_paynow_display_qr_code;
|
|
824
|
+
readonly pix_display_qr_code?: Stripepayment_intent_next_action_pix_display_qr_code;
|
|
825
|
+
readonly promptpay_display_qr_code?: Stripepayment_intent_next_action_promptpay_display_qr_code;
|
|
826
|
+
readonly redirect_to_url?: Stripepayment_intent_next_action_redirect_to_url;
|
|
827
|
+
readonly swish_handle_redirect_or_display_qr_code?: Stripepayment_intent_next_action_swish_handle_redirect_or_display_qr_code;
|
|
828
|
+
readonly type: string;
|
|
829
|
+
readonly upi_handle_redirect_or_display_qr_code?: Stripepayment_intent_next_action_upi_handle_redirect_or_display_qr_code;
|
|
830
|
+
readonly use_stripe_sdk?: { readonly [x: string]: Schema.Json };
|
|
831
|
+
readonly verify_with_microdeposits?: Stripepayment_intent_next_action_verify_with_microdeposits;
|
|
832
|
+
readonly wechat_pay_display_qr_code?: Stripepayment_intent_next_action_wechat_pay_display_qr_code;
|
|
833
|
+
readonly wechat_pay_redirect_to_android_app?: Stripepayment_intent_next_action_wechat_pay_redirect_to_android_app;
|
|
834
|
+
readonly wechat_pay_redirect_to_ios_app?: Stripepayment_intent_next_action_wechat_pay_redirect_to_ios_app;
|
|
835
|
+
} & { readonly [x: string]: Schema.Json };
|
|
836
|
+
|
|
837
|
+
export const Stripepayment_intent = Schema.suspend(
|
|
838
|
+
(): Schema.Codec<Stripepayment_intent> =>
|
|
839
|
+
Schema.StructWithRest(
|
|
840
|
+
Schema.Struct({
|
|
841
|
+
allowed_payment_method_types: Schema.optionalKey(
|
|
842
|
+
Schema.Union([
|
|
843
|
+
Schema.Array(
|
|
844
|
+
Schema.Literals([
|
|
845
|
+
"acss_debit",
|
|
846
|
+
"affirm",
|
|
847
|
+
"afterpay_clearpay",
|
|
848
|
+
"alipay",
|
|
849
|
+
"alma",
|
|
850
|
+
"amazon_pay",
|
|
851
|
+
"au_becs_debit",
|
|
852
|
+
"bacs_debit",
|
|
853
|
+
"bancontact",
|
|
854
|
+
"billie",
|
|
855
|
+
"bizum",
|
|
856
|
+
"blik",
|
|
857
|
+
"boku_promptpay",
|
|
858
|
+
"boleto",
|
|
859
|
+
"capchase_pay",
|
|
860
|
+
"card",
|
|
861
|
+
"card_present",
|
|
862
|
+
"cashapp",
|
|
863
|
+
"check_scan",
|
|
864
|
+
"click_to_pay",
|
|
865
|
+
"crypto",
|
|
866
|
+
"customer_balance",
|
|
867
|
+
"demo_pay",
|
|
868
|
+
"duitnow",
|
|
869
|
+
"dummy_auth_push",
|
|
870
|
+
"dummy_passthrough_card",
|
|
871
|
+
"edenred",
|
|
872
|
+
"eps",
|
|
873
|
+
"fpx",
|
|
874
|
+
"gcash",
|
|
875
|
+
"getbalance",
|
|
876
|
+
"gift_card",
|
|
877
|
+
"giropay",
|
|
878
|
+
"gopay",
|
|
879
|
+
"grabpay",
|
|
880
|
+
"id_bank_transfer",
|
|
881
|
+
"ideal",
|
|
882
|
+
"interac_present",
|
|
883
|
+
"kakao_pay",
|
|
884
|
+
"klarna",
|
|
885
|
+
"knet",
|
|
886
|
+
"konbini",
|
|
887
|
+
"kr_card",
|
|
888
|
+
"kr_market",
|
|
889
|
+
"kriya",
|
|
890
|
+
"link",
|
|
891
|
+
"mb_way",
|
|
892
|
+
"mobilepay",
|
|
893
|
+
"momo",
|
|
894
|
+
"mondu",
|
|
895
|
+
"multibanco",
|
|
896
|
+
"naver_pay",
|
|
897
|
+
"netbanking",
|
|
898
|
+
"ng_bank",
|
|
899
|
+
"ng_bank_transfer",
|
|
900
|
+
"ng_card",
|
|
901
|
+
"ng_market",
|
|
902
|
+
"ng_ussd",
|
|
903
|
+
"ng_wallet",
|
|
904
|
+
"nz_bank_account",
|
|
905
|
+
"octopus",
|
|
906
|
+
"oxxo",
|
|
907
|
+
"p24",
|
|
908
|
+
"paper_check",
|
|
909
|
+
"pay_by_bank",
|
|
910
|
+
"payco",
|
|
911
|
+
"paynow",
|
|
912
|
+
"paypal",
|
|
913
|
+
"paypay",
|
|
914
|
+
"payto",
|
|
915
|
+
"pix",
|
|
916
|
+
"promptpay",
|
|
917
|
+
"qris",
|
|
918
|
+
"rechnung",
|
|
919
|
+
"revolut_pay",
|
|
920
|
+
"samsung_pay",
|
|
921
|
+
"satispay",
|
|
922
|
+
"scalapay",
|
|
923
|
+
"sepa_debit",
|
|
924
|
+
"sequra",
|
|
925
|
+
"shop_pay",
|
|
926
|
+
"shopeepay",
|
|
927
|
+
"sofort",
|
|
928
|
+
"south_korea_market",
|
|
929
|
+
"stripe_balance",
|
|
930
|
+
"sunbit",
|
|
931
|
+
"swish",
|
|
932
|
+
"tamara",
|
|
933
|
+
"test_pay",
|
|
934
|
+
"touch_n_go",
|
|
935
|
+
"truemoney",
|
|
936
|
+
"twint",
|
|
937
|
+
"upi",
|
|
938
|
+
"us_bank_account",
|
|
939
|
+
"us_cash_voucher",
|
|
940
|
+
"vipps",
|
|
941
|
+
"wechat_pay",
|
|
942
|
+
"wero",
|
|
943
|
+
"zip",
|
|
944
|
+
]),
|
|
945
|
+
).annotate({
|
|
946
|
+
description:
|
|
947
|
+
"The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.",
|
|
948
|
+
}),
|
|
949
|
+
Schema.Null,
|
|
950
|
+
]),
|
|
951
|
+
),
|
|
952
|
+
amount: Schema.optionalKey(
|
|
953
|
+
Schema.Number.annotate({
|
|
954
|
+
description:
|
|
955
|
+
"Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).",
|
|
956
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
957
|
+
),
|
|
958
|
+
amount_capturable: Schema.optionalKey(
|
|
959
|
+
Schema.Number.annotate({
|
|
960
|
+
description: "Amount that can be captured from this PaymentIntent.",
|
|
961
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
962
|
+
),
|
|
963
|
+
amount_details: Schema.optionalKey(
|
|
964
|
+
Schema.Union([
|
|
965
|
+
Stripepayment_flows_amount_details,
|
|
966
|
+
Stripepayment_flows_amount_details_client,
|
|
967
|
+
]),
|
|
968
|
+
),
|
|
969
|
+
amount_received: Schema.optionalKey(
|
|
970
|
+
Schema.Number.annotate({
|
|
971
|
+
description: "Amount that this PaymentIntent collects.",
|
|
972
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
973
|
+
),
|
|
974
|
+
application: Schema.optionalKey(
|
|
975
|
+
Schema.Union([
|
|
976
|
+
Schema.Union([
|
|
977
|
+
Schema.String.check(
|
|
978
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
979
|
+
expected: "a string with at most 5000 code points",
|
|
980
|
+
}),
|
|
981
|
+
),
|
|
982
|
+
Stripeapplication,
|
|
983
|
+
]).annotate({
|
|
984
|
+
description:
|
|
985
|
+
"ID of the Connect application that created the PaymentIntent.",
|
|
986
|
+
}),
|
|
987
|
+
Schema.Null,
|
|
988
|
+
]),
|
|
989
|
+
),
|
|
990
|
+
application_fee_amount: Schema.optionalKey(
|
|
991
|
+
Schema.Union([
|
|
992
|
+
Schema.Number.annotate({
|
|
993
|
+
description:
|
|
994
|
+
"The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).",
|
|
995
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
996
|
+
Schema.Null,
|
|
997
|
+
]),
|
|
998
|
+
),
|
|
999
|
+
automatic_payment_methods: Schema.optionalKey(
|
|
1000
|
+
Schema.Union([
|
|
1001
|
+
Schema.Union([
|
|
1002
|
+
Stripepayment_flows_automatic_payment_methods_payment_intent,
|
|
1003
|
+
]).annotate({
|
|
1004
|
+
description:
|
|
1005
|
+
"Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)",
|
|
1006
|
+
}),
|
|
1007
|
+
Schema.Null,
|
|
1008
|
+
]),
|
|
1009
|
+
),
|
|
1010
|
+
canceled_at: Schema.optionalKey(
|
|
1011
|
+
Schema.Union([
|
|
1012
|
+
Schema.Number.annotate({
|
|
1013
|
+
description:
|
|
1014
|
+
"Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.",
|
|
1015
|
+
format: "unix-time",
|
|
1016
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1017
|
+
Schema.Null,
|
|
1018
|
+
]),
|
|
1019
|
+
),
|
|
1020
|
+
cancellation_reason: Schema.optionalKey(
|
|
1021
|
+
Schema.Union([
|
|
1022
|
+
Schema.Literals([
|
|
1023
|
+
"abandoned",
|
|
1024
|
+
"automatic",
|
|
1025
|
+
"duplicate",
|
|
1026
|
+
"expired",
|
|
1027
|
+
"failed_invoice",
|
|
1028
|
+
"fraudulent",
|
|
1029
|
+
"requested_by_customer",
|
|
1030
|
+
"void_invoice",
|
|
1031
|
+
]).annotate({
|
|
1032
|
+
description:
|
|
1033
|
+
"Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).",
|
|
1034
|
+
}),
|
|
1035
|
+
Schema.Null,
|
|
1036
|
+
]),
|
|
1037
|
+
),
|
|
1038
|
+
capture_method: Schema.optionalKey(
|
|
1039
|
+
Schema.Literals(["automatic", "automatic_async", "manual"]).annotate({
|
|
1040
|
+
description:
|
|
1041
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
1042
|
+
}),
|
|
1043
|
+
),
|
|
1044
|
+
client_secret: Schema.optionalKey(
|
|
1045
|
+
Schema.Union([
|
|
1046
|
+
Schema.String.annotate({
|
|
1047
|
+
description:
|
|
1048
|
+
"The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. \n\nThe client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.\n\nRefer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.",
|
|
1049
|
+
}).check(
|
|
1050
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1051
|
+
expected: "a string with at most 5000 code points",
|
|
1052
|
+
}),
|
|
1053
|
+
),
|
|
1054
|
+
Schema.Null,
|
|
1055
|
+
]),
|
|
1056
|
+
),
|
|
1057
|
+
confirmation_method: Schema.optionalKey(
|
|
1058
|
+
Schema.Literals(["automatic", "manual"]).annotate({
|
|
1059
|
+
description:
|
|
1060
|
+
"Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.",
|
|
1061
|
+
}),
|
|
1062
|
+
),
|
|
1063
|
+
created: Schema.Number.annotate({
|
|
1064
|
+
description:
|
|
1065
|
+
"Time at which the object was created. Measured in seconds since the Unix epoch.",
|
|
1066
|
+
format: "unix-time",
|
|
1067
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1068
|
+
currency: Schema.optionalKey(
|
|
1069
|
+
Schema.String.annotate({
|
|
1070
|
+
description:
|
|
1071
|
+
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
|
|
1072
|
+
format: "currency",
|
|
1073
|
+
}),
|
|
1074
|
+
),
|
|
1075
|
+
customer: Schema.optionalKey(
|
|
1076
|
+
Schema.Union([
|
|
1077
|
+
Schema.Union([
|
|
1078
|
+
Schema.String.check(
|
|
1079
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1080
|
+
expected: "a string with at most 5000 code points",
|
|
1081
|
+
}),
|
|
1082
|
+
),
|
|
1083
|
+
Schema.suspend(
|
|
1084
|
+
(): Schema.Codec<Stripecustomer> => Stripecustomer,
|
|
1085
|
+
),
|
|
1086
|
+
Stripedeleted_customer,
|
|
1087
|
+
]).annotate({
|
|
1088
|
+
description:
|
|
1089
|
+
"ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.",
|
|
1090
|
+
}),
|
|
1091
|
+
Schema.Null,
|
|
1092
|
+
]),
|
|
1093
|
+
),
|
|
1094
|
+
customer_account: Schema.optionalKey(
|
|
1095
|
+
Schema.Union([
|
|
1096
|
+
Schema.String.annotate({
|
|
1097
|
+
description:
|
|
1098
|
+
"ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Accounts cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.",
|
|
1099
|
+
}).check(
|
|
1100
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1101
|
+
expected: "a string with at most 5000 code points",
|
|
1102
|
+
}),
|
|
1103
|
+
),
|
|
1104
|
+
Schema.Null,
|
|
1105
|
+
]),
|
|
1106
|
+
),
|
|
1107
|
+
description: Schema.optionalKey(
|
|
1108
|
+
Schema.Union([
|
|
1109
|
+
Schema.String.annotate({
|
|
1110
|
+
description:
|
|
1111
|
+
"An arbitrary string attached to the object. Often useful for displaying to users.",
|
|
1112
|
+
}).check(
|
|
1113
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1114
|
+
expected: "a string with at most 5000 code points",
|
|
1115
|
+
}),
|
|
1116
|
+
),
|
|
1117
|
+
Schema.Null,
|
|
1118
|
+
]),
|
|
1119
|
+
),
|
|
1120
|
+
excluded_payment_method_types: Schema.optionalKey(
|
|
1121
|
+
Schema.Union([
|
|
1122
|
+
Schema.Array(
|
|
1123
|
+
Schema.Literals([
|
|
1124
|
+
"acss_debit",
|
|
1125
|
+
"affirm",
|
|
1126
|
+
"afterpay_clearpay",
|
|
1127
|
+
"alipay",
|
|
1128
|
+
"alma",
|
|
1129
|
+
"amazon_pay",
|
|
1130
|
+
"au_becs_debit",
|
|
1131
|
+
"bacs_debit",
|
|
1132
|
+
"bancontact",
|
|
1133
|
+
"billie",
|
|
1134
|
+
"bizum",
|
|
1135
|
+
"blik",
|
|
1136
|
+
"boleto",
|
|
1137
|
+
"card",
|
|
1138
|
+
"cashapp",
|
|
1139
|
+
"crypto",
|
|
1140
|
+
"customer_balance",
|
|
1141
|
+
"eps",
|
|
1142
|
+
"fpx",
|
|
1143
|
+
"giropay",
|
|
1144
|
+
"grabpay",
|
|
1145
|
+
"ideal",
|
|
1146
|
+
"kakao_pay",
|
|
1147
|
+
"klarna",
|
|
1148
|
+
"konbini",
|
|
1149
|
+
"kr_card",
|
|
1150
|
+
"mb_way",
|
|
1151
|
+
"mobilepay",
|
|
1152
|
+
"multibanco",
|
|
1153
|
+
"naver_pay",
|
|
1154
|
+
"nz_bank_account",
|
|
1155
|
+
"oxxo",
|
|
1156
|
+
"p24",
|
|
1157
|
+
"pay_by_bank",
|
|
1158
|
+
"payco",
|
|
1159
|
+
"paynow",
|
|
1160
|
+
"paypal",
|
|
1161
|
+
"paypay",
|
|
1162
|
+
"payto",
|
|
1163
|
+
"pix",
|
|
1164
|
+
"promptpay",
|
|
1165
|
+
"revolut_pay",
|
|
1166
|
+
"samsung_pay",
|
|
1167
|
+
"satispay",
|
|
1168
|
+
"scalapay",
|
|
1169
|
+
"sepa_debit",
|
|
1170
|
+
"sequra",
|
|
1171
|
+
"sofort",
|
|
1172
|
+
"sunbit",
|
|
1173
|
+
"swish",
|
|
1174
|
+
"twint",
|
|
1175
|
+
"upi",
|
|
1176
|
+
"us_bank_account",
|
|
1177
|
+
"wechat_pay",
|
|
1178
|
+
"zip",
|
|
1179
|
+
]),
|
|
1180
|
+
).annotate({
|
|
1181
|
+
description:
|
|
1182
|
+
"The list of payment method types to exclude from use with this payment.",
|
|
1183
|
+
}),
|
|
1184
|
+
Schema.Null,
|
|
1185
|
+
]),
|
|
1186
|
+
),
|
|
1187
|
+
hooks: Schema.optionalKey(
|
|
1188
|
+
Stripepayment_flows_payment_intent_async_workflows,
|
|
1189
|
+
),
|
|
1190
|
+
id: Schema.String.annotate({
|
|
1191
|
+
description: "Unique identifier for the object.",
|
|
1192
|
+
}).check(
|
|
1193
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1194
|
+
expected: "a string with at most 5000 code points",
|
|
1195
|
+
}),
|
|
1196
|
+
),
|
|
1197
|
+
last_payment_error: Schema.optionalKey(
|
|
1198
|
+
Schema.Union([
|
|
1199
|
+
Schema.Union([
|
|
1200
|
+
Schema.suspend(
|
|
1201
|
+
(): Schema.Codec<Stripeapi_errors> => Stripeapi_errors,
|
|
1202
|
+
),
|
|
1203
|
+
]).annotate({
|
|
1204
|
+
description:
|
|
1205
|
+
"The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.",
|
|
1206
|
+
}),
|
|
1207
|
+
Schema.Null,
|
|
1208
|
+
]),
|
|
1209
|
+
),
|
|
1210
|
+
latest_charge: Schema.optionalKey(
|
|
1211
|
+
Schema.Union([
|
|
1212
|
+
Schema.Union([
|
|
1213
|
+
Schema.String.check(
|
|
1214
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1215
|
+
expected: "a string with at most 5000 code points",
|
|
1216
|
+
}),
|
|
1217
|
+
),
|
|
1218
|
+
Schema.suspend((): Schema.Codec<Stripecharge> => Stripecharge),
|
|
1219
|
+
]).annotate({
|
|
1220
|
+
description:
|
|
1221
|
+
"ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.",
|
|
1222
|
+
}),
|
|
1223
|
+
Schema.Null,
|
|
1224
|
+
]),
|
|
1225
|
+
),
|
|
1226
|
+
livemode: Schema.Boolean.annotate({
|
|
1227
|
+
description:
|
|
1228
|
+
"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.",
|
|
1229
|
+
}),
|
|
1230
|
+
managed_payments: Schema.optionalKey(
|
|
1231
|
+
Schema.Union([
|
|
1232
|
+
Schema.Union([Stripesmor_resource_managed_payments]).annotate({
|
|
1233
|
+
description: "Settings for Managed Payments.",
|
|
1234
|
+
}),
|
|
1235
|
+
Schema.Null,
|
|
1236
|
+
]),
|
|
1237
|
+
),
|
|
1238
|
+
metadata: Schema.optionalKey(
|
|
1239
|
+
Schema.Record(
|
|
1240
|
+
Schema.String,
|
|
1241
|
+
Schema.String.check(
|
|
1242
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
1243
|
+
expected: "a string with at most 500 code points",
|
|
1244
|
+
}),
|
|
1245
|
+
),
|
|
1246
|
+
).annotate({
|
|
1247
|
+
description:
|
|
1248
|
+
"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).",
|
|
1249
|
+
}),
|
|
1250
|
+
),
|
|
1251
|
+
next_action: Schema.optionalKey(
|
|
1252
|
+
Schema.Union([
|
|
1253
|
+
Schema.Union([Stripepayment_intent_next_action]).annotate({
|
|
1254
|
+
description:
|
|
1255
|
+
"If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.",
|
|
1256
|
+
}),
|
|
1257
|
+
Schema.Null,
|
|
1258
|
+
]),
|
|
1259
|
+
),
|
|
1260
|
+
object: Schema.Literal("payment_intent").annotate({
|
|
1261
|
+
description:
|
|
1262
|
+
"String representing the object's type. Objects of the same type share the same value.",
|
|
1263
|
+
}),
|
|
1264
|
+
on_behalf_of: Schema.optionalKey(
|
|
1265
|
+
Schema.Union([
|
|
1266
|
+
Schema.Union([
|
|
1267
|
+
Schema.String.check(
|
|
1268
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1269
|
+
expected: "a string with at most 5000 code points",
|
|
1270
|
+
}),
|
|
1271
|
+
),
|
|
1272
|
+
Schema.suspend((): Schema.Codec<Stripeaccount> => Stripeaccount),
|
|
1273
|
+
]).annotate({
|
|
1274
|
+
description:
|
|
1275
|
+
"You can specify the settlement merchant as the\nconnected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.",
|
|
1276
|
+
}),
|
|
1277
|
+
Schema.Null,
|
|
1278
|
+
]),
|
|
1279
|
+
),
|
|
1280
|
+
payment_details: Schema.optionalKey(
|
|
1281
|
+
Stripepayment_flows_payment_details,
|
|
1282
|
+
),
|
|
1283
|
+
payment_method: Schema.optionalKey(
|
|
1284
|
+
Schema.Union([
|
|
1285
|
+
Schema.Union([
|
|
1286
|
+
Schema.String.check(
|
|
1287
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1288
|
+
expected: "a string with at most 5000 code points",
|
|
1289
|
+
}),
|
|
1290
|
+
),
|
|
1291
|
+
Schema.suspend(
|
|
1292
|
+
(): Schema.Codec<Stripepayment_method> => Stripepayment_method,
|
|
1293
|
+
),
|
|
1294
|
+
]).annotate({
|
|
1295
|
+
description:
|
|
1296
|
+
"ID of the payment method used in this PaymentIntent.",
|
|
1297
|
+
}),
|
|
1298
|
+
Schema.Null,
|
|
1299
|
+
]),
|
|
1300
|
+
),
|
|
1301
|
+
payment_method_configuration_details: Schema.optionalKey(
|
|
1302
|
+
Schema.Union([
|
|
1303
|
+
Schema.Union([
|
|
1304
|
+
Stripepayment_method_config_biz_payment_method_configuration_details,
|
|
1305
|
+
]).annotate({
|
|
1306
|
+
description:
|
|
1307
|
+
"Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.",
|
|
1308
|
+
}),
|
|
1309
|
+
Schema.Null,
|
|
1310
|
+
]),
|
|
1311
|
+
),
|
|
1312
|
+
payment_method_options: Schema.optionalKey(
|
|
1313
|
+
Schema.Union([
|
|
1314
|
+
Schema.Union([
|
|
1315
|
+
Stripepayment_intent_payment_method_options,
|
|
1316
|
+
]).annotate({
|
|
1317
|
+
description:
|
|
1318
|
+
"Payment-method-specific configuration for this PaymentIntent.",
|
|
1319
|
+
}),
|
|
1320
|
+
Schema.Null,
|
|
1321
|
+
]),
|
|
1322
|
+
),
|
|
1323
|
+
payment_method_types: Schema.optionalKey(
|
|
1324
|
+
Schema.Array(
|
|
1325
|
+
Schema.String.check(
|
|
1326
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1327
|
+
expected: "a string with at most 5000 code points",
|
|
1328
|
+
}),
|
|
1329
|
+
),
|
|
1330
|
+
).annotate({
|
|
1331
|
+
description:
|
|
1332
|
+
"The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).",
|
|
1333
|
+
}),
|
|
1334
|
+
),
|
|
1335
|
+
payment_record: Schema.optionalKey(
|
|
1336
|
+
Schema.Union([
|
|
1337
|
+
Schema.Union([
|
|
1338
|
+
Schema.String.check(
|
|
1339
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1340
|
+
expected: "a string with at most 5000 code points",
|
|
1341
|
+
}),
|
|
1342
|
+
),
|
|
1343
|
+
Schema.suspend(
|
|
1344
|
+
(): Schema.Codec<Stripepayment_record> => Stripepayment_record,
|
|
1345
|
+
),
|
|
1346
|
+
]).annotate({
|
|
1347
|
+
description:
|
|
1348
|
+
"ID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.",
|
|
1349
|
+
}),
|
|
1350
|
+
Schema.Null,
|
|
1351
|
+
]),
|
|
1352
|
+
),
|
|
1353
|
+
presentment_details: Schema.optionalKey(
|
|
1354
|
+
Stripepayment_flows_payment_intent_presentment_details,
|
|
1355
|
+
),
|
|
1356
|
+
processing: Schema.optionalKey(
|
|
1357
|
+
Schema.Union([
|
|
1358
|
+
Schema.Union([Stripepayment_intent_processing]).annotate({
|
|
1359
|
+
description:
|
|
1360
|
+
"If present, this property tells you about the processing state of the payment.",
|
|
1361
|
+
}),
|
|
1362
|
+
Schema.Null,
|
|
1363
|
+
]),
|
|
1364
|
+
),
|
|
1365
|
+
receipt_email: Schema.optionalKey(
|
|
1366
|
+
Schema.Union([
|
|
1367
|
+
Schema.String.annotate({
|
|
1368
|
+
description:
|
|
1369
|
+
"Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).",
|
|
1370
|
+
}).check(
|
|
1371
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1372
|
+
expected: "a string with at most 5000 code points",
|
|
1373
|
+
}),
|
|
1374
|
+
),
|
|
1375
|
+
Schema.Null,
|
|
1376
|
+
]),
|
|
1377
|
+
),
|
|
1378
|
+
review: Schema.optionalKey(
|
|
1379
|
+
Schema.Union([
|
|
1380
|
+
Schema.Union([
|
|
1381
|
+
Schema.String.check(
|
|
1382
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1383
|
+
expected: "a string with at most 5000 code points",
|
|
1384
|
+
}),
|
|
1385
|
+
),
|
|
1386
|
+
Schema.suspend((): Schema.Codec<Stripereview> => Stripereview),
|
|
1387
|
+
]).annotate({
|
|
1388
|
+
description:
|
|
1389
|
+
"ID of the review associated with this PaymentIntent, if any.",
|
|
1390
|
+
}),
|
|
1391
|
+
Schema.Null,
|
|
1392
|
+
]),
|
|
1393
|
+
),
|
|
1394
|
+
setup_future_usage: Schema.optionalKey(
|
|
1395
|
+
Schema.Union([
|
|
1396
|
+
Schema.Literals(["off_session", "on_session"]).annotate({
|
|
1397
|
+
description:
|
|
1398
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
1399
|
+
}),
|
|
1400
|
+
Schema.Null,
|
|
1401
|
+
]),
|
|
1402
|
+
),
|
|
1403
|
+
shipping: Schema.optionalKey(
|
|
1404
|
+
Schema.Union([
|
|
1405
|
+
Schema.Union([Stripeshipping]).annotate({
|
|
1406
|
+
description: "Shipping information for this PaymentIntent.",
|
|
1407
|
+
}),
|
|
1408
|
+
Schema.Null,
|
|
1409
|
+
]),
|
|
1410
|
+
),
|
|
1411
|
+
statement_descriptor: Schema.optionalKey(
|
|
1412
|
+
Schema.Union([
|
|
1413
|
+
Schema.String.annotate({
|
|
1414
|
+
description:
|
|
1415
|
+
"Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.",
|
|
1416
|
+
}).check(
|
|
1417
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1418
|
+
expected: "a string with at most 5000 code points",
|
|
1419
|
+
}),
|
|
1420
|
+
),
|
|
1421
|
+
Schema.Null,
|
|
1422
|
+
]),
|
|
1423
|
+
),
|
|
1424
|
+
statement_descriptor_suffix: Schema.optionalKey(
|
|
1425
|
+
Schema.Union([
|
|
1426
|
+
Schema.String.annotate({
|
|
1427
|
+
description:
|
|
1428
|
+
"Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.",
|
|
1429
|
+
}).check(
|
|
1430
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1431
|
+
expected: "a string with at most 5000 code points",
|
|
1432
|
+
}),
|
|
1433
|
+
),
|
|
1434
|
+
Schema.Null,
|
|
1435
|
+
]),
|
|
1436
|
+
),
|
|
1437
|
+
status: Schema.Literals([
|
|
1438
|
+
"canceled",
|
|
1439
|
+
"processing",
|
|
1440
|
+
"requires_action",
|
|
1441
|
+
"requires_capture",
|
|
1442
|
+
"requires_confirmation",
|
|
1443
|
+
"requires_payment_method",
|
|
1444
|
+
"succeeded",
|
|
1445
|
+
]).annotate({
|
|
1446
|
+
description:
|
|
1447
|
+
"Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).",
|
|
1448
|
+
}),
|
|
1449
|
+
transfer_data: Schema.optionalKey(
|
|
1450
|
+
Schema.Union([
|
|
1451
|
+
Schema.Union([Stripetransfer_data]).annotate({
|
|
1452
|
+
description:
|
|
1453
|
+
"The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).",
|
|
1454
|
+
}),
|
|
1455
|
+
Schema.Null,
|
|
1456
|
+
]),
|
|
1457
|
+
),
|
|
1458
|
+
transfer_group: Schema.optionalKey(
|
|
1459
|
+
Schema.Union([
|
|
1460
|
+
Schema.String.annotate({
|
|
1461
|
+
description:
|
|
1462
|
+
"A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).",
|
|
1463
|
+
}).check(
|
|
1464
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1465
|
+
expected: "a string with at most 5000 code points",
|
|
1466
|
+
}),
|
|
1467
|
+
),
|
|
1468
|
+
Schema.Null,
|
|
1469
|
+
]),
|
|
1470
|
+
),
|
|
1471
|
+
}),
|
|
1472
|
+
[
|
|
1473
|
+
Schema.Record(
|
|
1474
|
+
Schema.String,
|
|
1475
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1476
|
+
),
|
|
1477
|
+
],
|
|
1478
|
+
).annotate({
|
|
1479
|
+
title: "PaymentIntent",
|
|
1480
|
+
description:
|
|
1481
|
+
"A PaymentIntent guides you through the process of collecting a payment from your customer.\nWe recommend that you create exactly one PaymentIntent for each order or\ncustomer session in your system. You can reference the PaymentIntent later to\nsee the history of payment attempts for a particular session.\n\nA PaymentIntent transitions through\n[multiple statuses](/payments/paymentintents/lifecycle)\nthroughout its lifetime as it interfaces with Stripe.js to perform\nauthentication flows and ultimately creates at most one successful charge.\n\nRelated guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)",
|
|
1482
|
+
identifier: "Stripepayment_intent",
|
|
1483
|
+
}),
|
|
1484
|
+
);
|
|
1485
|
+
export const Stripepayment_intent_next_action_alipay_handle_redirect =
|
|
1486
|
+
Schema.StructWithRest(
|
|
1487
|
+
Schema.Struct({
|
|
1488
|
+
native_data: Schema.optionalKey(
|
|
1489
|
+
Schema.Union([
|
|
1490
|
+
Schema.String.annotate({
|
|
1491
|
+
description:
|
|
1492
|
+
"The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.",
|
|
1493
|
+
}).check(
|
|
1494
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1495
|
+
expected: "a string with at most 5000 code points",
|
|
1496
|
+
}),
|
|
1497
|
+
),
|
|
1498
|
+
Schema.Null,
|
|
1499
|
+
]),
|
|
1500
|
+
),
|
|
1501
|
+
native_url: Schema.optionalKey(
|
|
1502
|
+
Schema.Union([
|
|
1503
|
+
Schema.String.annotate({
|
|
1504
|
+
description:
|
|
1505
|
+
"The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.",
|
|
1506
|
+
}).check(
|
|
1507
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1508
|
+
expected: "a string with at most 5000 code points",
|
|
1509
|
+
}),
|
|
1510
|
+
),
|
|
1511
|
+
Schema.Null,
|
|
1512
|
+
]),
|
|
1513
|
+
),
|
|
1514
|
+
return_url: Schema.optionalKey(
|
|
1515
|
+
Schema.Union([
|
|
1516
|
+
Schema.String.annotate({
|
|
1517
|
+
description:
|
|
1518
|
+
"If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.",
|
|
1519
|
+
}).check(
|
|
1520
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1521
|
+
expected: "a string with at most 5000 code points",
|
|
1522
|
+
}),
|
|
1523
|
+
),
|
|
1524
|
+
Schema.Null,
|
|
1525
|
+
]),
|
|
1526
|
+
),
|
|
1527
|
+
url: Schema.optionalKey(
|
|
1528
|
+
Schema.Union([
|
|
1529
|
+
Schema.String.annotate({
|
|
1530
|
+
description:
|
|
1531
|
+
"The URL you must redirect your customer to in order to authenticate the payment.",
|
|
1532
|
+
}).check(
|
|
1533
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1534
|
+
expected: "a string with at most 5000 code points",
|
|
1535
|
+
}),
|
|
1536
|
+
),
|
|
1537
|
+
Schema.Null,
|
|
1538
|
+
]),
|
|
1539
|
+
),
|
|
1540
|
+
}),
|
|
1541
|
+
[
|
|
1542
|
+
Schema.Record(
|
|
1543
|
+
Schema.String,
|
|
1544
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1545
|
+
),
|
|
1546
|
+
],
|
|
1547
|
+
).annotate({
|
|
1548
|
+
title: "PaymentIntentNextActionAlipayHandleRedirect",
|
|
1549
|
+
description: "",
|
|
1550
|
+
identifier: "Stripepayment_intent_next_action_alipay_handle_redirect",
|
|
1551
|
+
});
|
|
1552
|
+
export const Stripepayment_intent_next_action_blik_authorize = Schema.Record(
|
|
1553
|
+
Schema.String,
|
|
1554
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1555
|
+
).annotate({
|
|
1556
|
+
title: "PaymentIntentNextActionBlikAuthorize",
|
|
1557
|
+
description: "",
|
|
1558
|
+
identifier: "Stripepayment_intent_next_action_blik_authorize",
|
|
1559
|
+
});
|
|
1560
|
+
export const Stripepayment_intent_next_action_boleto = Schema.StructWithRest(
|
|
1561
|
+
Schema.Struct({
|
|
1562
|
+
expires_at: Schema.optionalKey(
|
|
1563
|
+
Schema.Union([
|
|
1564
|
+
Schema.Number.annotate({
|
|
1565
|
+
description: "The timestamp after which the boleto expires.",
|
|
1566
|
+
format: "unix-time",
|
|
1567
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1568
|
+
Schema.Null,
|
|
1569
|
+
]),
|
|
1570
|
+
),
|
|
1571
|
+
hosted_voucher_url: Schema.optionalKey(
|
|
1572
|
+
Schema.Union([
|
|
1573
|
+
Schema.String.annotate({
|
|
1574
|
+
description:
|
|
1575
|
+
"The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.",
|
|
1576
|
+
}).check(
|
|
1577
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1578
|
+
expected: "a string with at most 5000 code points",
|
|
1579
|
+
}),
|
|
1580
|
+
),
|
|
1581
|
+
Schema.Null,
|
|
1582
|
+
]),
|
|
1583
|
+
),
|
|
1584
|
+
number: Schema.optionalKey(
|
|
1585
|
+
Schema.Union([
|
|
1586
|
+
Schema.String.annotate({ description: "The boleto number." }).check(
|
|
1587
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1588
|
+
expected: "a string with at most 5000 code points",
|
|
1589
|
+
}),
|
|
1590
|
+
),
|
|
1591
|
+
Schema.Null,
|
|
1592
|
+
]),
|
|
1593
|
+
),
|
|
1594
|
+
pdf: Schema.optionalKey(
|
|
1595
|
+
Schema.Union([
|
|
1596
|
+
Schema.String.annotate({
|
|
1597
|
+
description: "The URL to the downloadable boleto voucher PDF.",
|
|
1598
|
+
}).check(
|
|
1599
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1600
|
+
expected: "a string with at most 5000 code points",
|
|
1601
|
+
}),
|
|
1602
|
+
),
|
|
1603
|
+
Schema.Null,
|
|
1604
|
+
]),
|
|
1605
|
+
),
|
|
1606
|
+
}),
|
|
1607
|
+
[
|
|
1608
|
+
Schema.Record(
|
|
1609
|
+
Schema.String,
|
|
1610
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1611
|
+
),
|
|
1612
|
+
],
|
|
1613
|
+
).annotate({
|
|
1614
|
+
title: "payment_intent_next_action_boleto",
|
|
1615
|
+
description: "",
|
|
1616
|
+
identifier: "Stripepayment_intent_next_action_boleto",
|
|
1617
|
+
});
|
|
1618
|
+
export const Stripepayment_intent_next_action_card_await_notification =
|
|
1619
|
+
Schema.StructWithRest(
|
|
1620
|
+
Schema.Struct({
|
|
1621
|
+
charge_attempt_at: Schema.optionalKey(
|
|
1622
|
+
Schema.Union([
|
|
1623
|
+
Schema.Number.annotate({
|
|
1624
|
+
description:
|
|
1625
|
+
"The time that payment will be attempted. If customer approval is required, they need to provide approval before this time.",
|
|
1626
|
+
format: "unix-time",
|
|
1627
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1628
|
+
Schema.Null,
|
|
1629
|
+
]),
|
|
1630
|
+
),
|
|
1631
|
+
customer_approval_required: Schema.optionalKey(
|
|
1632
|
+
Schema.Union([
|
|
1633
|
+
Schema.Boolean.annotate({
|
|
1634
|
+
description:
|
|
1635
|
+
"For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.",
|
|
1636
|
+
}),
|
|
1637
|
+
Schema.Null,
|
|
1638
|
+
]),
|
|
1639
|
+
),
|
|
1640
|
+
}),
|
|
1641
|
+
[
|
|
1642
|
+
Schema.Record(
|
|
1643
|
+
Schema.String,
|
|
1644
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1645
|
+
),
|
|
1646
|
+
],
|
|
1647
|
+
).annotate({
|
|
1648
|
+
title: "PaymentIntentNextActionCardAwaitNotification",
|
|
1649
|
+
description: "",
|
|
1650
|
+
identifier: "Stripepayment_intent_next_action_card_await_notification",
|
|
1651
|
+
});
|
|
1652
|
+
export const Stripepayment_intent_next_action_cashapp_qr_code =
|
|
1653
|
+
Schema.StructWithRest(
|
|
1654
|
+
Schema.Struct({
|
|
1655
|
+
expires_at: Schema.Number.annotate({
|
|
1656
|
+
description: "The date (unix timestamp) when the QR code expires.",
|
|
1657
|
+
format: "unix-time",
|
|
1658
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1659
|
+
image_url_png: Schema.String.annotate({
|
|
1660
|
+
description: "The image_url_png string used to render QR code",
|
|
1661
|
+
}).check(
|
|
1662
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1663
|
+
expected: "a string with at most 5000 code points",
|
|
1664
|
+
}),
|
|
1665
|
+
),
|
|
1666
|
+
image_url_svg: Schema.String.annotate({
|
|
1667
|
+
description: "The image_url_svg string used to render QR code",
|
|
1668
|
+
}).check(
|
|
1669
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1670
|
+
expected: "a string with at most 5000 code points",
|
|
1671
|
+
}),
|
|
1672
|
+
),
|
|
1673
|
+
}),
|
|
1674
|
+
[
|
|
1675
|
+
Schema.Record(
|
|
1676
|
+
Schema.String,
|
|
1677
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1678
|
+
),
|
|
1679
|
+
],
|
|
1680
|
+
).annotate({
|
|
1681
|
+
title: "PaymentIntentNextActionCashappQRCode",
|
|
1682
|
+
description: "",
|
|
1683
|
+
identifier: "Stripepayment_intent_next_action_cashapp_qr_code",
|
|
1684
|
+
});
|
|
1685
|
+
export const Stripepayment_intent_next_action_klarna_display_qr_code =
|
|
1686
|
+
Schema.StructWithRest(
|
|
1687
|
+
Schema.Struct({
|
|
1688
|
+
data: Schema.String.annotate({
|
|
1689
|
+
description: "The data being used to generate QR code",
|
|
1690
|
+
}).check(
|
|
1691
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1692
|
+
expected: "a string with at most 5000 code points",
|
|
1693
|
+
}),
|
|
1694
|
+
),
|
|
1695
|
+
expires_at: Schema.optionalKey(
|
|
1696
|
+
Schema.Union([
|
|
1697
|
+
Schema.Number.annotate({
|
|
1698
|
+
description: "The timestamp at which the QR code expires.",
|
|
1699
|
+
format: "unix-time",
|
|
1700
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1701
|
+
Schema.Null,
|
|
1702
|
+
]),
|
|
1703
|
+
),
|
|
1704
|
+
image_url_png: Schema.String.annotate({
|
|
1705
|
+
description: "The image_url_png string used to render QR code",
|
|
1706
|
+
}).check(
|
|
1707
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1708
|
+
expected: "a string with at most 5000 code points",
|
|
1709
|
+
}),
|
|
1710
|
+
),
|
|
1711
|
+
image_url_svg: Schema.String.annotate({
|
|
1712
|
+
description: "The image_url_svg string used to render QR code",
|
|
1713
|
+
}).check(
|
|
1714
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1715
|
+
expected: "a string with at most 5000 code points",
|
|
1716
|
+
}),
|
|
1717
|
+
),
|
|
1718
|
+
}),
|
|
1719
|
+
[
|
|
1720
|
+
Schema.Record(
|
|
1721
|
+
Schema.String,
|
|
1722
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1723
|
+
),
|
|
1724
|
+
],
|
|
1725
|
+
).annotate({
|
|
1726
|
+
title: "PaymentIntentNextActionKlarnaDisplayQrCode",
|
|
1727
|
+
description: "",
|
|
1728
|
+
identifier: "Stripepayment_intent_next_action_klarna_display_qr_code",
|
|
1729
|
+
});
|
|
1730
|
+
export const Stripepayment_intent_next_action_konbini_familymart =
|
|
1731
|
+
Schema.StructWithRest(
|
|
1732
|
+
Schema.Struct({
|
|
1733
|
+
confirmation_number: Schema.optionalKey(
|
|
1734
|
+
Schema.String.annotate({
|
|
1735
|
+
description: "The confirmation number.",
|
|
1736
|
+
}).check(
|
|
1737
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1738
|
+
expected: "a string with at most 5000 code points",
|
|
1739
|
+
}),
|
|
1740
|
+
),
|
|
1741
|
+
),
|
|
1742
|
+
payment_code: Schema.String.annotate({
|
|
1743
|
+
description: "The payment code.",
|
|
1744
|
+
}).check(
|
|
1745
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1746
|
+
expected: "a string with at most 5000 code points",
|
|
1747
|
+
}),
|
|
1748
|
+
),
|
|
1749
|
+
}),
|
|
1750
|
+
[
|
|
1751
|
+
Schema.Record(
|
|
1752
|
+
Schema.String,
|
|
1753
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1754
|
+
),
|
|
1755
|
+
],
|
|
1756
|
+
).annotate({
|
|
1757
|
+
title: "payment_intent_next_action_konbini_familymart",
|
|
1758
|
+
description: "",
|
|
1759
|
+
identifier: "Stripepayment_intent_next_action_konbini_familymart",
|
|
1760
|
+
});
|
|
1761
|
+
export const Stripepayment_intent_next_action_konbini_lawson =
|
|
1762
|
+
Schema.StructWithRest(
|
|
1763
|
+
Schema.Struct({
|
|
1764
|
+
confirmation_number: Schema.optionalKey(
|
|
1765
|
+
Schema.String.annotate({
|
|
1766
|
+
description: "The confirmation number.",
|
|
1767
|
+
}).check(
|
|
1768
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1769
|
+
expected: "a string with at most 5000 code points",
|
|
1770
|
+
}),
|
|
1771
|
+
),
|
|
1772
|
+
),
|
|
1773
|
+
payment_code: Schema.String.annotate({
|
|
1774
|
+
description: "The payment code.",
|
|
1775
|
+
}).check(
|
|
1776
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1777
|
+
expected: "a string with at most 5000 code points",
|
|
1778
|
+
}),
|
|
1779
|
+
),
|
|
1780
|
+
}),
|
|
1781
|
+
[
|
|
1782
|
+
Schema.Record(
|
|
1783
|
+
Schema.String,
|
|
1784
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1785
|
+
),
|
|
1786
|
+
],
|
|
1787
|
+
).annotate({
|
|
1788
|
+
title: "payment_intent_next_action_konbini_lawson",
|
|
1789
|
+
description: "",
|
|
1790
|
+
identifier: "Stripepayment_intent_next_action_konbini_lawson",
|
|
1791
|
+
});
|
|
1792
|
+
export const Stripepayment_intent_next_action_konbini_ministop =
|
|
1793
|
+
Schema.StructWithRest(
|
|
1794
|
+
Schema.Struct({
|
|
1795
|
+
confirmation_number: Schema.optionalKey(
|
|
1796
|
+
Schema.String.annotate({
|
|
1797
|
+
description: "The confirmation number.",
|
|
1798
|
+
}).check(
|
|
1799
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1800
|
+
expected: "a string with at most 5000 code points",
|
|
1801
|
+
}),
|
|
1802
|
+
),
|
|
1803
|
+
),
|
|
1804
|
+
payment_code: Schema.String.annotate({
|
|
1805
|
+
description: "The payment code.",
|
|
1806
|
+
}).check(
|
|
1807
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1808
|
+
expected: "a string with at most 5000 code points",
|
|
1809
|
+
}),
|
|
1810
|
+
),
|
|
1811
|
+
}),
|
|
1812
|
+
[
|
|
1813
|
+
Schema.Record(
|
|
1814
|
+
Schema.String,
|
|
1815
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1816
|
+
),
|
|
1817
|
+
],
|
|
1818
|
+
).annotate({
|
|
1819
|
+
title: "payment_intent_next_action_konbini_ministop",
|
|
1820
|
+
description: "",
|
|
1821
|
+
identifier: "Stripepayment_intent_next_action_konbini_ministop",
|
|
1822
|
+
});
|
|
1823
|
+
export const Stripepayment_intent_next_action_konbini_seicomart =
|
|
1824
|
+
Schema.StructWithRest(
|
|
1825
|
+
Schema.Struct({
|
|
1826
|
+
confirmation_number: Schema.optionalKey(
|
|
1827
|
+
Schema.String.annotate({
|
|
1828
|
+
description: "The confirmation number.",
|
|
1829
|
+
}).check(
|
|
1830
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1831
|
+
expected: "a string with at most 5000 code points",
|
|
1832
|
+
}),
|
|
1833
|
+
),
|
|
1834
|
+
),
|
|
1835
|
+
payment_code: Schema.String.annotate({
|
|
1836
|
+
description: "The payment code.",
|
|
1837
|
+
}).check(
|
|
1838
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1839
|
+
expected: "a string with at most 5000 code points",
|
|
1840
|
+
}),
|
|
1841
|
+
),
|
|
1842
|
+
}),
|
|
1843
|
+
[
|
|
1844
|
+
Schema.Record(
|
|
1845
|
+
Schema.String,
|
|
1846
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1847
|
+
),
|
|
1848
|
+
],
|
|
1849
|
+
).annotate({
|
|
1850
|
+
title: "payment_intent_next_action_konbini_seicomart",
|
|
1851
|
+
description: "",
|
|
1852
|
+
identifier: "Stripepayment_intent_next_action_konbini_seicomart",
|
|
1853
|
+
});
|
|
1854
|
+
export const Stripepayment_intent_next_action_display_multibanco_details =
|
|
1855
|
+
Schema.StructWithRest(
|
|
1856
|
+
Schema.Struct({
|
|
1857
|
+
entity: Schema.optionalKey(
|
|
1858
|
+
Schema.Union([
|
|
1859
|
+
Schema.String.annotate({
|
|
1860
|
+
description:
|
|
1861
|
+
"Entity number associated with this Multibanco payment.",
|
|
1862
|
+
}).check(
|
|
1863
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1864
|
+
expected: "a string with at most 5000 code points",
|
|
1865
|
+
}),
|
|
1866
|
+
),
|
|
1867
|
+
Schema.Null,
|
|
1868
|
+
]),
|
|
1869
|
+
),
|
|
1870
|
+
expires_at: Schema.optionalKey(
|
|
1871
|
+
Schema.Union([
|
|
1872
|
+
Schema.Number.annotate({
|
|
1873
|
+
description:
|
|
1874
|
+
"The timestamp at which the Multibanco voucher expires.",
|
|
1875
|
+
format: "unix-time",
|
|
1876
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1877
|
+
Schema.Null,
|
|
1878
|
+
]),
|
|
1879
|
+
),
|
|
1880
|
+
hosted_voucher_url: Schema.optionalKey(
|
|
1881
|
+
Schema.Union([
|
|
1882
|
+
Schema.String.annotate({
|
|
1883
|
+
description:
|
|
1884
|
+
"The URL for the hosted Multibanco voucher page, which allows customers to view a Multibanco voucher.",
|
|
1885
|
+
}).check(
|
|
1886
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1887
|
+
expected: "a string with at most 5000 code points",
|
|
1888
|
+
}),
|
|
1889
|
+
),
|
|
1890
|
+
Schema.Null,
|
|
1891
|
+
]),
|
|
1892
|
+
),
|
|
1893
|
+
reference: Schema.optionalKey(
|
|
1894
|
+
Schema.Union([
|
|
1895
|
+
Schema.String.annotate({
|
|
1896
|
+
description:
|
|
1897
|
+
"Reference number associated with this Multibanco payment.",
|
|
1898
|
+
}).check(
|
|
1899
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1900
|
+
expected: "a string with at most 5000 code points",
|
|
1901
|
+
}),
|
|
1902
|
+
),
|
|
1903
|
+
Schema.Null,
|
|
1904
|
+
]),
|
|
1905
|
+
),
|
|
1906
|
+
}),
|
|
1907
|
+
[
|
|
1908
|
+
Schema.Record(
|
|
1909
|
+
Schema.String,
|
|
1910
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1911
|
+
),
|
|
1912
|
+
],
|
|
1913
|
+
).annotate({
|
|
1914
|
+
title: "PaymentIntentNextActionDisplayMultibancoDetails",
|
|
1915
|
+
description: "",
|
|
1916
|
+
identifier: "Stripepayment_intent_next_action_display_multibanco_details",
|
|
1917
|
+
});
|
|
1918
|
+
export const Stripepayment_intent_next_action_display_oxxo_details =
|
|
1919
|
+
Schema.StructWithRest(
|
|
1920
|
+
Schema.Struct({
|
|
1921
|
+
expires_after: Schema.optionalKey(
|
|
1922
|
+
Schema.Union([
|
|
1923
|
+
Schema.Number.annotate({
|
|
1924
|
+
description: "The timestamp after which the OXXO voucher expires.",
|
|
1925
|
+
format: "unix-time",
|
|
1926
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1927
|
+
Schema.Null,
|
|
1928
|
+
]),
|
|
1929
|
+
),
|
|
1930
|
+
hosted_voucher_url: Schema.optionalKey(
|
|
1931
|
+
Schema.Union([
|
|
1932
|
+
Schema.String.annotate({
|
|
1933
|
+
description:
|
|
1934
|
+
"The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.",
|
|
1935
|
+
}).check(
|
|
1936
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1937
|
+
expected: "a string with at most 5000 code points",
|
|
1938
|
+
}),
|
|
1939
|
+
),
|
|
1940
|
+
Schema.Null,
|
|
1941
|
+
]),
|
|
1942
|
+
),
|
|
1943
|
+
number: Schema.optionalKey(
|
|
1944
|
+
Schema.Union([
|
|
1945
|
+
Schema.String.annotate({
|
|
1946
|
+
description: "OXXO reference number.",
|
|
1947
|
+
}).check(
|
|
1948
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1949
|
+
expected: "a string with at most 5000 code points",
|
|
1950
|
+
}),
|
|
1951
|
+
),
|
|
1952
|
+
Schema.Null,
|
|
1953
|
+
]),
|
|
1954
|
+
),
|
|
1955
|
+
}),
|
|
1956
|
+
[
|
|
1957
|
+
Schema.Record(
|
|
1958
|
+
Schema.String,
|
|
1959
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1960
|
+
),
|
|
1961
|
+
],
|
|
1962
|
+
).annotate({
|
|
1963
|
+
title: "PaymentIntentNextActionDisplayOxxoDetails",
|
|
1964
|
+
description: "",
|
|
1965
|
+
identifier: "Stripepayment_intent_next_action_display_oxxo_details",
|
|
1966
|
+
});
|
|
1967
|
+
export const Stripepayment_intent_next_action_paynow_display_qr_code =
|
|
1968
|
+
Schema.StructWithRest(
|
|
1969
|
+
Schema.Struct({
|
|
1970
|
+
data: Schema.String.annotate({
|
|
1971
|
+
description:
|
|
1972
|
+
"The raw data string used to generate QR code, it should be used together with QR code library.",
|
|
1973
|
+
}).check(
|
|
1974
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1975
|
+
expected: "a string with at most 5000 code points",
|
|
1976
|
+
}),
|
|
1977
|
+
),
|
|
1978
|
+
hosted_instructions_url: Schema.optionalKey(
|
|
1979
|
+
Schema.Union([
|
|
1980
|
+
Schema.String.annotate({
|
|
1981
|
+
description:
|
|
1982
|
+
"The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.",
|
|
1983
|
+
}).check(
|
|
1984
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1985
|
+
expected: "a string with at most 5000 code points",
|
|
1986
|
+
}),
|
|
1987
|
+
),
|
|
1988
|
+
Schema.Null,
|
|
1989
|
+
]),
|
|
1990
|
+
),
|
|
1991
|
+
image_url_png: Schema.String.annotate({
|
|
1992
|
+
description: "The image_url_png string used to render QR code",
|
|
1993
|
+
}).check(
|
|
1994
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1995
|
+
expected: "a string with at most 5000 code points",
|
|
1996
|
+
}),
|
|
1997
|
+
),
|
|
1998
|
+
image_url_svg: Schema.String.annotate({
|
|
1999
|
+
description: "The image_url_svg string used to render QR code",
|
|
2000
|
+
}).check(
|
|
2001
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2002
|
+
expected: "a string with at most 5000 code points",
|
|
2003
|
+
}),
|
|
2004
|
+
),
|
|
2005
|
+
}),
|
|
2006
|
+
[
|
|
2007
|
+
Schema.Record(
|
|
2008
|
+
Schema.String,
|
|
2009
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2010
|
+
),
|
|
2011
|
+
],
|
|
2012
|
+
).annotate({
|
|
2013
|
+
title: "PaymentIntentNextActionPaynowDisplayQrCode",
|
|
2014
|
+
description: "",
|
|
2015
|
+
identifier: "Stripepayment_intent_next_action_paynow_display_qr_code",
|
|
2016
|
+
});
|
|
2017
|
+
export const Stripepayment_intent_next_action_pix_display_qr_code =
|
|
2018
|
+
Schema.StructWithRest(
|
|
2019
|
+
Schema.Struct({
|
|
2020
|
+
data: Schema.optionalKey(
|
|
2021
|
+
Schema.String.annotate({
|
|
2022
|
+
description:
|
|
2023
|
+
"The raw data string used to generate QR code, it should be used together with QR code library.",
|
|
2024
|
+
}).check(
|
|
2025
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2026
|
+
expected: "a string with at most 5000 code points",
|
|
2027
|
+
}),
|
|
2028
|
+
),
|
|
2029
|
+
),
|
|
2030
|
+
expires_at: Schema.optionalKey(
|
|
2031
|
+
Schema.Number.annotate({
|
|
2032
|
+
description: "The date (unix timestamp) when the PIX expires.",
|
|
2033
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2034
|
+
),
|
|
2035
|
+
hosted_instructions_url: Schema.optionalKey(
|
|
2036
|
+
Schema.String.annotate({
|
|
2037
|
+
description:
|
|
2038
|
+
"The URL to the hosted pix instructions page, which allows customers to view the pix QR code.",
|
|
2039
|
+
}).check(
|
|
2040
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2041
|
+
expected: "a string with at most 5000 code points",
|
|
2042
|
+
}),
|
|
2043
|
+
),
|
|
2044
|
+
),
|
|
2045
|
+
image_url_png: Schema.optionalKey(
|
|
2046
|
+
Schema.String.annotate({
|
|
2047
|
+
description: "The image_url_png string used to render png QR code",
|
|
2048
|
+
}).check(
|
|
2049
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2050
|
+
expected: "a string with at most 5000 code points",
|
|
2051
|
+
}),
|
|
2052
|
+
),
|
|
2053
|
+
),
|
|
2054
|
+
image_url_svg: Schema.optionalKey(
|
|
2055
|
+
Schema.String.annotate({
|
|
2056
|
+
description: "The image_url_svg string used to render svg QR code",
|
|
2057
|
+
}).check(
|
|
2058
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2059
|
+
expected: "a string with at most 5000 code points",
|
|
2060
|
+
}),
|
|
2061
|
+
),
|
|
2062
|
+
),
|
|
2063
|
+
}),
|
|
2064
|
+
[
|
|
2065
|
+
Schema.Record(
|
|
2066
|
+
Schema.String,
|
|
2067
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2068
|
+
),
|
|
2069
|
+
],
|
|
2070
|
+
).annotate({
|
|
2071
|
+
title: "PaymentIntentNextActionPixDisplayQrCode",
|
|
2072
|
+
description: "",
|
|
2073
|
+
identifier: "Stripepayment_intent_next_action_pix_display_qr_code",
|
|
2074
|
+
});
|
|
2075
|
+
export const Stripepayment_intent_next_action_promptpay_display_qr_code =
|
|
2076
|
+
Schema.StructWithRest(
|
|
2077
|
+
Schema.Struct({
|
|
2078
|
+
data: Schema.String.annotate({
|
|
2079
|
+
description:
|
|
2080
|
+
"The raw data string used to generate QR code, it should be used together with QR code library.",
|
|
2081
|
+
}).check(
|
|
2082
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2083
|
+
expected: "a string with at most 5000 code points",
|
|
2084
|
+
}),
|
|
2085
|
+
),
|
|
2086
|
+
hosted_instructions_url: Schema.String.annotate({
|
|
2087
|
+
description:
|
|
2088
|
+
"The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.",
|
|
2089
|
+
}).check(
|
|
2090
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2091
|
+
expected: "a string with at most 5000 code points",
|
|
2092
|
+
}),
|
|
2093
|
+
),
|
|
2094
|
+
image_url_png: Schema.String.annotate({
|
|
2095
|
+
description:
|
|
2096
|
+
"The PNG path used to render the QR code, can be used as the source in an HTML img tag",
|
|
2097
|
+
}).check(
|
|
2098
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2099
|
+
expected: "a string with at most 5000 code points",
|
|
2100
|
+
}),
|
|
2101
|
+
),
|
|
2102
|
+
image_url_svg: Schema.String.annotate({
|
|
2103
|
+
description:
|
|
2104
|
+
"The SVG path used to render the QR code, can be used as the source in an HTML img tag",
|
|
2105
|
+
}).check(
|
|
2106
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2107
|
+
expected: "a string with at most 5000 code points",
|
|
2108
|
+
}),
|
|
2109
|
+
),
|
|
2110
|
+
}),
|
|
2111
|
+
[
|
|
2112
|
+
Schema.Record(
|
|
2113
|
+
Schema.String,
|
|
2114
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2115
|
+
),
|
|
2116
|
+
],
|
|
2117
|
+
).annotate({
|
|
2118
|
+
title: "PaymentIntentNextActionPromptpayDisplayQrCode",
|
|
2119
|
+
description: "",
|
|
2120
|
+
identifier: "Stripepayment_intent_next_action_promptpay_display_qr_code",
|
|
2121
|
+
});
|
|
2122
|
+
export const Stripepayment_intent_next_action_redirect_to_url =
|
|
2123
|
+
Schema.StructWithRest(
|
|
2124
|
+
Schema.Struct({
|
|
2125
|
+
return_url: Schema.optionalKey(
|
|
2126
|
+
Schema.Union([
|
|
2127
|
+
Schema.String.annotate({
|
|
2128
|
+
description:
|
|
2129
|
+
"If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.",
|
|
2130
|
+
}).check(
|
|
2131
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2132
|
+
expected: "a string with at most 5000 code points",
|
|
2133
|
+
}),
|
|
2134
|
+
),
|
|
2135
|
+
Schema.Null,
|
|
2136
|
+
]),
|
|
2137
|
+
),
|
|
2138
|
+
url: Schema.optionalKey(
|
|
2139
|
+
Schema.Union([
|
|
2140
|
+
Schema.String.annotate({
|
|
2141
|
+
description:
|
|
2142
|
+
"The URL you must redirect your customer to in order to authenticate the payment.",
|
|
2143
|
+
}).check(
|
|
2144
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2145
|
+
expected: "a string with at most 5000 code points",
|
|
2146
|
+
}),
|
|
2147
|
+
),
|
|
2148
|
+
Schema.Null,
|
|
2149
|
+
]),
|
|
2150
|
+
),
|
|
2151
|
+
}),
|
|
2152
|
+
[
|
|
2153
|
+
Schema.Record(
|
|
2154
|
+
Schema.String,
|
|
2155
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2156
|
+
),
|
|
2157
|
+
],
|
|
2158
|
+
).annotate({
|
|
2159
|
+
title: "PaymentIntentNextActionRedirectToUrl",
|
|
2160
|
+
description: "",
|
|
2161
|
+
identifier: "Stripepayment_intent_next_action_redirect_to_url",
|
|
2162
|
+
});
|
|
2163
|
+
export const Stripepayment_intent_next_action_swish_qr_code =
|
|
2164
|
+
Schema.StructWithRest(
|
|
2165
|
+
Schema.Struct({
|
|
2166
|
+
data: Schema.String.annotate({
|
|
2167
|
+
description:
|
|
2168
|
+
"The raw data string used to generate QR code, it should be used together with QR code library.",
|
|
2169
|
+
}).check(
|
|
2170
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2171
|
+
expected: "a string with at most 5000 code points",
|
|
2172
|
+
}),
|
|
2173
|
+
),
|
|
2174
|
+
expires_at: Schema.Number.annotate({
|
|
2175
|
+
description: "The timestamp at which the QR code expires.",
|
|
2176
|
+
format: "unix-time",
|
|
2177
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2178
|
+
image_url_png: Schema.String.annotate({
|
|
2179
|
+
description: "The image_url_png string used to render QR code",
|
|
2180
|
+
}).check(
|
|
2181
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2182
|
+
expected: "a string with at most 5000 code points",
|
|
2183
|
+
}),
|
|
2184
|
+
),
|
|
2185
|
+
image_url_svg: Schema.String.annotate({
|
|
2186
|
+
description: "The image_url_svg string used to render QR code",
|
|
2187
|
+
}).check(
|
|
2188
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2189
|
+
expected: "a string with at most 5000 code points",
|
|
2190
|
+
}),
|
|
2191
|
+
),
|
|
2192
|
+
}),
|
|
2193
|
+
[
|
|
2194
|
+
Schema.Record(
|
|
2195
|
+
Schema.String,
|
|
2196
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2197
|
+
),
|
|
2198
|
+
],
|
|
2199
|
+
).annotate({
|
|
2200
|
+
title: "PaymentIntentNextActionSwishQRCode",
|
|
2201
|
+
description: "",
|
|
2202
|
+
identifier: "Stripepayment_intent_next_action_swish_qr_code",
|
|
2203
|
+
});
|
|
2204
|
+
export const Stripepayment_intent_next_action_upiqr_code =
|
|
2205
|
+
Schema.StructWithRest(
|
|
2206
|
+
Schema.Struct({
|
|
2207
|
+
expires_at: Schema.Number.annotate({
|
|
2208
|
+
description: "The date (unix timestamp) when the QR code expires.",
|
|
2209
|
+
format: "unix-time",
|
|
2210
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2211
|
+
image_url_png: Schema.String.annotate({
|
|
2212
|
+
description: "The image_url_png string used to render QR code",
|
|
2213
|
+
}).check(
|
|
2214
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2215
|
+
expected: "a string with at most 5000 code points",
|
|
2216
|
+
}),
|
|
2217
|
+
),
|
|
2218
|
+
image_url_svg: Schema.String.annotate({
|
|
2219
|
+
description: "The image_url_svg string used to render QR code",
|
|
2220
|
+
}).check(
|
|
2221
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2222
|
+
expected: "a string with at most 5000 code points",
|
|
2223
|
+
}),
|
|
2224
|
+
),
|
|
2225
|
+
}),
|
|
2226
|
+
[
|
|
2227
|
+
Schema.Record(
|
|
2228
|
+
Schema.String,
|
|
2229
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2230
|
+
),
|
|
2231
|
+
],
|
|
2232
|
+
).annotate({
|
|
2233
|
+
title: "PaymentIntentNextActionUPIQRCode",
|
|
2234
|
+
description: "",
|
|
2235
|
+
identifier: "Stripepayment_intent_next_action_upiqr_code",
|
|
2236
|
+
});
|
|
2237
|
+
export const Stripepayment_intent_next_action_verify_with_microdeposits =
|
|
2238
|
+
Schema.StructWithRest(
|
|
2239
|
+
Schema.Struct({
|
|
2240
|
+
arrival_date: Schema.Number.annotate({
|
|
2241
|
+
description:
|
|
2242
|
+
"The timestamp when the microdeposits are expected to land.",
|
|
2243
|
+
format: "unix-time",
|
|
2244
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2245
|
+
hosted_verification_url: Schema.String.annotate({
|
|
2246
|
+
description:
|
|
2247
|
+
"The URL for the hosted verification page, which allows customers to verify their bank account.",
|
|
2248
|
+
}).check(
|
|
2249
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2250
|
+
expected: "a string with at most 5000 code points",
|
|
2251
|
+
}),
|
|
2252
|
+
),
|
|
2253
|
+
microdeposit_type: Schema.optionalKey(
|
|
2254
|
+
Schema.Union([
|
|
2255
|
+
Schema.Literals(["amounts", "descriptor_code"]).annotate({
|
|
2256
|
+
description:
|
|
2257
|
+
"The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.",
|
|
2258
|
+
}),
|
|
2259
|
+
Schema.Null,
|
|
2260
|
+
]),
|
|
2261
|
+
),
|
|
2262
|
+
}),
|
|
2263
|
+
[
|
|
2264
|
+
Schema.Record(
|
|
2265
|
+
Schema.String,
|
|
2266
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2267
|
+
),
|
|
2268
|
+
],
|
|
2269
|
+
).annotate({
|
|
2270
|
+
title: "PaymentIntentNextActionVerifyWithMicrodeposits",
|
|
2271
|
+
description: "",
|
|
2272
|
+
identifier: "Stripepayment_intent_next_action_verify_with_microdeposits",
|
|
2273
|
+
});
|
|
2274
|
+
export const Stripepayment_intent_next_action_wechat_pay_display_qr_code =
|
|
2275
|
+
Schema.StructWithRest(
|
|
2276
|
+
Schema.Struct({
|
|
2277
|
+
data: Schema.String.annotate({
|
|
2278
|
+
description: "The data being used to generate QR code",
|
|
2279
|
+
}).check(
|
|
2280
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2281
|
+
expected: "a string with at most 5000 code points",
|
|
2282
|
+
}),
|
|
2283
|
+
),
|
|
2284
|
+
hosted_instructions_url: Schema.String.annotate({
|
|
2285
|
+
description:
|
|
2286
|
+
"The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.",
|
|
2287
|
+
}).check(
|
|
2288
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2289
|
+
expected: "a string with at most 5000 code points",
|
|
2290
|
+
}),
|
|
2291
|
+
),
|
|
2292
|
+
image_data_url: Schema.String.annotate({
|
|
2293
|
+
description: "The base64 image data for a pre-generated QR code",
|
|
2294
|
+
}).check(
|
|
2295
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2296
|
+
expected: "a string with at most 5000 code points",
|
|
2297
|
+
}),
|
|
2298
|
+
),
|
|
2299
|
+
image_url_png: Schema.String.annotate({
|
|
2300
|
+
description: "The image_url_png string used to render QR code",
|
|
2301
|
+
}).check(
|
|
2302
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2303
|
+
expected: "a string with at most 5000 code points",
|
|
2304
|
+
}),
|
|
2305
|
+
),
|
|
2306
|
+
image_url_svg: Schema.String.annotate({
|
|
2307
|
+
description: "The image_url_svg string used to render QR code",
|
|
2308
|
+
}).check(
|
|
2309
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2310
|
+
expected: "a string with at most 5000 code points",
|
|
2311
|
+
}),
|
|
2312
|
+
),
|
|
2313
|
+
}),
|
|
2314
|
+
[
|
|
2315
|
+
Schema.Record(
|
|
2316
|
+
Schema.String,
|
|
2317
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2318
|
+
),
|
|
2319
|
+
],
|
|
2320
|
+
).annotate({
|
|
2321
|
+
title: "PaymentIntentNextActionWechatPayDisplayQrCode",
|
|
2322
|
+
description: "",
|
|
2323
|
+
identifier: "Stripepayment_intent_next_action_wechat_pay_display_qr_code",
|
|
2324
|
+
});
|
|
2325
|
+
export const Stripepayment_intent_next_action_wechat_pay_redirect_to_android_app =
|
|
2326
|
+
Schema.StructWithRest(
|
|
2327
|
+
Schema.Struct({
|
|
2328
|
+
app_id: Schema.String.annotate({
|
|
2329
|
+
description: "app_id is the APP ID registered on WeChat open platform",
|
|
2330
|
+
}).check(
|
|
2331
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2332
|
+
expected: "a string with at most 5000 code points",
|
|
2333
|
+
}),
|
|
2334
|
+
),
|
|
2335
|
+
nonce_str: Schema.String.annotate({
|
|
2336
|
+
description: "nonce_str is a random string",
|
|
2337
|
+
}).check(
|
|
2338
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2339
|
+
expected: "a string with at most 5000 code points",
|
|
2340
|
+
}),
|
|
2341
|
+
),
|
|
2342
|
+
package: Schema.String.annotate({
|
|
2343
|
+
description: "package is static value",
|
|
2344
|
+
}).check(
|
|
2345
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2346
|
+
expected: "a string with at most 5000 code points",
|
|
2347
|
+
}),
|
|
2348
|
+
),
|
|
2349
|
+
partner_id: Schema.String.annotate({
|
|
2350
|
+
description: "an unique merchant ID assigned by WeChat Pay",
|
|
2351
|
+
}).check(
|
|
2352
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2353
|
+
expected: "a string with at most 5000 code points",
|
|
2354
|
+
}),
|
|
2355
|
+
),
|
|
2356
|
+
prepay_id: Schema.String.annotate({
|
|
2357
|
+
description: "an unique trading ID assigned by WeChat Pay",
|
|
2358
|
+
}).check(
|
|
2359
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2360
|
+
expected: "a string with at most 5000 code points",
|
|
2361
|
+
}),
|
|
2362
|
+
),
|
|
2363
|
+
sign: Schema.String.annotate({ description: "A signature" }).check(
|
|
2364
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2365
|
+
expected: "a string with at most 5000 code points",
|
|
2366
|
+
}),
|
|
2367
|
+
),
|
|
2368
|
+
timestamp: Schema.String.annotate({
|
|
2369
|
+
description: "Specifies the current time in epoch format",
|
|
2370
|
+
}).check(
|
|
2371
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2372
|
+
expected: "a string with at most 5000 code points",
|
|
2373
|
+
}),
|
|
2374
|
+
),
|
|
2375
|
+
}),
|
|
2376
|
+
[
|
|
2377
|
+
Schema.Record(
|
|
2378
|
+
Schema.String,
|
|
2379
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2380
|
+
),
|
|
2381
|
+
],
|
|
2382
|
+
).annotate({
|
|
2383
|
+
title: "PaymentIntentNextActionWechatPayRedirectToAndroidApp",
|
|
2384
|
+
description: "",
|
|
2385
|
+
identifier:
|
|
2386
|
+
"Stripepayment_intent_next_action_wechat_pay_redirect_to_android_app",
|
|
2387
|
+
});
|
|
2388
|
+
export const Stripepayment_intent_next_action_wechat_pay_redirect_to_ios_app =
|
|
2389
|
+
Schema.StructWithRest(
|
|
2390
|
+
Schema.Struct({
|
|
2391
|
+
native_url: Schema.String.annotate({
|
|
2392
|
+
description: "An universal link that redirect to WeChat Pay app",
|
|
2393
|
+
}).check(
|
|
2394
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2395
|
+
expected: "a string with at most 5000 code points",
|
|
2396
|
+
}),
|
|
2397
|
+
),
|
|
2398
|
+
}),
|
|
2399
|
+
[
|
|
2400
|
+
Schema.Record(
|
|
2401
|
+
Schema.String,
|
|
2402
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2403
|
+
),
|
|
2404
|
+
],
|
|
2405
|
+
).annotate({
|
|
2406
|
+
title: "PaymentIntentNextActionWechatPayRedirectToIOSApp",
|
|
2407
|
+
description: "",
|
|
2408
|
+
identifier:
|
|
2409
|
+
"Stripepayment_intent_next_action_wechat_pay_redirect_to_ios_app",
|
|
2410
|
+
});
|
|
2411
|
+
export const Stripepayment_intent_payment_method_options_mandate_options_acss_debit =
|
|
2412
|
+
Schema.StructWithRest(
|
|
2413
|
+
Schema.Struct({
|
|
2414
|
+
custom_mandate_url: Schema.optionalKey(
|
|
2415
|
+
Schema.String.annotate({
|
|
2416
|
+
description: "A URL for custom mandate text",
|
|
2417
|
+
}).check(
|
|
2418
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2419
|
+
expected: "a string with at most 5000 code points",
|
|
2420
|
+
}),
|
|
2421
|
+
),
|
|
2422
|
+
),
|
|
2423
|
+
interval_description: Schema.optionalKey(
|
|
2424
|
+
Schema.Union([
|
|
2425
|
+
Schema.String.annotate({
|
|
2426
|
+
description:
|
|
2427
|
+
"Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.",
|
|
2428
|
+
}).check(
|
|
2429
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2430
|
+
expected: "a string with at most 5000 code points",
|
|
2431
|
+
}),
|
|
2432
|
+
),
|
|
2433
|
+
Schema.Null,
|
|
2434
|
+
]),
|
|
2435
|
+
),
|
|
2436
|
+
payment_schedule: Schema.optionalKey(
|
|
2437
|
+
Schema.Union([
|
|
2438
|
+
Schema.Literals(["combined", "interval", "sporadic"]).annotate({
|
|
2439
|
+
description: "Payment schedule for the mandate.",
|
|
2440
|
+
}),
|
|
2441
|
+
Schema.Null,
|
|
2442
|
+
]),
|
|
2443
|
+
),
|
|
2444
|
+
transaction_type: Schema.optionalKey(
|
|
2445
|
+
Schema.Union([
|
|
2446
|
+
Schema.Literals(["business", "personal"]).annotate({
|
|
2447
|
+
description: "Transaction type of the mandate.",
|
|
2448
|
+
}),
|
|
2449
|
+
Schema.Null,
|
|
2450
|
+
]),
|
|
2451
|
+
),
|
|
2452
|
+
}),
|
|
2453
|
+
[
|
|
2454
|
+
Schema.Record(
|
|
2455
|
+
Schema.String,
|
|
2456
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2457
|
+
),
|
|
2458
|
+
],
|
|
2459
|
+
).annotate({
|
|
2460
|
+
title: "payment_intent_payment_method_options_mandate_options_acss_debit",
|
|
2461
|
+
description: "",
|
|
2462
|
+
identifier:
|
|
2463
|
+
"Stripepayment_intent_payment_method_options_mandate_options_acss_debit",
|
|
2464
|
+
});
|
|
2465
|
+
export const Stripepayment_intent_payment_method_options_mandate_options_payto =
|
|
2466
|
+
Schema.StructWithRest(
|
|
2467
|
+
Schema.Struct({
|
|
2468
|
+
amount: Schema.optionalKey(
|
|
2469
|
+
Schema.Union([
|
|
2470
|
+
Schema.Number.annotate({
|
|
2471
|
+
description:
|
|
2472
|
+
"Amount that will be collected. It is required when `amount_type` is `fixed`.",
|
|
2473
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2474
|
+
Schema.Null,
|
|
2475
|
+
]),
|
|
2476
|
+
),
|
|
2477
|
+
amount_type: Schema.optionalKey(
|
|
2478
|
+
Schema.Union([
|
|
2479
|
+
Schema.Literals(["fixed", "maximum"]).annotate({
|
|
2480
|
+
description:
|
|
2481
|
+
"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.",
|
|
2482
|
+
}),
|
|
2483
|
+
Schema.Null,
|
|
2484
|
+
]),
|
|
2485
|
+
),
|
|
2486
|
+
end_date: Schema.optionalKey(
|
|
2487
|
+
Schema.Union([
|
|
2488
|
+
Schema.String.annotate({
|
|
2489
|
+
description:
|
|
2490
|
+
"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.",
|
|
2491
|
+
}).check(
|
|
2492
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2493
|
+
expected: "a string with at most 5000 code points",
|
|
2494
|
+
}),
|
|
2495
|
+
),
|
|
2496
|
+
Schema.Null,
|
|
2497
|
+
]),
|
|
2498
|
+
),
|
|
2499
|
+
payment_schedule: Schema.optionalKey(
|
|
2500
|
+
Schema.Union([
|
|
2501
|
+
Schema.Literals([
|
|
2502
|
+
"adhoc",
|
|
2503
|
+
"annual",
|
|
2504
|
+
"daily",
|
|
2505
|
+
"fortnightly",
|
|
2506
|
+
"monthly",
|
|
2507
|
+
"quarterly",
|
|
2508
|
+
"semi_annual",
|
|
2509
|
+
"weekly",
|
|
2510
|
+
]).annotate({
|
|
2511
|
+
description:
|
|
2512
|
+
"The periodicity at which payments will be collected. Defaults to `adhoc`.",
|
|
2513
|
+
}),
|
|
2514
|
+
Schema.Null,
|
|
2515
|
+
]),
|
|
2516
|
+
),
|
|
2517
|
+
payments_per_period: Schema.optionalKey(
|
|
2518
|
+
Schema.Union([
|
|
2519
|
+
Schema.Number.annotate({
|
|
2520
|
+
description:
|
|
2521
|
+
"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.",
|
|
2522
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2523
|
+
Schema.Null,
|
|
2524
|
+
]),
|
|
2525
|
+
),
|
|
2526
|
+
purpose: Schema.optionalKey(
|
|
2527
|
+
Schema.Union([
|
|
2528
|
+
Schema.Literals([
|
|
2529
|
+
"dependant_support",
|
|
2530
|
+
"government",
|
|
2531
|
+
"loan",
|
|
2532
|
+
"mortgage",
|
|
2533
|
+
"other",
|
|
2534
|
+
"pension",
|
|
2535
|
+
"personal",
|
|
2536
|
+
"retail",
|
|
2537
|
+
"salary",
|
|
2538
|
+
"tax",
|
|
2539
|
+
"utility",
|
|
2540
|
+
]).annotate({
|
|
2541
|
+
description:
|
|
2542
|
+
"The purpose for which payments are made. Has a default value based on your merchant category code.",
|
|
2543
|
+
}),
|
|
2544
|
+
Schema.Null,
|
|
2545
|
+
]),
|
|
2546
|
+
),
|
|
2547
|
+
}),
|
|
2548
|
+
[
|
|
2549
|
+
Schema.Record(
|
|
2550
|
+
Schema.String,
|
|
2551
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2552
|
+
),
|
|
2553
|
+
],
|
|
2554
|
+
).annotate({
|
|
2555
|
+
title: "payment_intent_payment_method_options_mandate_options_payto",
|
|
2556
|
+
description: "",
|
|
2557
|
+
identifier:
|
|
2558
|
+
"Stripepayment_intent_payment_method_options_mandate_options_payto",
|
|
2559
|
+
});
|
|
2560
|
+
export const Stripepayment_intent_payment_method_options_au_becs_debit =
|
|
2561
|
+
Schema.StructWithRest(
|
|
2562
|
+
Schema.Struct({
|
|
2563
|
+
setup_future_usage: Schema.optionalKey(
|
|
2564
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
2565
|
+
description:
|
|
2566
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
2567
|
+
}),
|
|
2568
|
+
),
|
|
2569
|
+
target_date: Schema.optionalKey(
|
|
2570
|
+
Schema.String.annotate({
|
|
2571
|
+
description:
|
|
2572
|
+
"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.",
|
|
2573
|
+
}).check(
|
|
2574
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2575
|
+
expected: "a string with at most 5000 code points",
|
|
2576
|
+
}),
|
|
2577
|
+
),
|
|
2578
|
+
),
|
|
2579
|
+
}),
|
|
2580
|
+
[
|
|
2581
|
+
Schema.Record(
|
|
2582
|
+
Schema.String,
|
|
2583
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2584
|
+
),
|
|
2585
|
+
],
|
|
2586
|
+
).annotate({
|
|
2587
|
+
title: "payment_intent_payment_method_options_au_becs_debit",
|
|
2588
|
+
description: "",
|
|
2589
|
+
identifier: "Stripepayment_intent_payment_method_options_au_becs_debit",
|
|
2590
|
+
});
|
|
2591
|
+
export const Stripepayment_intent_payment_method_options_mandate_options_bacs_debit =
|
|
2592
|
+
Schema.StructWithRest(
|
|
2593
|
+
Schema.Struct({
|
|
2594
|
+
reference_prefix: Schema.optionalKey(
|
|
2595
|
+
Schema.String.annotate({
|
|
2596
|
+
description:
|
|
2597
|
+
"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.",
|
|
2598
|
+
}).check(
|
|
2599
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2600
|
+
expected: "a string with at most 5000 code points",
|
|
2601
|
+
}),
|
|
2602
|
+
),
|
|
2603
|
+
),
|
|
2604
|
+
}),
|
|
2605
|
+
[
|
|
2606
|
+
Schema.Record(
|
|
2607
|
+
Schema.String,
|
|
2608
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2609
|
+
),
|
|
2610
|
+
],
|
|
2611
|
+
).annotate({
|
|
2612
|
+
title: "payment_intent_payment_method_options_mandate_options_bacs_debit",
|
|
2613
|
+
description: "",
|
|
2614
|
+
identifier:
|
|
2615
|
+
"Stripepayment_intent_payment_method_options_mandate_options_bacs_debit",
|
|
2616
|
+
});
|
|
2617
|
+
export const Stripepayment_intent_payment_method_options_mandate_options_blik =
|
|
2618
|
+
Schema.StructWithRest(
|
|
2619
|
+
Schema.Struct({
|
|
2620
|
+
expires_at: Schema.optionalKey(
|
|
2621
|
+
Schema.Union([
|
|
2622
|
+
Schema.Number.annotate({
|
|
2623
|
+
description: "Date at which the mandate expires.",
|
|
2624
|
+
format: "unix-time",
|
|
2625
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2626
|
+
Schema.Null,
|
|
2627
|
+
]),
|
|
2628
|
+
),
|
|
2629
|
+
type: Schema.optionalKey(
|
|
2630
|
+
Schema.Union([
|
|
2631
|
+
Schema.Literal("off_session").annotate({
|
|
2632
|
+
description: "Type of the mandate.",
|
|
2633
|
+
}),
|
|
2634
|
+
Schema.Null,
|
|
2635
|
+
]),
|
|
2636
|
+
),
|
|
2637
|
+
}),
|
|
2638
|
+
[
|
|
2639
|
+
Schema.Record(
|
|
2640
|
+
Schema.String,
|
|
2641
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2642
|
+
),
|
|
2643
|
+
],
|
|
2644
|
+
).annotate({
|
|
2645
|
+
title: "payment_intent_payment_method_options_mandate_options_blik",
|
|
2646
|
+
description: "",
|
|
2647
|
+
identifier:
|
|
2648
|
+
"Stripepayment_intent_payment_method_options_mandate_options_blik",
|
|
2649
|
+
});
|
|
2650
|
+
export const Stripepayment_intent_payment_method_options_eps =
|
|
2651
|
+
Schema.StructWithRest(
|
|
2652
|
+
Schema.Struct({
|
|
2653
|
+
setup_future_usage: Schema.optionalKey(
|
|
2654
|
+
Schema.Literal("none").annotate({
|
|
2655
|
+
description:
|
|
2656
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
2657
|
+
}),
|
|
2658
|
+
),
|
|
2659
|
+
}),
|
|
2660
|
+
[
|
|
2661
|
+
Schema.Record(
|
|
2662
|
+
Schema.String,
|
|
2663
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2664
|
+
),
|
|
2665
|
+
],
|
|
2666
|
+
).annotate({
|
|
2667
|
+
title: "payment_intent_payment_method_options_eps",
|
|
2668
|
+
description: "",
|
|
2669
|
+
identifier: "Stripepayment_intent_payment_method_options_eps",
|
|
2670
|
+
});
|
|
2671
|
+
export const Stripepayment_intent_payment_method_options_link =
|
|
2672
|
+
Schema.StructWithRest(
|
|
2673
|
+
Schema.Struct({
|
|
2674
|
+
capture_method: Schema.optionalKey(
|
|
2675
|
+
Schema.Literal("manual").annotate({
|
|
2676
|
+
description:
|
|
2677
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
2678
|
+
}),
|
|
2679
|
+
),
|
|
2680
|
+
setup_future_usage: Schema.optionalKey(
|
|
2681
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
2682
|
+
description:
|
|
2683
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
2684
|
+
}),
|
|
2685
|
+
),
|
|
2686
|
+
}),
|
|
2687
|
+
[
|
|
2688
|
+
Schema.Record(
|
|
2689
|
+
Schema.String,
|
|
2690
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2691
|
+
),
|
|
2692
|
+
],
|
|
2693
|
+
).annotate({
|
|
2694
|
+
title: "payment_intent_payment_method_options_link",
|
|
2695
|
+
description: "",
|
|
2696
|
+
identifier: "Stripepayment_intent_payment_method_options_link",
|
|
2697
|
+
});
|
|
2698
|
+
export const Stripepayment_intent_payment_method_options_mobilepay =
|
|
2699
|
+
Schema.StructWithRest(
|
|
2700
|
+
Schema.Struct({
|
|
2701
|
+
capture_method: Schema.optionalKey(
|
|
2702
|
+
Schema.Literal("manual").annotate({
|
|
2703
|
+
description:
|
|
2704
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
2705
|
+
}),
|
|
2706
|
+
),
|
|
2707
|
+
setup_future_usage: Schema.optionalKey(
|
|
2708
|
+
Schema.Literal("none").annotate({
|
|
2709
|
+
description:
|
|
2710
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
2711
|
+
}),
|
|
2712
|
+
),
|
|
2713
|
+
}),
|
|
2714
|
+
[
|
|
2715
|
+
Schema.Record(
|
|
2716
|
+
Schema.String,
|
|
2717
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2718
|
+
),
|
|
2719
|
+
],
|
|
2720
|
+
).annotate({
|
|
2721
|
+
title: "payment_intent_payment_method_options_mobilepay",
|
|
2722
|
+
description: "",
|
|
2723
|
+
identifier: "Stripepayment_intent_payment_method_options_mobilepay",
|
|
2724
|
+
});
|
|
2725
|
+
export const Stripepayment_intent_payment_method_options_nz_bank_account =
|
|
2726
|
+
Schema.StructWithRest(
|
|
2727
|
+
Schema.Struct({
|
|
2728
|
+
setup_future_usage: Schema.optionalKey(
|
|
2729
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
2730
|
+
description:
|
|
2731
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
2732
|
+
}),
|
|
2733
|
+
),
|
|
2734
|
+
target_date: Schema.optionalKey(
|
|
2735
|
+
Schema.String.annotate({
|
|
2736
|
+
description:
|
|
2737
|
+
"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.",
|
|
2738
|
+
}).check(
|
|
2739
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2740
|
+
expected: "a string with at most 5000 code points",
|
|
2741
|
+
}),
|
|
2742
|
+
),
|
|
2743
|
+
),
|
|
2744
|
+
}),
|
|
2745
|
+
[
|
|
2746
|
+
Schema.Record(
|
|
2747
|
+
Schema.String,
|
|
2748
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2749
|
+
),
|
|
2750
|
+
],
|
|
2751
|
+
).annotate({
|
|
2752
|
+
title: "payment_intent_payment_method_options_nz_bank_account",
|
|
2753
|
+
description: "",
|
|
2754
|
+
identifier: "Stripepayment_intent_payment_method_options_nz_bank_account",
|
|
2755
|
+
});
|
|
2756
|
+
export const Stripepayment_intent_payment_method_options_mandate_options_sepa_debit =
|
|
2757
|
+
Schema.StructWithRest(
|
|
2758
|
+
Schema.Struct({
|
|
2759
|
+
reference_prefix: Schema.optionalKey(
|
|
2760
|
+
Schema.String.annotate({
|
|
2761
|
+
description:
|
|
2762
|
+
"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.",
|
|
2763
|
+
}).check(
|
|
2764
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2765
|
+
expected: "a string with at most 5000 code points",
|
|
2766
|
+
}),
|
|
2767
|
+
),
|
|
2768
|
+
),
|
|
2769
|
+
}),
|
|
2770
|
+
[
|
|
2771
|
+
Schema.Record(
|
|
2772
|
+
Schema.String,
|
|
2773
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2774
|
+
),
|
|
2775
|
+
],
|
|
2776
|
+
).annotate({
|
|
2777
|
+
title: "payment_intent_payment_method_options_mandate_options_sepa_debit",
|
|
2778
|
+
description: "",
|
|
2779
|
+
identifier:
|
|
2780
|
+
"Stripepayment_intent_payment_method_options_mandate_options_sepa_debit",
|
|
2781
|
+
});
|
|
2782
|
+
export const Stripepayment_intent_payment_method_options_swish =
|
|
2783
|
+
Schema.StructWithRest(
|
|
2784
|
+
Schema.Struct({
|
|
2785
|
+
reference: Schema.optionalKey(
|
|
2786
|
+
Schema.Union([
|
|
2787
|
+
Schema.String.annotate({
|
|
2788
|
+
description:
|
|
2789
|
+
"A reference for this payment to be displayed in the Swish app.",
|
|
2790
|
+
}).check(
|
|
2791
|
+
Schema.isMaxCodePoints(35).annotate({
|
|
2792
|
+
expected: "a string with at most 35 code points",
|
|
2793
|
+
}),
|
|
2794
|
+
),
|
|
2795
|
+
Schema.Null,
|
|
2796
|
+
]),
|
|
2797
|
+
),
|
|
2798
|
+
setup_future_usage: Schema.optionalKey(
|
|
2799
|
+
Schema.Literal("none").annotate({
|
|
2800
|
+
description:
|
|
2801
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
2802
|
+
}),
|
|
2803
|
+
),
|
|
2804
|
+
}),
|
|
2805
|
+
[
|
|
2806
|
+
Schema.Record(
|
|
2807
|
+
Schema.String,
|
|
2808
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2809
|
+
),
|
|
2810
|
+
],
|
|
2811
|
+
).annotate({
|
|
2812
|
+
title: "payment_intent_payment_method_options_swish",
|
|
2813
|
+
description: "",
|
|
2814
|
+
identifier: "Stripepayment_intent_payment_method_options_swish",
|
|
2815
|
+
});
|
|
2816
|
+
export const Stripepayment_intent_processing_customer_notification =
|
|
2817
|
+
Schema.StructWithRest(
|
|
2818
|
+
Schema.Struct({
|
|
2819
|
+
approval_requested: Schema.optionalKey(
|
|
2820
|
+
Schema.Union([
|
|
2821
|
+
Schema.Boolean.annotate({
|
|
2822
|
+
description:
|
|
2823
|
+
"Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank.",
|
|
2824
|
+
}),
|
|
2825
|
+
Schema.Null,
|
|
2826
|
+
]),
|
|
2827
|
+
),
|
|
2828
|
+
completes_at: Schema.optionalKey(
|
|
2829
|
+
Schema.Union([
|
|
2830
|
+
Schema.Number.annotate({
|
|
2831
|
+
description:
|
|
2832
|
+
"If customer approval is required, they need to provide approval before this time.",
|
|
2833
|
+
format: "unix-time",
|
|
2834
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
2835
|
+
Schema.Null,
|
|
2836
|
+
]),
|
|
2837
|
+
),
|
|
2838
|
+
}),
|
|
2839
|
+
[
|
|
2840
|
+
Schema.Record(
|
|
2841
|
+
Schema.String,
|
|
2842
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2843
|
+
),
|
|
2844
|
+
],
|
|
2845
|
+
).annotate({
|
|
2846
|
+
title: "PaymentIntentProcessingCustomerNotification",
|
|
2847
|
+
description: "",
|
|
2848
|
+
identifier: "Stripepayment_intent_processing_customer_notification",
|
|
2849
|
+
});
|
|
2850
|
+
export const Stripepayment_intent_next_action_cashapp_handle_redirect_or_display_qr_code =
|
|
2851
|
+
Schema.suspend(
|
|
2852
|
+
(): Schema.Codec<Stripepayment_intent_next_action_cashapp_handle_redirect_or_display_qr_code> =>
|
|
2853
|
+
Schema.StructWithRest(
|
|
2854
|
+
Schema.Struct({
|
|
2855
|
+
hosted_instructions_url: Schema.String.annotate({
|
|
2856
|
+
description:
|
|
2857
|
+
"The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.",
|
|
2858
|
+
}).check(
|
|
2859
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2860
|
+
expected: "a string with at most 5000 code points",
|
|
2861
|
+
}),
|
|
2862
|
+
),
|
|
2863
|
+
mobile_auth_url: Schema.String.annotate({
|
|
2864
|
+
description: "The url for mobile redirect based auth",
|
|
2865
|
+
}).check(
|
|
2866
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2867
|
+
expected: "a string with at most 5000 code points",
|
|
2868
|
+
}),
|
|
2869
|
+
),
|
|
2870
|
+
qr_code: Stripepayment_intent_next_action_cashapp_qr_code,
|
|
2871
|
+
}),
|
|
2872
|
+
[
|
|
2873
|
+
Schema.Record(
|
|
2874
|
+
Schema.String,
|
|
2875
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2876
|
+
),
|
|
2877
|
+
],
|
|
2878
|
+
).annotate({
|
|
2879
|
+
title: "PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode",
|
|
2880
|
+
description: "",
|
|
2881
|
+
identifier:
|
|
2882
|
+
"Stripepayment_intent_next_action_cashapp_handle_redirect_or_display_qr_code",
|
|
2883
|
+
}),
|
|
2884
|
+
);
|
|
2885
|
+
export const Stripepayment_intent_next_action_konbini_stores = Schema.suspend(
|
|
2886
|
+
(): Schema.Codec<Stripepayment_intent_next_action_konbini_stores> =>
|
|
2887
|
+
Schema.StructWithRest(
|
|
2888
|
+
Schema.Struct({
|
|
2889
|
+
familymart: Schema.optionalKey(
|
|
2890
|
+
Schema.Union([
|
|
2891
|
+
Schema.Union([
|
|
2892
|
+
Stripepayment_intent_next_action_konbini_familymart,
|
|
2893
|
+
]).annotate({ description: "FamilyMart instruction details." }),
|
|
2894
|
+
Schema.Null,
|
|
2895
|
+
]),
|
|
2896
|
+
),
|
|
2897
|
+
lawson: Schema.optionalKey(
|
|
2898
|
+
Schema.Union([
|
|
2899
|
+
Schema.Union([
|
|
2900
|
+
Stripepayment_intent_next_action_konbini_lawson,
|
|
2901
|
+
]).annotate({ description: "Lawson instruction details." }),
|
|
2902
|
+
Schema.Null,
|
|
2903
|
+
]),
|
|
2904
|
+
),
|
|
2905
|
+
ministop: Schema.optionalKey(
|
|
2906
|
+
Schema.Union([
|
|
2907
|
+
Schema.Union([
|
|
2908
|
+
Stripepayment_intent_next_action_konbini_ministop,
|
|
2909
|
+
]).annotate({ description: "Ministop instruction details." }),
|
|
2910
|
+
Schema.Null,
|
|
2911
|
+
]),
|
|
2912
|
+
),
|
|
2913
|
+
seicomart: Schema.optionalKey(
|
|
2914
|
+
Schema.Union([
|
|
2915
|
+
Schema.Union([
|
|
2916
|
+
Stripepayment_intent_next_action_konbini_seicomart,
|
|
2917
|
+
]).annotate({ description: "Seicomart instruction details." }),
|
|
2918
|
+
Schema.Null,
|
|
2919
|
+
]),
|
|
2920
|
+
),
|
|
2921
|
+
}),
|
|
2922
|
+
[
|
|
2923
|
+
Schema.Record(
|
|
2924
|
+
Schema.String,
|
|
2925
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2926
|
+
),
|
|
2927
|
+
],
|
|
2928
|
+
).annotate({
|
|
2929
|
+
title: "payment_intent_next_action_konbini_stores",
|
|
2930
|
+
description: "",
|
|
2931
|
+
identifier: "Stripepayment_intent_next_action_konbini_stores",
|
|
2932
|
+
}),
|
|
2933
|
+
);
|
|
2934
|
+
export const Stripepayment_intent_next_action_swish_handle_redirect_or_display_qr_code =
|
|
2935
|
+
Schema.suspend(
|
|
2936
|
+
(): Schema.Codec<Stripepayment_intent_next_action_swish_handle_redirect_or_display_qr_code> =>
|
|
2937
|
+
Schema.StructWithRest(
|
|
2938
|
+
Schema.Struct({
|
|
2939
|
+
hosted_instructions_url: Schema.String.annotate({
|
|
2940
|
+
description:
|
|
2941
|
+
"The URL to the hosted Swish instructions page, which allows customers to view the QR code.",
|
|
2942
|
+
}).check(
|
|
2943
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2944
|
+
expected: "a string with at most 5000 code points",
|
|
2945
|
+
}),
|
|
2946
|
+
),
|
|
2947
|
+
qr_code: Stripepayment_intent_next_action_swish_qr_code,
|
|
2948
|
+
}),
|
|
2949
|
+
[
|
|
2950
|
+
Schema.Record(
|
|
2951
|
+
Schema.String,
|
|
2952
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2953
|
+
),
|
|
2954
|
+
],
|
|
2955
|
+
).annotate({
|
|
2956
|
+
title: "PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode",
|
|
2957
|
+
description: "",
|
|
2958
|
+
identifier:
|
|
2959
|
+
"Stripepayment_intent_next_action_swish_handle_redirect_or_display_qr_code",
|
|
2960
|
+
}),
|
|
2961
|
+
);
|
|
2962
|
+
export const Stripepayment_intent_next_action_upi_handle_redirect_or_display_qr_code =
|
|
2963
|
+
Schema.suspend(
|
|
2964
|
+
(): Schema.Codec<Stripepayment_intent_next_action_upi_handle_redirect_or_display_qr_code> =>
|
|
2965
|
+
Schema.StructWithRest(
|
|
2966
|
+
Schema.Struct({
|
|
2967
|
+
hosted_instructions_url: Schema.String.annotate({
|
|
2968
|
+
description:
|
|
2969
|
+
"The URL to the hosted UPI instructions page, which allows customers to view the QR code.",
|
|
2970
|
+
}).check(
|
|
2971
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2972
|
+
expected: "a string with at most 5000 code points",
|
|
2973
|
+
}),
|
|
2974
|
+
),
|
|
2975
|
+
qr_code: Stripepayment_intent_next_action_upiqr_code,
|
|
2976
|
+
}),
|
|
2977
|
+
[
|
|
2978
|
+
Schema.Record(
|
|
2979
|
+
Schema.String,
|
|
2980
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2981
|
+
),
|
|
2982
|
+
],
|
|
2983
|
+
).annotate({
|
|
2984
|
+
title: "PaymentIntentNextActionUpiHandleRedirectOrDisplayQrCode",
|
|
2985
|
+
description: "",
|
|
2986
|
+
identifier:
|
|
2987
|
+
"Stripepayment_intent_next_action_upi_handle_redirect_or_display_qr_code",
|
|
2988
|
+
}),
|
|
2989
|
+
);
|
|
2990
|
+
export const Stripepayment_intent_payment_method_options_acss_debit =
|
|
2991
|
+
Schema.suspend(
|
|
2992
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_acss_debit> =>
|
|
2993
|
+
Schema.StructWithRest(
|
|
2994
|
+
Schema.Struct({
|
|
2995
|
+
mandate_options: Schema.optionalKey(
|
|
2996
|
+
Stripepayment_intent_payment_method_options_mandate_options_acss_debit,
|
|
2997
|
+
),
|
|
2998
|
+
setup_future_usage: Schema.optionalKey(
|
|
2999
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
3000
|
+
description:
|
|
3001
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3002
|
+
}),
|
|
3003
|
+
),
|
|
3004
|
+
target_date: Schema.optionalKey(
|
|
3005
|
+
Schema.String.annotate({
|
|
3006
|
+
description:
|
|
3007
|
+
"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.",
|
|
3008
|
+
}).check(
|
|
3009
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3010
|
+
expected: "a string with at most 5000 code points",
|
|
3011
|
+
}),
|
|
3012
|
+
),
|
|
3013
|
+
),
|
|
3014
|
+
verification_method: Schema.optionalKey(
|
|
3015
|
+
Schema.Literals(["automatic", "instant", "microdeposits"]).annotate(
|
|
3016
|
+
{
|
|
3017
|
+
description:
|
|
3018
|
+
"Bank account verification method. The default value is `automatic`.",
|
|
3019
|
+
},
|
|
3020
|
+
),
|
|
3021
|
+
),
|
|
3022
|
+
}),
|
|
3023
|
+
[
|
|
3024
|
+
Schema.Record(
|
|
3025
|
+
Schema.String,
|
|
3026
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3027
|
+
),
|
|
3028
|
+
],
|
|
3029
|
+
).annotate({
|
|
3030
|
+
title: "payment_intent_payment_method_options_acss_debit",
|
|
3031
|
+
description: "",
|
|
3032
|
+
identifier: "Stripepayment_intent_payment_method_options_acss_debit",
|
|
3033
|
+
}),
|
|
3034
|
+
);
|
|
3035
|
+
export const Stripepayment_intent_payment_method_options_payto = Schema.suspend(
|
|
3036
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_payto> =>
|
|
3037
|
+
Schema.StructWithRest(
|
|
3038
|
+
Schema.Struct({
|
|
3039
|
+
mandate_options: Schema.optionalKey(
|
|
3040
|
+
Stripepayment_intent_payment_method_options_mandate_options_payto,
|
|
3041
|
+
),
|
|
3042
|
+
setup_future_usage: Schema.optionalKey(
|
|
3043
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
3044
|
+
description:
|
|
3045
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3046
|
+
}),
|
|
3047
|
+
),
|
|
3048
|
+
}),
|
|
3049
|
+
[
|
|
3050
|
+
Schema.Record(
|
|
3051
|
+
Schema.String,
|
|
3052
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3053
|
+
),
|
|
3054
|
+
],
|
|
3055
|
+
).annotate({
|
|
3056
|
+
title: "payment_intent_payment_method_options_payto",
|
|
3057
|
+
description: "",
|
|
3058
|
+
identifier: "Stripepayment_intent_payment_method_options_payto",
|
|
3059
|
+
}),
|
|
3060
|
+
);
|
|
3061
|
+
export const Stripepayment_intent_payment_method_options_bacs_debit =
|
|
3062
|
+
Schema.suspend(
|
|
3063
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_bacs_debit> =>
|
|
3064
|
+
Schema.StructWithRest(
|
|
3065
|
+
Schema.Struct({
|
|
3066
|
+
mandate_options: Schema.optionalKey(
|
|
3067
|
+
Stripepayment_intent_payment_method_options_mandate_options_bacs_debit,
|
|
3068
|
+
),
|
|
3069
|
+
setup_future_usage: Schema.optionalKey(
|
|
3070
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
3071
|
+
description:
|
|
3072
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3073
|
+
}),
|
|
3074
|
+
),
|
|
3075
|
+
target_date: Schema.optionalKey(
|
|
3076
|
+
Schema.String.annotate({
|
|
3077
|
+
description:
|
|
3078
|
+
"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.",
|
|
3079
|
+
}).check(
|
|
3080
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3081
|
+
expected: "a string with at most 5000 code points",
|
|
3082
|
+
}),
|
|
3083
|
+
),
|
|
3084
|
+
),
|
|
3085
|
+
}),
|
|
3086
|
+
[
|
|
3087
|
+
Schema.Record(
|
|
3088
|
+
Schema.String,
|
|
3089
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3090
|
+
),
|
|
3091
|
+
],
|
|
3092
|
+
).annotate({
|
|
3093
|
+
title: "payment_intent_payment_method_options_bacs_debit",
|
|
3094
|
+
description: "",
|
|
3095
|
+
identifier: "Stripepayment_intent_payment_method_options_bacs_debit",
|
|
3096
|
+
}),
|
|
3097
|
+
);
|
|
3098
|
+
export const Stripepayment_intent_payment_method_options_blik = Schema.suspend(
|
|
3099
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_blik> =>
|
|
3100
|
+
Schema.StructWithRest(
|
|
3101
|
+
Schema.Struct({
|
|
3102
|
+
mandate_options: Schema.optionalKey(
|
|
3103
|
+
Stripepayment_intent_payment_method_options_mandate_options_blik,
|
|
3104
|
+
),
|
|
3105
|
+
setup_future_usage: Schema.optionalKey(
|
|
3106
|
+
Schema.Literals(["none", "off_session"]).annotate({
|
|
3107
|
+
description:
|
|
3108
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3109
|
+
}),
|
|
3110
|
+
),
|
|
3111
|
+
}),
|
|
3112
|
+
[
|
|
3113
|
+
Schema.Record(
|
|
3114
|
+
Schema.String,
|
|
3115
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3116
|
+
),
|
|
3117
|
+
],
|
|
3118
|
+
).annotate({
|
|
3119
|
+
title: "payment_intent_payment_method_options_blik",
|
|
3120
|
+
description: "",
|
|
3121
|
+
identifier: "Stripepayment_intent_payment_method_options_blik",
|
|
3122
|
+
}),
|
|
3123
|
+
);
|
|
3124
|
+
export const Stripepayment_intent_payment_method_options_sepa_debit =
|
|
3125
|
+
Schema.suspend(
|
|
3126
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_sepa_debit> =>
|
|
3127
|
+
Schema.StructWithRest(
|
|
3128
|
+
Schema.Struct({
|
|
3129
|
+
mandate_options: Schema.optionalKey(
|
|
3130
|
+
Stripepayment_intent_payment_method_options_mandate_options_sepa_debit,
|
|
3131
|
+
),
|
|
3132
|
+
setup_future_usage: Schema.optionalKey(
|
|
3133
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
3134
|
+
description:
|
|
3135
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3136
|
+
}),
|
|
3137
|
+
),
|
|
3138
|
+
target_date: Schema.optionalKey(
|
|
3139
|
+
Schema.String.annotate({
|
|
3140
|
+
description:
|
|
3141
|
+
"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.",
|
|
3142
|
+
}).check(
|
|
3143
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3144
|
+
expected: "a string with at most 5000 code points",
|
|
3145
|
+
}),
|
|
3146
|
+
),
|
|
3147
|
+
),
|
|
3148
|
+
}),
|
|
3149
|
+
[
|
|
3150
|
+
Schema.Record(
|
|
3151
|
+
Schema.String,
|
|
3152
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3153
|
+
),
|
|
3154
|
+
],
|
|
3155
|
+
).annotate({
|
|
3156
|
+
title: "payment_intent_payment_method_options_sepa_debit",
|
|
3157
|
+
description: "",
|
|
3158
|
+
identifier: "Stripepayment_intent_payment_method_options_sepa_debit",
|
|
3159
|
+
}),
|
|
3160
|
+
);
|
|
3161
|
+
export const Stripepayment_intent_card_processing = Schema.suspend(
|
|
3162
|
+
(): Schema.Codec<Stripepayment_intent_card_processing> =>
|
|
3163
|
+
Schema.StructWithRest(
|
|
3164
|
+
Schema.Struct({
|
|
3165
|
+
customer_notification: Schema.optionalKey(
|
|
3166
|
+
Stripepayment_intent_processing_customer_notification,
|
|
3167
|
+
),
|
|
3168
|
+
}),
|
|
3169
|
+
[
|
|
3170
|
+
Schema.Record(
|
|
3171
|
+
Schema.String,
|
|
3172
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3173
|
+
),
|
|
3174
|
+
],
|
|
3175
|
+
).annotate({
|
|
3176
|
+
title: "PaymentIntentCardProcessing",
|
|
3177
|
+
description: "",
|
|
3178
|
+
identifier: "Stripepayment_intent_card_processing",
|
|
3179
|
+
}),
|
|
3180
|
+
);
|
|
3181
|
+
export const Stripepayment_intent_amount_details_line_item = Schema.suspend(
|
|
3182
|
+
(): Schema.Codec<Stripepayment_intent_amount_details_line_item> =>
|
|
3183
|
+
Schema.StructWithRest(
|
|
3184
|
+
Schema.Struct({
|
|
3185
|
+
discount_amount: Schema.optionalKey(
|
|
3186
|
+
Schema.Union([
|
|
3187
|
+
Schema.Number.annotate({
|
|
3188
|
+
description:
|
|
3189
|
+
"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field.",
|
|
3190
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
3191
|
+
Schema.Null,
|
|
3192
|
+
]),
|
|
3193
|
+
),
|
|
3194
|
+
id: Schema.String.annotate({
|
|
3195
|
+
description: "Unique identifier for the object.",
|
|
3196
|
+
}).check(
|
|
3197
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3198
|
+
expected: "a string with at most 5000 code points",
|
|
3199
|
+
}),
|
|
3200
|
+
),
|
|
3201
|
+
object: Schema.Literal(
|
|
3202
|
+
"payment_intent_amount_details_line_item",
|
|
3203
|
+
).annotate({
|
|
3204
|
+
description:
|
|
3205
|
+
"String representing the object's type. Objects of the same type share the same value.",
|
|
3206
|
+
}),
|
|
3207
|
+
payment_method_options: Schema.optionalKey(
|
|
3208
|
+
Schema.Union([
|
|
3209
|
+
Schema.Union([
|
|
3210
|
+
Stripepayment_flows_amount_details_resource_line_items_list_resource_line_item_resource_payment_method_options,
|
|
3211
|
+
]).annotate({
|
|
3212
|
+
description:
|
|
3213
|
+
"Payment method-specific information for line items.",
|
|
3214
|
+
}),
|
|
3215
|
+
Schema.Null,
|
|
3216
|
+
]),
|
|
3217
|
+
),
|
|
3218
|
+
product_code: Schema.optionalKey(
|
|
3219
|
+
Schema.Union([
|
|
3220
|
+
Schema.String.annotate({
|
|
3221
|
+
description:
|
|
3222
|
+
"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.",
|
|
3223
|
+
}).check(
|
|
3224
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3225
|
+
expected: "a string with at most 5000 code points",
|
|
3226
|
+
}),
|
|
3227
|
+
),
|
|
3228
|
+
Schema.Null,
|
|
3229
|
+
]),
|
|
3230
|
+
),
|
|
3231
|
+
product_name: Schema.String.annotate({
|
|
3232
|
+
description:
|
|
3233
|
+
"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters.",
|
|
3234
|
+
}).check(
|
|
3235
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3236
|
+
expected: "a string with at most 5000 code points",
|
|
3237
|
+
}),
|
|
3238
|
+
),
|
|
3239
|
+
quantity: Schema.Number.annotate({
|
|
3240
|
+
description:
|
|
3241
|
+
"The quantity of items. Required for L3 rates. An integer greater than 0.",
|
|
3242
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
3243
|
+
tax: Schema.optionalKey(
|
|
3244
|
+
Schema.Union([
|
|
3245
|
+
Schema.Union([
|
|
3246
|
+
Stripepayment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax,
|
|
3247
|
+
]).annotate({
|
|
3248
|
+
description: "Contains information about the tax on the item.",
|
|
3249
|
+
}),
|
|
3250
|
+
Schema.Null,
|
|
3251
|
+
]),
|
|
3252
|
+
),
|
|
3253
|
+
unit_cost: Schema.Number.annotate({
|
|
3254
|
+
description:
|
|
3255
|
+
"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.",
|
|
3256
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
3257
|
+
unit_of_measure: Schema.optionalKey(
|
|
3258
|
+
Schema.Union([
|
|
3259
|
+
Schema.String.annotate({
|
|
3260
|
+
description:
|
|
3261
|
+
"A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.",
|
|
3262
|
+
}).check(
|
|
3263
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3264
|
+
expected: "a string with at most 5000 code points",
|
|
3265
|
+
}),
|
|
3266
|
+
),
|
|
3267
|
+
Schema.Null,
|
|
3268
|
+
]),
|
|
3269
|
+
),
|
|
3270
|
+
}),
|
|
3271
|
+
[
|
|
3272
|
+
Schema.Record(
|
|
3273
|
+
Schema.String,
|
|
3274
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3275
|
+
),
|
|
3276
|
+
],
|
|
3277
|
+
).annotate({
|
|
3278
|
+
title: "PaymentIntent LineItem",
|
|
3279
|
+
description: "",
|
|
3280
|
+
identifier: "Stripepayment_intent_amount_details_line_item",
|
|
3281
|
+
}),
|
|
3282
|
+
);
|
|
3283
|
+
export const Stripepayment_intent_type_specific_payment_method_options_client =
|
|
3284
|
+
Schema.suspend(
|
|
3285
|
+
(): Schema.Codec<Stripepayment_intent_type_specific_payment_method_options_client> =>
|
|
3286
|
+
Schema.StructWithRest(
|
|
3287
|
+
Schema.Struct({
|
|
3288
|
+
capture_method: Schema.optionalKey(
|
|
3289
|
+
Schema.Literals([
|
|
3290
|
+
"automatic_delayed",
|
|
3291
|
+
"manual",
|
|
3292
|
+
"manual_preferred",
|
|
3293
|
+
]).annotate({
|
|
3294
|
+
description:
|
|
3295
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
3296
|
+
}),
|
|
3297
|
+
),
|
|
3298
|
+
installments: Schema.optionalKey(
|
|
3299
|
+
Stripepayment_flows_installment_options,
|
|
3300
|
+
),
|
|
3301
|
+
mandate_options: Schema.optionalKey(
|
|
3302
|
+
Stripepayment_intent_payment_method_options_mandate_options_payto,
|
|
3303
|
+
),
|
|
3304
|
+
request_incremental_authorization_support: Schema.optionalKey(
|
|
3305
|
+
Schema.Boolean.annotate({
|
|
3306
|
+
description:
|
|
3307
|
+
"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.",
|
|
3308
|
+
}),
|
|
3309
|
+
),
|
|
3310
|
+
require_cvc_recollection: Schema.optionalKey(
|
|
3311
|
+
Schema.Boolean.annotate({
|
|
3312
|
+
description:
|
|
3313
|
+
"When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
|
|
3314
|
+
}),
|
|
3315
|
+
),
|
|
3316
|
+
routing: Schema.optionalKey(
|
|
3317
|
+
Stripepayment_method_options_card_present_routing,
|
|
3318
|
+
),
|
|
3319
|
+
setup_future_usage: Schema.optionalKey(
|
|
3320
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
3321
|
+
description:
|
|
3322
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3323
|
+
}),
|
|
3324
|
+
),
|
|
3325
|
+
verification_method: Schema.optionalKey(
|
|
3326
|
+
Schema.Literals(["automatic", "instant", "microdeposits"]).annotate(
|
|
3327
|
+
{
|
|
3328
|
+
description:
|
|
3329
|
+
"Bank account verification method. The default value is `automatic`.",
|
|
3330
|
+
},
|
|
3331
|
+
),
|
|
3332
|
+
),
|
|
3333
|
+
}),
|
|
3334
|
+
[
|
|
3335
|
+
Schema.Record(
|
|
3336
|
+
Schema.String,
|
|
3337
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3338
|
+
),
|
|
3339
|
+
],
|
|
3340
|
+
).annotate({
|
|
3341
|
+
title: "PaymentIntentTypeSpecificPaymentMethodOptionsClient",
|
|
3342
|
+
description: "",
|
|
3343
|
+
identifier:
|
|
3344
|
+
"Stripepayment_intent_type_specific_payment_method_options_client",
|
|
3345
|
+
}),
|
|
3346
|
+
);
|
|
3347
|
+
export const Stripepayment_intent_payment_method_options_card = Schema.suspend(
|
|
3348
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_card> =>
|
|
3349
|
+
Schema.StructWithRest(
|
|
3350
|
+
Schema.Struct({
|
|
3351
|
+
capture_method: Schema.optionalKey(
|
|
3352
|
+
Schema.Literal("manual").annotate({
|
|
3353
|
+
description:
|
|
3354
|
+
"Controls when the funds will be captured from the customer's account.",
|
|
3355
|
+
}),
|
|
3356
|
+
),
|
|
3357
|
+
installments: Schema.optionalKey(
|
|
3358
|
+
Schema.Union([
|
|
3359
|
+
Schema.Union([
|
|
3360
|
+
Stripepayment_method_options_card_installments,
|
|
3361
|
+
]).annotate({
|
|
3362
|
+
description:
|
|
3363
|
+
"Installment details for this payment.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).",
|
|
3364
|
+
}),
|
|
3365
|
+
Schema.Null,
|
|
3366
|
+
]),
|
|
3367
|
+
),
|
|
3368
|
+
mandate_options: Schema.optionalKey(
|
|
3369
|
+
Schema.Union([
|
|
3370
|
+
Schema.Union([
|
|
3371
|
+
Stripepayment_method_options_card_mandate_options,
|
|
3372
|
+
]).annotate({
|
|
3373
|
+
description:
|
|
3374
|
+
"Configuration options for setting up an eMandate for cards issued in India.",
|
|
3375
|
+
}),
|
|
3376
|
+
Schema.Null,
|
|
3377
|
+
]),
|
|
3378
|
+
),
|
|
3379
|
+
network: Schema.optionalKey(
|
|
3380
|
+
Schema.Union([
|
|
3381
|
+
Schema.Literals([
|
|
3382
|
+
"amex",
|
|
3383
|
+
"cartes_bancaires",
|
|
3384
|
+
"diners",
|
|
3385
|
+
"discover",
|
|
3386
|
+
"eftpos_au",
|
|
3387
|
+
"girocard",
|
|
3388
|
+
"interac",
|
|
3389
|
+
"jcb",
|
|
3390
|
+
"link",
|
|
3391
|
+
"mastercard",
|
|
3392
|
+
"unionpay",
|
|
3393
|
+
"unknown",
|
|
3394
|
+
"visa",
|
|
3395
|
+
]).annotate({
|
|
3396
|
+
description:
|
|
3397
|
+
"Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.",
|
|
3398
|
+
}),
|
|
3399
|
+
Schema.Null,
|
|
3400
|
+
]),
|
|
3401
|
+
),
|
|
3402
|
+
request_extended_authorization: Schema.optionalKey(
|
|
3403
|
+
Schema.Literals(["if_available", "never"]).annotate({
|
|
3404
|
+
description:
|
|
3405
|
+
"Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.",
|
|
3406
|
+
}),
|
|
3407
|
+
),
|
|
3408
|
+
request_incremental_authorization: Schema.optionalKey(
|
|
3409
|
+
Schema.Literals(["if_available", "never"]).annotate({
|
|
3410
|
+
description:
|
|
3411
|
+
"Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.",
|
|
3412
|
+
}),
|
|
3413
|
+
),
|
|
3414
|
+
request_multicapture: Schema.optionalKey(
|
|
3415
|
+
Schema.Literals(["if_available", "never"]).annotate({
|
|
3416
|
+
description:
|
|
3417
|
+
"Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.",
|
|
3418
|
+
}),
|
|
3419
|
+
),
|
|
3420
|
+
request_overcapture: Schema.optionalKey(
|
|
3421
|
+
Schema.Literals(["if_available", "never"]).annotate({
|
|
3422
|
+
description:
|
|
3423
|
+
"Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.",
|
|
3424
|
+
}),
|
|
3425
|
+
),
|
|
3426
|
+
request_three_d_secure: Schema.optionalKey(
|
|
3427
|
+
Schema.Union([
|
|
3428
|
+
Schema.Literals(["any", "automatic", "challenge"]).annotate({
|
|
3429
|
+
description:
|
|
3430
|
+
"We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.",
|
|
3431
|
+
}),
|
|
3432
|
+
Schema.Null,
|
|
3433
|
+
]),
|
|
3434
|
+
),
|
|
3435
|
+
require_cvc_recollection: Schema.optionalKey(
|
|
3436
|
+
Schema.Boolean.annotate({
|
|
3437
|
+
description:
|
|
3438
|
+
"When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
|
|
3439
|
+
}),
|
|
3440
|
+
),
|
|
3441
|
+
setup_credential_usage: Schema.optionalKey(
|
|
3442
|
+
Schema.Literals(["installment", "recurring", "unscheduled"]).annotate(
|
|
3443
|
+
{
|
|
3444
|
+
description:
|
|
3445
|
+
"Set to indicate the future transaction type usage for the card being set up.",
|
|
3446
|
+
},
|
|
3447
|
+
),
|
|
3448
|
+
),
|
|
3449
|
+
setup_future_usage: Schema.optionalKey(
|
|
3450
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
3451
|
+
description:
|
|
3452
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3453
|
+
}),
|
|
3454
|
+
),
|
|
3455
|
+
statement_descriptor_suffix_kana: Schema.optionalKey(
|
|
3456
|
+
Schema.String.annotate({
|
|
3457
|
+
description:
|
|
3458
|
+
"Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters.",
|
|
3459
|
+
}).check(
|
|
3460
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3461
|
+
expected: "a string with at most 5000 code points",
|
|
3462
|
+
}),
|
|
3463
|
+
),
|
|
3464
|
+
),
|
|
3465
|
+
statement_descriptor_suffix_kanji: Schema.optionalKey(
|
|
3466
|
+
Schema.String.annotate({
|
|
3467
|
+
description:
|
|
3468
|
+
"Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.",
|
|
3469
|
+
}).check(
|
|
3470
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3471
|
+
expected: "a string with at most 5000 code points",
|
|
3472
|
+
}),
|
|
3473
|
+
),
|
|
3474
|
+
),
|
|
3475
|
+
stored_credential_usage: Schema.optionalKey(
|
|
3476
|
+
Schema.Literals(["installment", "recurring", "unscheduled"]).annotate(
|
|
3477
|
+
{
|
|
3478
|
+
description:
|
|
3479
|
+
"Selected usage to indicate the transaction type of the off-session payment.",
|
|
3480
|
+
},
|
|
3481
|
+
),
|
|
3482
|
+
),
|
|
3483
|
+
}),
|
|
3484
|
+
[
|
|
3485
|
+
Schema.Record(
|
|
3486
|
+
Schema.String,
|
|
3487
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3488
|
+
),
|
|
3489
|
+
],
|
|
3490
|
+
).annotate({
|
|
3491
|
+
title: "payment_intent_payment_method_options_card",
|
|
3492
|
+
description: "",
|
|
3493
|
+
identifier: "Stripepayment_intent_payment_method_options_card",
|
|
3494
|
+
}),
|
|
3495
|
+
);
|
|
3496
|
+
export const Stripepayment_intent_next_action_konbini = Schema.suspend(
|
|
3497
|
+
(): Schema.Codec<Stripepayment_intent_next_action_konbini> =>
|
|
3498
|
+
Schema.StructWithRest(
|
|
3499
|
+
Schema.Struct({
|
|
3500
|
+
expires_at: Schema.Number.annotate({
|
|
3501
|
+
description:
|
|
3502
|
+
"The timestamp at which the pending Konbini payment expires.",
|
|
3503
|
+
format: "unix-time",
|
|
3504
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
3505
|
+
hosted_voucher_url: Schema.optionalKey(
|
|
3506
|
+
Schema.Union([
|
|
3507
|
+
Schema.String.annotate({
|
|
3508
|
+
description:
|
|
3509
|
+
"The URL for the Konbini payment instructions page, which allows customers to view and print a Konbini voucher.",
|
|
3510
|
+
}).check(
|
|
3511
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3512
|
+
expected: "a string with at most 5000 code points",
|
|
3513
|
+
}),
|
|
3514
|
+
),
|
|
3515
|
+
Schema.Null,
|
|
3516
|
+
]),
|
|
3517
|
+
),
|
|
3518
|
+
stores: Stripepayment_intent_next_action_konbini_stores,
|
|
3519
|
+
}),
|
|
3520
|
+
[
|
|
3521
|
+
Schema.Record(
|
|
3522
|
+
Schema.String,
|
|
3523
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3524
|
+
),
|
|
3525
|
+
],
|
|
3526
|
+
).annotate({
|
|
3527
|
+
title: "payment_intent_next_action_konbini",
|
|
3528
|
+
description: "",
|
|
3529
|
+
identifier: "Stripepayment_intent_next_action_konbini",
|
|
3530
|
+
}),
|
|
3531
|
+
);
|
|
3532
|
+
export const Stripepayment_intent_payment_method_options_us_bank_account =
|
|
3533
|
+
Schema.suspend(
|
|
3534
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options_us_bank_account> =>
|
|
3535
|
+
Schema.StructWithRest(
|
|
3536
|
+
Schema.Struct({
|
|
3537
|
+
financial_connections: Schema.optionalKey(
|
|
3538
|
+
Stripelinked_account_options_common,
|
|
3539
|
+
),
|
|
3540
|
+
mandate_options: Schema.optionalKey(
|
|
3541
|
+
Stripepayment_method_options_us_bank_account_mandate_options,
|
|
3542
|
+
),
|
|
3543
|
+
setup_future_usage: Schema.optionalKey(
|
|
3544
|
+
Schema.Literals(["none", "off_session", "on_session"]).annotate({
|
|
3545
|
+
description:
|
|
3546
|
+
"Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
|
|
3547
|
+
}),
|
|
3548
|
+
),
|
|
3549
|
+
target_date: Schema.optionalKey(
|
|
3550
|
+
Schema.String.annotate({
|
|
3551
|
+
description:
|
|
3552
|
+
"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.",
|
|
3553
|
+
}).check(
|
|
3554
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3555
|
+
expected: "a string with at most 5000 code points",
|
|
3556
|
+
}),
|
|
3557
|
+
),
|
|
3558
|
+
),
|
|
3559
|
+
transaction_purpose: Schema.optionalKey(
|
|
3560
|
+
Schema.Literals([
|
|
3561
|
+
"goods",
|
|
3562
|
+
"other",
|
|
3563
|
+
"services",
|
|
3564
|
+
"unspecified",
|
|
3565
|
+
]).annotate({ description: "The purpose of the transaction." }),
|
|
3566
|
+
),
|
|
3567
|
+
verification_method: Schema.optionalKey(
|
|
3568
|
+
Schema.Literals(["automatic", "instant", "microdeposits"]).annotate(
|
|
3569
|
+
{
|
|
3570
|
+
description:
|
|
3571
|
+
"Bank account verification method. The default value is `automatic`.",
|
|
3572
|
+
},
|
|
3573
|
+
),
|
|
3574
|
+
),
|
|
3575
|
+
}),
|
|
3576
|
+
[
|
|
3577
|
+
Schema.Record(
|
|
3578
|
+
Schema.String,
|
|
3579
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3580
|
+
),
|
|
3581
|
+
],
|
|
3582
|
+
).annotate({
|
|
3583
|
+
title: "payment_intent_payment_method_options_us_bank_account",
|
|
3584
|
+
description: "",
|
|
3585
|
+
identifier:
|
|
3586
|
+
"Stripepayment_intent_payment_method_options_us_bank_account",
|
|
3587
|
+
}),
|
|
3588
|
+
);
|
|
3589
|
+
export const Stripepayment_intent_processing = Schema.suspend(
|
|
3590
|
+
(): Schema.Codec<Stripepayment_intent_processing> =>
|
|
3591
|
+
Schema.StructWithRest(
|
|
3592
|
+
Schema.Struct({
|
|
3593
|
+
card: Schema.optionalKey(Stripepayment_intent_card_processing),
|
|
3594
|
+
type: Schema.Literal("card").annotate({
|
|
3595
|
+
description:
|
|
3596
|
+
"Type of the payment method for which payment is in `processing` state, one of `card`.",
|
|
3597
|
+
}),
|
|
3598
|
+
}),
|
|
3599
|
+
[
|
|
3600
|
+
Schema.Record(
|
|
3601
|
+
Schema.String,
|
|
3602
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3603
|
+
),
|
|
3604
|
+
],
|
|
3605
|
+
).annotate({
|
|
3606
|
+
title: "PaymentIntentProcessing",
|
|
3607
|
+
description: "",
|
|
3608
|
+
identifier: "Stripepayment_intent_processing",
|
|
3609
|
+
}),
|
|
3610
|
+
);
|
|
3611
|
+
export const Stripepayment_intent_next_action_display_bank_transfer_instructions =
|
|
3612
|
+
Schema.suspend(
|
|
3613
|
+
(): Schema.Codec<Stripepayment_intent_next_action_display_bank_transfer_instructions> =>
|
|
3614
|
+
Schema.StructWithRest(
|
|
3615
|
+
Schema.Struct({
|
|
3616
|
+
amount_remaining: Schema.optionalKey(
|
|
3617
|
+
Schema.Union([
|
|
3618
|
+
Schema.Number.annotate({
|
|
3619
|
+
description:
|
|
3620
|
+
"The remaining amount that needs to be transferred to complete the payment.",
|
|
3621
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
3622
|
+
Schema.Null,
|
|
3623
|
+
]),
|
|
3624
|
+
),
|
|
3625
|
+
currency: Schema.optionalKey(
|
|
3626
|
+
Schema.Union([
|
|
3627
|
+
Schema.String.annotate({
|
|
3628
|
+
description:
|
|
3629
|
+
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
|
|
3630
|
+
format: "currency",
|
|
3631
|
+
}),
|
|
3632
|
+
Schema.Null,
|
|
3633
|
+
]),
|
|
3634
|
+
),
|
|
3635
|
+
financial_addresses: Schema.optionalKey(
|
|
3636
|
+
Schema.Array(
|
|
3637
|
+
Stripefunding_instructions_bank_transfer_financial_address,
|
|
3638
|
+
).annotate({
|
|
3639
|
+
description:
|
|
3640
|
+
"A list of financial addresses that can be used to fund the customer balance",
|
|
3641
|
+
}),
|
|
3642
|
+
),
|
|
3643
|
+
hosted_instructions_url: Schema.optionalKey(
|
|
3644
|
+
Schema.Union([
|
|
3645
|
+
Schema.String.annotate({
|
|
3646
|
+
description:
|
|
3647
|
+
"A link to a hosted page that guides your customer through completing the transfer.",
|
|
3648
|
+
}).check(
|
|
3649
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3650
|
+
expected: "a string with at most 5000 code points",
|
|
3651
|
+
}),
|
|
3652
|
+
),
|
|
3653
|
+
Schema.Null,
|
|
3654
|
+
]),
|
|
3655
|
+
),
|
|
3656
|
+
reference: Schema.optionalKey(
|
|
3657
|
+
Schema.Union([
|
|
3658
|
+
Schema.String.annotate({
|
|
3659
|
+
description:
|
|
3660
|
+
"A string identifying this payment. Instruct your customer to include this code in the reference or memo field of their bank transfer.",
|
|
3661
|
+
}).check(
|
|
3662
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3663
|
+
expected: "a string with at most 5000 code points",
|
|
3664
|
+
}),
|
|
3665
|
+
),
|
|
3666
|
+
Schema.Null,
|
|
3667
|
+
]),
|
|
3668
|
+
),
|
|
3669
|
+
type: Schema.Literals([
|
|
3670
|
+
"eu_bank_transfer",
|
|
3671
|
+
"gb_bank_transfer",
|
|
3672
|
+
"jp_bank_transfer",
|
|
3673
|
+
"mx_bank_transfer",
|
|
3674
|
+
"us_bank_transfer",
|
|
3675
|
+
]).annotate({ description: "Type of bank transfer" }),
|
|
3676
|
+
}),
|
|
3677
|
+
[
|
|
3678
|
+
Schema.Record(
|
|
3679
|
+
Schema.String,
|
|
3680
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3681
|
+
),
|
|
3682
|
+
],
|
|
3683
|
+
).annotate({
|
|
3684
|
+
title: "PaymentIntentNextActionDisplayBankTransferInstructions",
|
|
3685
|
+
description: "",
|
|
3686
|
+
identifier:
|
|
3687
|
+
"Stripepayment_intent_next_action_display_bank_transfer_instructions",
|
|
3688
|
+
}),
|
|
3689
|
+
);
|
|
3690
|
+
export const Stripepayment_intent_payment_method_options = Schema.suspend(
|
|
3691
|
+
(): Schema.Codec<Stripepayment_intent_payment_method_options> =>
|
|
3692
|
+
Schema.StructWithRest(
|
|
3693
|
+
Schema.Struct({
|
|
3694
|
+
acss_debit: Schema.optionalKey(
|
|
3695
|
+
Schema.Union([
|
|
3696
|
+
Stripepayment_intent_payment_method_options_acss_debit,
|
|
3697
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3698
|
+
]),
|
|
3699
|
+
),
|
|
3700
|
+
affirm: Schema.optionalKey(
|
|
3701
|
+
Schema.Union([
|
|
3702
|
+
Stripepayment_method_options_affirm,
|
|
3703
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3704
|
+
]),
|
|
3705
|
+
),
|
|
3706
|
+
afterpay_clearpay: Schema.optionalKey(
|
|
3707
|
+
Schema.Union([
|
|
3708
|
+
Stripepayment_method_options_afterpay_clearpay,
|
|
3709
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3710
|
+
]),
|
|
3711
|
+
),
|
|
3712
|
+
alipay: Schema.optionalKey(
|
|
3713
|
+
Schema.Union([
|
|
3714
|
+
Stripepayment_method_options_alipay,
|
|
3715
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3716
|
+
]),
|
|
3717
|
+
),
|
|
3718
|
+
alma: Schema.optionalKey(
|
|
3719
|
+
Schema.Union([
|
|
3720
|
+
Stripepayment_method_options_alma,
|
|
3721
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3722
|
+
]),
|
|
3723
|
+
),
|
|
3724
|
+
amazon_pay: Schema.optionalKey(
|
|
3725
|
+
Schema.Union([
|
|
3726
|
+
Stripepayment_method_options_amazon_pay,
|
|
3727
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3728
|
+
]),
|
|
3729
|
+
),
|
|
3730
|
+
au_becs_debit: Schema.optionalKey(
|
|
3731
|
+
Schema.Union([
|
|
3732
|
+
Stripepayment_intent_payment_method_options_au_becs_debit,
|
|
3733
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3734
|
+
]),
|
|
3735
|
+
),
|
|
3736
|
+
bacs_debit: Schema.optionalKey(
|
|
3737
|
+
Schema.Union([
|
|
3738
|
+
Stripepayment_intent_payment_method_options_bacs_debit,
|
|
3739
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3740
|
+
]),
|
|
3741
|
+
),
|
|
3742
|
+
bancontact: Schema.optionalKey(
|
|
3743
|
+
Schema.Union([
|
|
3744
|
+
Stripepayment_method_options_bancontact,
|
|
3745
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3746
|
+
]),
|
|
3747
|
+
),
|
|
3748
|
+
billie: Schema.optionalKey(
|
|
3749
|
+
Schema.Union([
|
|
3750
|
+
Stripepayment_method_options_billie,
|
|
3751
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3752
|
+
]),
|
|
3753
|
+
),
|
|
3754
|
+
bizum: Schema.optionalKey(
|
|
3755
|
+
Schema.Union([
|
|
3756
|
+
Stripepayment_method_options_bizum,
|
|
3757
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3758
|
+
]),
|
|
3759
|
+
),
|
|
3760
|
+
blik: Schema.optionalKey(
|
|
3761
|
+
Schema.Union([
|
|
3762
|
+
Stripepayment_intent_payment_method_options_blik,
|
|
3763
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3764
|
+
]),
|
|
3765
|
+
),
|
|
3766
|
+
boleto: Schema.optionalKey(
|
|
3767
|
+
Schema.Union([
|
|
3768
|
+
Stripepayment_method_options_boleto,
|
|
3769
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3770
|
+
]),
|
|
3771
|
+
),
|
|
3772
|
+
card: Schema.optionalKey(
|
|
3773
|
+
Schema.Union([
|
|
3774
|
+
Stripepayment_intent_payment_method_options_card,
|
|
3775
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3776
|
+
]),
|
|
3777
|
+
),
|
|
3778
|
+
card_present: Schema.optionalKey(
|
|
3779
|
+
Schema.Union([
|
|
3780
|
+
Stripepayment_method_options_card_present,
|
|
3781
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3782
|
+
]),
|
|
3783
|
+
),
|
|
3784
|
+
cashapp: Schema.optionalKey(
|
|
3785
|
+
Schema.Union([
|
|
3786
|
+
Stripepayment_method_options_cashapp,
|
|
3787
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3788
|
+
]),
|
|
3789
|
+
),
|
|
3790
|
+
crypto: Schema.optionalKey(
|
|
3791
|
+
Schema.Union([
|
|
3792
|
+
Stripepayment_method_options_crypto,
|
|
3793
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3794
|
+
]),
|
|
3795
|
+
),
|
|
3796
|
+
customer_balance: Schema.optionalKey(
|
|
3797
|
+
Schema.Union([
|
|
3798
|
+
Stripepayment_method_options_customer_balance,
|
|
3799
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3800
|
+
]),
|
|
3801
|
+
),
|
|
3802
|
+
eps: Schema.optionalKey(
|
|
3803
|
+
Schema.Union([
|
|
3804
|
+
Stripepayment_intent_payment_method_options_eps,
|
|
3805
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3806
|
+
]),
|
|
3807
|
+
),
|
|
3808
|
+
fpx: Schema.optionalKey(
|
|
3809
|
+
Schema.Union([
|
|
3810
|
+
Stripepayment_method_options_fpx,
|
|
3811
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3812
|
+
]),
|
|
3813
|
+
),
|
|
3814
|
+
giropay: Schema.optionalKey(
|
|
3815
|
+
Schema.Union([
|
|
3816
|
+
Stripepayment_method_options_giropay,
|
|
3817
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3818
|
+
]),
|
|
3819
|
+
),
|
|
3820
|
+
grabpay: Schema.optionalKey(
|
|
3821
|
+
Schema.Union([
|
|
3822
|
+
Stripepayment_method_options_grabpay,
|
|
3823
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3824
|
+
]),
|
|
3825
|
+
),
|
|
3826
|
+
ideal: Schema.optionalKey(
|
|
3827
|
+
Schema.Union([
|
|
3828
|
+
Stripepayment_method_options_ideal,
|
|
3829
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3830
|
+
]),
|
|
3831
|
+
),
|
|
3832
|
+
interac_present: Schema.optionalKey(
|
|
3833
|
+
Schema.Union([
|
|
3834
|
+
Stripepayment_method_options_interac_present,
|
|
3835
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3836
|
+
]),
|
|
3837
|
+
),
|
|
3838
|
+
kakao_pay: Schema.optionalKey(
|
|
3839
|
+
Schema.Union([
|
|
3840
|
+
Stripepayment_flows_private_payment_methods_kakao_pay_payment_method_options,
|
|
3841
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3842
|
+
]),
|
|
3843
|
+
),
|
|
3844
|
+
klarna: Schema.optionalKey(
|
|
3845
|
+
Schema.Union([
|
|
3846
|
+
Stripepayment_method_options_klarna,
|
|
3847
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3848
|
+
]),
|
|
3849
|
+
),
|
|
3850
|
+
konbini: Schema.optionalKey(
|
|
3851
|
+
Schema.Union([
|
|
3852
|
+
Stripepayment_method_options_konbini,
|
|
3853
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3854
|
+
]),
|
|
3855
|
+
),
|
|
3856
|
+
kr_card: Schema.optionalKey(
|
|
3857
|
+
Schema.Union([
|
|
3858
|
+
Stripepayment_method_options_kr_card,
|
|
3859
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3860
|
+
]),
|
|
3861
|
+
),
|
|
3862
|
+
link: Schema.optionalKey(
|
|
3863
|
+
Schema.Union([
|
|
3864
|
+
Stripepayment_intent_payment_method_options_link,
|
|
3865
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3866
|
+
]),
|
|
3867
|
+
),
|
|
3868
|
+
mb_way: Schema.optionalKey(
|
|
3869
|
+
Schema.Union([
|
|
3870
|
+
Stripepayment_method_options_mb_way,
|
|
3871
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3872
|
+
]),
|
|
3873
|
+
),
|
|
3874
|
+
mobilepay: Schema.optionalKey(
|
|
3875
|
+
Schema.Union([
|
|
3876
|
+
Stripepayment_intent_payment_method_options_mobilepay,
|
|
3877
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3878
|
+
]),
|
|
3879
|
+
),
|
|
3880
|
+
multibanco: Schema.optionalKey(
|
|
3881
|
+
Schema.Union([
|
|
3882
|
+
Stripepayment_method_options_multibanco,
|
|
3883
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3884
|
+
]),
|
|
3885
|
+
),
|
|
3886
|
+
naver_pay: Schema.optionalKey(
|
|
3887
|
+
Schema.Union([
|
|
3888
|
+
Stripepayment_flows_private_payment_methods_naver_pay_payment_method_options,
|
|
3889
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3890
|
+
]),
|
|
3891
|
+
),
|
|
3892
|
+
nz_bank_account: Schema.optionalKey(
|
|
3893
|
+
Schema.Union([
|
|
3894
|
+
Stripepayment_intent_payment_method_options_nz_bank_account,
|
|
3895
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3896
|
+
]),
|
|
3897
|
+
),
|
|
3898
|
+
oxxo: Schema.optionalKey(
|
|
3899
|
+
Schema.Union([
|
|
3900
|
+
Stripepayment_method_options_oxxo,
|
|
3901
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3902
|
+
]),
|
|
3903
|
+
),
|
|
3904
|
+
p24: Schema.optionalKey(
|
|
3905
|
+
Schema.Union([
|
|
3906
|
+
Stripepayment_method_options_p24,
|
|
3907
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3908
|
+
]),
|
|
3909
|
+
),
|
|
3910
|
+
pay_by_bank: Schema.optionalKey(
|
|
3911
|
+
Schema.Union([
|
|
3912
|
+
Stripepayment_method_options_pay_by_bank,
|
|
3913
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3914
|
+
]),
|
|
3915
|
+
),
|
|
3916
|
+
payco: Schema.optionalKey(
|
|
3917
|
+
Schema.Union([
|
|
3918
|
+
Stripepayment_flows_private_payment_methods_payco_payment_method_options,
|
|
3919
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3920
|
+
]),
|
|
3921
|
+
),
|
|
3922
|
+
paynow: Schema.optionalKey(
|
|
3923
|
+
Schema.Union([
|
|
3924
|
+
Stripepayment_method_options_paynow,
|
|
3925
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3926
|
+
]),
|
|
3927
|
+
),
|
|
3928
|
+
paypal: Schema.optionalKey(
|
|
3929
|
+
Schema.Union([
|
|
3930
|
+
Stripepayment_method_options_paypal,
|
|
3931
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3932
|
+
]),
|
|
3933
|
+
),
|
|
3934
|
+
paypay: Schema.optionalKey(
|
|
3935
|
+
Schema.Union([
|
|
3936
|
+
Stripepayment_method_options_paypay,
|
|
3937
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3938
|
+
]),
|
|
3939
|
+
),
|
|
3940
|
+
payto: Schema.optionalKey(
|
|
3941
|
+
Schema.Union([
|
|
3942
|
+
Stripepayment_intent_payment_method_options_payto,
|
|
3943
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3944
|
+
]),
|
|
3945
|
+
),
|
|
3946
|
+
pix: Schema.optionalKey(
|
|
3947
|
+
Schema.Union([
|
|
3948
|
+
Stripepayment_method_options_pix,
|
|
3949
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3950
|
+
]),
|
|
3951
|
+
),
|
|
3952
|
+
promptpay: Schema.optionalKey(
|
|
3953
|
+
Schema.Union([
|
|
3954
|
+
Stripepayment_method_options_promptpay,
|
|
3955
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3956
|
+
]),
|
|
3957
|
+
),
|
|
3958
|
+
revolut_pay: Schema.optionalKey(
|
|
3959
|
+
Schema.Union([
|
|
3960
|
+
Stripepayment_method_options_revolut_pay,
|
|
3961
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3962
|
+
]),
|
|
3963
|
+
),
|
|
3964
|
+
samsung_pay: Schema.optionalKey(
|
|
3965
|
+
Schema.Union([
|
|
3966
|
+
Stripepayment_flows_private_payment_methods_samsung_pay_payment_method_options,
|
|
3967
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3968
|
+
]),
|
|
3969
|
+
),
|
|
3970
|
+
satispay: Schema.optionalKey(
|
|
3971
|
+
Schema.Union([
|
|
3972
|
+
Stripepayment_method_options_satispay,
|
|
3973
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3974
|
+
]),
|
|
3975
|
+
),
|
|
3976
|
+
scalapay: Schema.optionalKey(
|
|
3977
|
+
Schema.Union([
|
|
3978
|
+
Stripepayment_method_options_scalapay,
|
|
3979
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3980
|
+
]),
|
|
3981
|
+
),
|
|
3982
|
+
sepa_debit: Schema.optionalKey(
|
|
3983
|
+
Schema.Union([
|
|
3984
|
+
Stripepayment_intent_payment_method_options_sepa_debit,
|
|
3985
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3986
|
+
]),
|
|
3987
|
+
),
|
|
3988
|
+
sequra: Schema.optionalKey(
|
|
3989
|
+
Schema.Union([
|
|
3990
|
+
Stripepayment_method_options_sequra,
|
|
3991
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3992
|
+
]),
|
|
3993
|
+
),
|
|
3994
|
+
sofort: Schema.optionalKey(
|
|
3995
|
+
Schema.Union([
|
|
3996
|
+
Stripepayment_method_options_sofort,
|
|
3997
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
3998
|
+
]),
|
|
3999
|
+
),
|
|
4000
|
+
sunbit: Schema.optionalKey(
|
|
4001
|
+
Schema.Union([
|
|
4002
|
+
Stripepayment_method_options_sunbit,
|
|
4003
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4004
|
+
]),
|
|
4005
|
+
),
|
|
4006
|
+
swish: Schema.optionalKey(
|
|
4007
|
+
Schema.Union([
|
|
4008
|
+
Stripepayment_intent_payment_method_options_swish,
|
|
4009
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4010
|
+
]),
|
|
4011
|
+
),
|
|
4012
|
+
twint: Schema.optionalKey(
|
|
4013
|
+
Schema.Union([
|
|
4014
|
+
Stripepayment_method_options_twint,
|
|
4015
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4016
|
+
]),
|
|
4017
|
+
),
|
|
4018
|
+
upi: Schema.optionalKey(
|
|
4019
|
+
Schema.Union([
|
|
4020
|
+
Stripepayment_method_options_upi,
|
|
4021
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4022
|
+
]),
|
|
4023
|
+
),
|
|
4024
|
+
us_bank_account: Schema.optionalKey(
|
|
4025
|
+
Schema.Union([
|
|
4026
|
+
Stripepayment_intent_payment_method_options_us_bank_account,
|
|
4027
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4028
|
+
]),
|
|
4029
|
+
),
|
|
4030
|
+
wechat_pay: Schema.optionalKey(
|
|
4031
|
+
Schema.Union([
|
|
4032
|
+
Stripepayment_method_options_wechat_pay,
|
|
4033
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4034
|
+
]),
|
|
4035
|
+
),
|
|
4036
|
+
zip: Schema.optionalKey(
|
|
4037
|
+
Schema.Union([
|
|
4038
|
+
Stripepayment_method_options_zip,
|
|
4039
|
+
Stripepayment_intent_type_specific_payment_method_options_client,
|
|
4040
|
+
]),
|
|
4041
|
+
),
|
|
4042
|
+
}),
|
|
4043
|
+
[
|
|
4044
|
+
Schema.Record(
|
|
4045
|
+
Schema.String,
|
|
4046
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4047
|
+
),
|
|
4048
|
+
],
|
|
4049
|
+
).annotate({
|
|
4050
|
+
title: "PaymentIntentPaymentMethodOptions",
|
|
4051
|
+
description: "",
|
|
4052
|
+
identifier: "Stripepayment_intent_payment_method_options",
|
|
4053
|
+
}),
|
|
4054
|
+
);
|
|
4055
|
+
export const Stripepayment_intent_next_action = Schema.suspend(
|
|
4056
|
+
(): Schema.Codec<Stripepayment_intent_next_action> =>
|
|
4057
|
+
Schema.StructWithRest(
|
|
4058
|
+
Schema.Struct({
|
|
4059
|
+
alipay_handle_redirect: Schema.optionalKey(
|
|
4060
|
+
Stripepayment_intent_next_action_alipay_handle_redirect,
|
|
4061
|
+
),
|
|
4062
|
+
blik_authorize: Schema.optionalKey(
|
|
4063
|
+
Stripepayment_intent_next_action_blik_authorize,
|
|
4064
|
+
),
|
|
4065
|
+
boleto_display_details: Schema.optionalKey(
|
|
4066
|
+
Stripepayment_intent_next_action_boleto,
|
|
4067
|
+
),
|
|
4068
|
+
card_await_notification: Schema.optionalKey(
|
|
4069
|
+
Stripepayment_intent_next_action_card_await_notification,
|
|
4070
|
+
),
|
|
4071
|
+
cashapp_handle_redirect_or_display_qr_code: Schema.optionalKey(
|
|
4072
|
+
Stripepayment_intent_next_action_cashapp_handle_redirect_or_display_qr_code,
|
|
4073
|
+
),
|
|
4074
|
+
display_bank_transfer_instructions: Schema.optionalKey(
|
|
4075
|
+
Stripepayment_intent_next_action_display_bank_transfer_instructions,
|
|
4076
|
+
),
|
|
4077
|
+
klarna_display_qr_code: Schema.optionalKey(
|
|
4078
|
+
Stripepayment_intent_next_action_klarna_display_qr_code,
|
|
4079
|
+
),
|
|
4080
|
+
konbini_display_details: Schema.optionalKey(
|
|
4081
|
+
Stripepayment_intent_next_action_konbini,
|
|
4082
|
+
),
|
|
4083
|
+
multibanco_display_details: Schema.optionalKey(
|
|
4084
|
+
Stripepayment_intent_next_action_display_multibanco_details,
|
|
4085
|
+
),
|
|
4086
|
+
oxxo_display_details: Schema.optionalKey(
|
|
4087
|
+
Stripepayment_intent_next_action_display_oxxo_details,
|
|
4088
|
+
),
|
|
4089
|
+
paynow_display_qr_code: Schema.optionalKey(
|
|
4090
|
+
Stripepayment_intent_next_action_paynow_display_qr_code,
|
|
4091
|
+
),
|
|
4092
|
+
pix_display_qr_code: Schema.optionalKey(
|
|
4093
|
+
Stripepayment_intent_next_action_pix_display_qr_code,
|
|
4094
|
+
),
|
|
4095
|
+
promptpay_display_qr_code: Schema.optionalKey(
|
|
4096
|
+
Stripepayment_intent_next_action_promptpay_display_qr_code,
|
|
4097
|
+
),
|
|
4098
|
+
redirect_to_url: Schema.optionalKey(
|
|
4099
|
+
Stripepayment_intent_next_action_redirect_to_url,
|
|
4100
|
+
),
|
|
4101
|
+
swish_handle_redirect_or_display_qr_code: Schema.optionalKey(
|
|
4102
|
+
Stripepayment_intent_next_action_swish_handle_redirect_or_display_qr_code,
|
|
4103
|
+
),
|
|
4104
|
+
type: Schema.String.annotate({
|
|
4105
|
+
description:
|
|
4106
|
+
"Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.",
|
|
4107
|
+
}).check(
|
|
4108
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
4109
|
+
expected: "a string with at most 5000 code points",
|
|
4110
|
+
}),
|
|
4111
|
+
),
|
|
4112
|
+
upi_handle_redirect_or_display_qr_code: Schema.optionalKey(
|
|
4113
|
+
Stripepayment_intent_next_action_upi_handle_redirect_or_display_qr_code,
|
|
4114
|
+
),
|
|
4115
|
+
use_stripe_sdk: Schema.optionalKey(
|
|
4116
|
+
Schema.Record(
|
|
4117
|
+
Schema.String,
|
|
4118
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4119
|
+
).annotate({
|
|
4120
|
+
description:
|
|
4121
|
+
"When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.",
|
|
4122
|
+
}),
|
|
4123
|
+
),
|
|
4124
|
+
verify_with_microdeposits: Schema.optionalKey(
|
|
4125
|
+
Stripepayment_intent_next_action_verify_with_microdeposits,
|
|
4126
|
+
),
|
|
4127
|
+
wechat_pay_display_qr_code: Schema.optionalKey(
|
|
4128
|
+
Stripepayment_intent_next_action_wechat_pay_display_qr_code,
|
|
4129
|
+
),
|
|
4130
|
+
wechat_pay_redirect_to_android_app: Schema.optionalKey(
|
|
4131
|
+
Stripepayment_intent_next_action_wechat_pay_redirect_to_android_app,
|
|
4132
|
+
),
|
|
4133
|
+
wechat_pay_redirect_to_ios_app: Schema.optionalKey(
|
|
4134
|
+
Stripepayment_intent_next_action_wechat_pay_redirect_to_ios_app,
|
|
4135
|
+
),
|
|
4136
|
+
}),
|
|
4137
|
+
[
|
|
4138
|
+
Schema.Record(
|
|
4139
|
+
Schema.String,
|
|
4140
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4141
|
+
),
|
|
4142
|
+
],
|
|
4143
|
+
).annotate({
|
|
4144
|
+
title: "PaymentIntentNextAction",
|
|
4145
|
+
description: "",
|
|
4146
|
+
identifier: "Stripepayment_intent_next_action",
|
|
4147
|
+
}),
|
|
4148
|
+
);
|