nomoss 0.0.1 → 0.0.3
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/LICENSE +1 -1
- package/README.md +62 -26
- package/ROADMAP.md +17 -0
- package/docs/README.md +19 -0
- package/docs/application/aws-resource-lifecycle-management.md +57 -0
- package/docs/application/cli-workflow.md +111 -0
- package/docs/application/engine-design.md +43 -0
- package/docs/application/generation-architecture.md +320 -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 +51 -0
- package/docs/application/resource-mapping.md +117 -0
- package/docs/application/resource-operations.md +39 -0
- package/docs/application/resource-outputs.md +66 -0
- package/docs/application/tracing.md +31 -0
- package/docs/development/code-documentation.md +52 -0
- package/docs/development/commit-message-spec.md +9 -0
- package/docs/development/effect-native-development.md +45 -0
- package/docs/development/linting.md +39 -0
- package/docs/development/resource-graph-testing-approach.md +9 -0
- package/docs/development/review-code.md +57 -0
- package/docs/development/review-docs.md +27 -0
- package/docs/development/review-remediation-spec.md +49 -0
- package/docs/development/spec-writing.md +35 -0
- package/docs/development/testing.md +111 -0
- package/docs/development/unslop.md +55 -0
- package/docs/operations/observability-sop.md +38 -0
- package/docs/operations/releasing.md +5 -0
- package/examples/README.md +34 -0
- package/examples/cli.ts +15 -0
- package/examples/commands.ts +66 -0
- package/examples/http-echo/application.ts +87 -0
- package/examples/http-echo/index.ts +54 -0
- package/examples/queue/application.ts +31 -0
- package/examples/state-machine/application.ts +55 -0
- package/examples/stripe-billing/application.ts +56 -0
- package/media/nomoss-http-demo.gif +0 -0
- package/package.json +63 -18
- 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 +68 -0
- package/src/core/resource/resourceGraphBuilder.ts +319 -0
- package/src/core/resource/resourceGraphStore.ts +373 -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/runtime/stackRuntimeLayer.ts +16 -0
- package/src/core/runtime/tracing.ts +43 -0
- package/src/core/stack/planner.ts +654 -0
- package/src/core/stack/resourceDisplay.ts +213 -0
- package/src/core/stack/resourceStackDefinition.ts +32 -0
- package/src/core/stack/resourceStackLifecycle.ts +1196 -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 +75 -0
- package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
- package/src/core/state/stateStore.ts +553 -0
- package/src/providers/aws/client/awsClient.ts +418 -0
- package/src/providers/aws/client/awsClientConfig.ts +133 -0
- package/src/providers/aws/client/awsClientModel.ts +119 -0
- package/src/providers/aws/client/awsHttpOperation.ts +153 -0
- package/src/providers/aws/client/awsQueryOperation.ts +149 -0
- package/src/providers/aws/client/awsRequestSigner.ts +115 -0
- package/src/providers/aws/client/awsResponseDecoder.ts +135 -0
- package/src/providers/aws/client/awsRetryPolicy.ts +62 -0
- package/src/providers/aws/client/generated/apiGatewayV2.ts +3025 -0
- package/src/providers/aws/client/generated/cloudControl.ts +5746 -0
- package/src/providers/aws/client/generated/iam.ts +10892 -0
- package/src/providers/aws/client/generated/lambda.ts +5403 -0
- package/src/providers/aws/client/generated/sqs.ts +3769 -0
- package/src/providers/aws/client/generated/stepFunctions.ts +1726 -0
- package/src/providers/aws/client/openapi/cloudControl/CancelResourceRequest.json +579 -0
- package/src/providers/aws/client/openapi/cloudControl/CreateResource.json +1019 -0
- package/src/providers/aws/client/openapi/cloudControl/DeleteResource.json +1018 -0
- package/src/providers/aws/client/openapi/cloudControl/GetResource.json +883 -0
- package/src/providers/aws/client/openapi/cloudControl/GetResourceRequestStatus.json +655 -0
- package/src/providers/aws/client/openapi/cloudControl/ListResourceRequests.json +566 -0
- package/src/providers/aws/client/openapi/cloudControl/ListResources.json +913 -0
- package/src/providers/aws/client/openapi/cloudControl/UpdateResource.json +1027 -0
- package/src/providers/aws/cloudControl/client.ts +69 -0
- package/src/providers/aws/cloudControl/requestTracker.ts +138 -0
- package/src/providers/aws/cloudControl/resourceCommandPolicyLayer.ts +63 -0
- package/src/providers/aws/cloudControl/resourceLifecycle.ts +479 -0
- package/src/providers/aws/cloudControl/resources/generated/certificatemanager/certificate/index.ts +179 -0
- package/src/providers/aws/cloudControl/resources/generated/kms/key/index.ts +362 -0
- package/src/providers/aws/cloudControl/resources/generated/s3/bucket/index.ts +2364 -0
- package/src/providers/aws/cloudControl/resources/generated/sns/topic/index.ts +326 -0
- package/src/providers/aws/cloudControl/resources/generated/sqs/queue/index.ts +307 -0
- package/src/providers/aws/cloudControl/resources/generated/sqs/queueinlinepolicy/index.ts +108 -0
- package/src/providers/aws/cloudControl/runtime.ts +127 -0
- package/src/providers/aws/management/resourceConfiguration.ts +121 -0
- package/src/providers/aws/management/resourceMapping.ts +343 -0
- package/src/providers/aws/management/resourceOperation.ts +57 -0
- package/src/providers/aws/management/resourcePolicy.ts +549 -0
- package/src/providers/aws/management/resourceRegistration.ts +294 -0
- package/src/providers/aws/resources/apiGatewayV2/httpApi.ts +327 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/api/index.ts +565 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/integration/index.ts +583 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/route/index.ts +438 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/stage/index.ts +391 -0
- package/src/providers/aws/resources/generated/native/iam/group/index.ts +319 -0
- package/src/providers/aws/resources/generated/native/iam/grouppolicy/index.ts +274 -0
- package/src/providers/aws/resources/generated/native/iam/instanceprofile/index.ts +277 -0
- package/src/providers/aws/resources/generated/native/iam/managedpolicy/index.ts +600 -0
- package/src/providers/aws/resources/generated/native/iam/policy/index.ts +279 -0
- package/src/providers/aws/resources/generated/native/iam/role/index.ts +478 -0
- package/src/providers/aws/resources/generated/native/iam/rolepolicy/index.ts +272 -0
- package/src/providers/aws/resources/generated/native/iam/user/index.ts +460 -0
- package/src/providers/aws/resources/generated/native/iam/userpolicy/index.ts +272 -0
- package/src/providers/aws/resources/generated/native/iam/usertogroupaddition/index.ts +226 -0
- package/src/providers/aws/resources/generated/native/kms/key/index.ts +580 -0
- package/src/providers/aws/resources/generated/native/lambda/function/index.ts +1974 -0
- package/src/providers/aws/resources/generated/native/lambda/permission/index.ts +955 -0
- package/src/providers/aws/resources/generated/native/resourceCommands.ts +152 -0
- package/src/providers/aws/resources/generated/native/s3/bucket/index.ts +3415 -0
- package/src/providers/aws/resources/generated/native/sns/topic/index.ts +551 -0
- package/src/providers/aws/resources/generated/native/sqs/queue/index.ts +500 -0
- package/src/providers/aws/resources/generated/native/stepfunctions/statemachine/index.ts +763 -0
- package/src/providers/aws/resources/iam/grant.ts +150 -0
- package/src/providers/aws/resources/iam/grantCommands.ts +283 -0
- package/src/providers/aws/resources/iam/policyDocument.ts +30 -0
- package/src/providers/aws/resources/iam/policyStatement.ts +59 -0
- package/src/providers/aws/resources/iam/role.ts +426 -0
- package/src/providers/aws/resources/iam/roleDeclaration.ts +105 -0
- package/src/providers/aws/resources/lambda/function.ts +403 -0
- package/src/providers/aws/resources/lambda/functionDeclaration.ts +234 -0
- package/src/providers/aws/resources/lambda/permission.ts +363 -0
- package/src/providers/aws/resources/stepFunctions/stateMachine.ts +95 -0
- package/src/providers/aws/runtime.ts +70 -0
- package/src/providers/file/jsonFile.ts +94 -0
- package/src/providers/file/model.ts +29 -0
- package/src/providers/file/resourcePolicy.ts +270 -0
- package/src/providers/index.ts +0 -2
- package/src/providers/providerRuntimeLayer.ts +24 -113
- package/src/providers/resourceCommandPolicyLayer.ts +77 -206
- 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 +489 -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,4486 @@
|
|
|
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 {
|
|
6
|
+
annotateResourceSchema,
|
|
7
|
+
type ResourceEntity,
|
|
8
|
+
type ResourceInputJson,
|
|
9
|
+
ResourceInputJsonSchema,
|
|
10
|
+
ResourceReferenceSchema,
|
|
11
|
+
} from "../../../../../core/resource/model.js";
|
|
12
|
+
import { StripeCheckoutSessionResourceSchema } from "./StripeCheckoutSessionPropsSchema.js";
|
|
13
|
+
import { StripeResourceEntityInputAlternatives_15 } from "./StripeResourceEntityInputAlternatives_15.js";
|
|
14
|
+
import { StripeResourceEntityInputAlternatives_16 } from "./StripeResourceEntityInputAlternatives_16.js";
|
|
15
|
+
import { StripeResourceEntityInputAlternatives_19 } from "./StripeResourceEntityInputAlternatives_19.js";
|
|
16
|
+
import { StripeResourceEntityInputProperties_9 } from "./StripeResourceEntityInputProperties_9.js";
|
|
17
|
+
import { StripeResourceEntityInputProperties_10 } from "./StripeResourceEntityInputProperties_10.js";
|
|
18
|
+
|
|
19
|
+
export type StripeCheckoutSessionPropsEntity = {
|
|
20
|
+
readonly adaptive_pricing?: { readonly enabled?: boolean } & {
|
|
21
|
+
readonly [x: string]: Schema.Json;
|
|
22
|
+
};
|
|
23
|
+
readonly after_expiration?: {
|
|
24
|
+
readonly recovery?: {
|
|
25
|
+
readonly allow_promotion_codes?: boolean;
|
|
26
|
+
readonly enabled: boolean;
|
|
27
|
+
} & { readonly [x: string]: Schema.Json };
|
|
28
|
+
} & { readonly [x: string]: Schema.Json };
|
|
29
|
+
readonly allow_promotion_codes?: boolean;
|
|
30
|
+
readonly allowed_payment_method_types?: ReadonlyArray<
|
|
31
|
+
| "acss_debit"
|
|
32
|
+
| "affirm"
|
|
33
|
+
| "afterpay_clearpay"
|
|
34
|
+
| "alipay"
|
|
35
|
+
| "alma"
|
|
36
|
+
| "amazon_pay"
|
|
37
|
+
| "au_becs_debit"
|
|
38
|
+
| "bacs_debit"
|
|
39
|
+
| "bancontact"
|
|
40
|
+
| "billie"
|
|
41
|
+
| "bizum"
|
|
42
|
+
| "blik"
|
|
43
|
+
| "boleto"
|
|
44
|
+
| "card"
|
|
45
|
+
| "cashapp"
|
|
46
|
+
| "crypto"
|
|
47
|
+
| "customer_balance"
|
|
48
|
+
| "eps"
|
|
49
|
+
| "fpx"
|
|
50
|
+
| "giropay"
|
|
51
|
+
| "grabpay"
|
|
52
|
+
| "ideal"
|
|
53
|
+
| "kakao_pay"
|
|
54
|
+
| "klarna"
|
|
55
|
+
| "konbini"
|
|
56
|
+
| "kr_card"
|
|
57
|
+
| "link"
|
|
58
|
+
| "mb_way"
|
|
59
|
+
| "mobilepay"
|
|
60
|
+
| "multibanco"
|
|
61
|
+
| "naver_pay"
|
|
62
|
+
| "nz_bank_account"
|
|
63
|
+
| "oxxo"
|
|
64
|
+
| "p24"
|
|
65
|
+
| "pay_by_bank"
|
|
66
|
+
| "payco"
|
|
67
|
+
| "paynow"
|
|
68
|
+
| "paypal"
|
|
69
|
+
| "paypay"
|
|
70
|
+
| "payto"
|
|
71
|
+
| "pix"
|
|
72
|
+
| "promptpay"
|
|
73
|
+
| "revolut_pay"
|
|
74
|
+
| "samsung_pay"
|
|
75
|
+
| "satispay"
|
|
76
|
+
| "scalapay"
|
|
77
|
+
| "sepa_debit"
|
|
78
|
+
| "sequra"
|
|
79
|
+
| "sofort"
|
|
80
|
+
| "sunbit"
|
|
81
|
+
| "swish"
|
|
82
|
+
| "twint"
|
|
83
|
+
| "upi"
|
|
84
|
+
| "us_bank_account"
|
|
85
|
+
| "wechat_pay"
|
|
86
|
+
| "zip"
|
|
87
|
+
>;
|
|
88
|
+
readonly automatic_tax?: {
|
|
89
|
+
readonly enabled: boolean;
|
|
90
|
+
readonly liability?: StripeResourceEntityInputProperties_9;
|
|
91
|
+
} & {
|
|
92
|
+
readonly [x: string]:
|
|
93
|
+
| ResourceInputJson
|
|
94
|
+
| StripeResourceEntityInputProperties_9;
|
|
95
|
+
};
|
|
96
|
+
readonly billing_address_collection?: "auto" | "required";
|
|
97
|
+
readonly branding_settings?: {
|
|
98
|
+
readonly background_color?: string | "";
|
|
99
|
+
readonly border_style?: "" | "pill" | "rectangular" | "rounded";
|
|
100
|
+
readonly button_color?: string | "";
|
|
101
|
+
readonly display_name?: string;
|
|
102
|
+
readonly font_family?:
|
|
103
|
+
| ""
|
|
104
|
+
| "be_vietnam_pro"
|
|
105
|
+
| "bitter"
|
|
106
|
+
| "chakra_petch"
|
|
107
|
+
| "default"
|
|
108
|
+
| "hahmlet"
|
|
109
|
+
| "inconsolata"
|
|
110
|
+
| "inter"
|
|
111
|
+
| "lato"
|
|
112
|
+
| "lora"
|
|
113
|
+
| "m_plus_1_code"
|
|
114
|
+
| "montserrat"
|
|
115
|
+
| "noto_sans"
|
|
116
|
+
| "noto_sans_jp"
|
|
117
|
+
| "noto_serif"
|
|
118
|
+
| "nunito"
|
|
119
|
+
| "open_sans"
|
|
120
|
+
| "pridi"
|
|
121
|
+
| "pt_sans"
|
|
122
|
+
| "pt_serif"
|
|
123
|
+
| "raleway"
|
|
124
|
+
| "roboto"
|
|
125
|
+
| "roboto_slab"
|
|
126
|
+
| "source_sans_pro"
|
|
127
|
+
| "titillium_web"
|
|
128
|
+
| "ubuntu_mono"
|
|
129
|
+
| "zen_maru_gothic";
|
|
130
|
+
readonly icon?: {
|
|
131
|
+
readonly file?: string;
|
|
132
|
+
readonly type: "file" | "url";
|
|
133
|
+
readonly url?: string;
|
|
134
|
+
} & { readonly [x: string]: Schema.Json };
|
|
135
|
+
readonly logo?: {
|
|
136
|
+
readonly file?: string;
|
|
137
|
+
readonly type: "file" | "url";
|
|
138
|
+
readonly url?: string;
|
|
139
|
+
} & { readonly [x: string]: Schema.Json };
|
|
140
|
+
} & { readonly [x: string]: Schema.Json };
|
|
141
|
+
readonly cancel_url?: string;
|
|
142
|
+
readonly client_reference_id?: string;
|
|
143
|
+
readonly consent_collection?: {
|
|
144
|
+
readonly payment_method_reuse_agreement?: {
|
|
145
|
+
readonly position: "auto" | "hidden";
|
|
146
|
+
} & { readonly [x: string]: Schema.Json };
|
|
147
|
+
readonly promotions?: "auto" | "none";
|
|
148
|
+
readonly terms_of_service?: "none" | "required";
|
|
149
|
+
} & { readonly [x: string]: Schema.Json };
|
|
150
|
+
readonly currency?: string;
|
|
151
|
+
readonly custom_fields?: ReadonlyArray<
|
|
152
|
+
{
|
|
153
|
+
readonly dropdown?: {
|
|
154
|
+
readonly default_value?: string;
|
|
155
|
+
readonly options: ReadonlyArray<
|
|
156
|
+
{ readonly label: string; readonly value: string } & {
|
|
157
|
+
readonly [x: string]: Schema.Json;
|
|
158
|
+
}
|
|
159
|
+
>;
|
|
160
|
+
} & { readonly [x: string]: Schema.Json };
|
|
161
|
+
readonly key: string;
|
|
162
|
+
readonly label: { readonly custom: string; readonly type: "custom" } & {
|
|
163
|
+
readonly [x: string]: Schema.Json;
|
|
164
|
+
};
|
|
165
|
+
readonly numeric?: {
|
|
166
|
+
readonly default_value?: string;
|
|
167
|
+
readonly maximum_length?: number;
|
|
168
|
+
readonly minimum_length?: number;
|
|
169
|
+
} & { readonly [x: string]: Schema.Json };
|
|
170
|
+
readonly optional?: boolean;
|
|
171
|
+
readonly text?: {
|
|
172
|
+
readonly default_value?: string;
|
|
173
|
+
readonly maximum_length?: number;
|
|
174
|
+
readonly minimum_length?: number;
|
|
175
|
+
} & { readonly [x: string]: Schema.Json };
|
|
176
|
+
readonly type: "dropdown" | "numeric" | "text";
|
|
177
|
+
} & { readonly [x: string]: Schema.Json }
|
|
178
|
+
>;
|
|
179
|
+
readonly custom_text?: {
|
|
180
|
+
readonly after_submit?:
|
|
181
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
182
|
+
| "";
|
|
183
|
+
readonly shipping_address?:
|
|
184
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
185
|
+
| "";
|
|
186
|
+
readonly submit?:
|
|
187
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
188
|
+
| "";
|
|
189
|
+
readonly terms_of_service_acceptance?:
|
|
190
|
+
| ({ readonly message: string } & { readonly [x: string]: Schema.Json })
|
|
191
|
+
| "";
|
|
192
|
+
} & { readonly [x: string]: Schema.Json };
|
|
193
|
+
readonly customer?: ResourceEntity<{
|
|
194
|
+
readonly provider: "stripe";
|
|
195
|
+
readonly service: "billing";
|
|
196
|
+
readonly resource: "customer";
|
|
197
|
+
}>;
|
|
198
|
+
readonly customer_account?: string;
|
|
199
|
+
readonly customer_creation?: "always" | "if_required";
|
|
200
|
+
readonly customer_email?: string;
|
|
201
|
+
readonly customer_update?: {
|
|
202
|
+
readonly address?: "auto" | "never";
|
|
203
|
+
readonly name?: "auto" | "never";
|
|
204
|
+
readonly shipping?: "auto" | "never";
|
|
205
|
+
} & { readonly [x: string]: Schema.Json };
|
|
206
|
+
readonly discounts?: ReadonlyArray<
|
|
207
|
+
{
|
|
208
|
+
readonly coupon?: StripeResourceEntityInputAlternatives_15;
|
|
209
|
+
readonly promotion_code?: StripeResourceEntityInputAlternatives_16;
|
|
210
|
+
} & {
|
|
211
|
+
readonly [x: string]:
|
|
212
|
+
| ResourceInputJson
|
|
213
|
+
| StripeResourceEntityInputAlternatives_15
|
|
214
|
+
| StripeResourceEntityInputAlternatives_16;
|
|
215
|
+
}
|
|
216
|
+
>;
|
|
217
|
+
readonly excluded_payment_method_types?: ReadonlyArray<
|
|
218
|
+
| "acss_debit"
|
|
219
|
+
| "affirm"
|
|
220
|
+
| "afterpay_clearpay"
|
|
221
|
+
| "alipay"
|
|
222
|
+
| "alma"
|
|
223
|
+
| "amazon_pay"
|
|
224
|
+
| "au_becs_debit"
|
|
225
|
+
| "bacs_debit"
|
|
226
|
+
| "bancontact"
|
|
227
|
+
| "billie"
|
|
228
|
+
| "bizum"
|
|
229
|
+
| "blik"
|
|
230
|
+
| "boleto"
|
|
231
|
+
| "card"
|
|
232
|
+
| "cashapp"
|
|
233
|
+
| "crypto"
|
|
234
|
+
| "customer_balance"
|
|
235
|
+
| "eps"
|
|
236
|
+
| "fpx"
|
|
237
|
+
| "giropay"
|
|
238
|
+
| "grabpay"
|
|
239
|
+
| "ideal"
|
|
240
|
+
| "kakao_pay"
|
|
241
|
+
| "klarna"
|
|
242
|
+
| "konbini"
|
|
243
|
+
| "kr_card"
|
|
244
|
+
| "mb_way"
|
|
245
|
+
| "mobilepay"
|
|
246
|
+
| "multibanco"
|
|
247
|
+
| "naver_pay"
|
|
248
|
+
| "nz_bank_account"
|
|
249
|
+
| "oxxo"
|
|
250
|
+
| "p24"
|
|
251
|
+
| "pay_by_bank"
|
|
252
|
+
| "payco"
|
|
253
|
+
| "paynow"
|
|
254
|
+
| "paypal"
|
|
255
|
+
| "paypay"
|
|
256
|
+
| "payto"
|
|
257
|
+
| "pix"
|
|
258
|
+
| "promptpay"
|
|
259
|
+
| "revolut_pay"
|
|
260
|
+
| "samsung_pay"
|
|
261
|
+
| "satispay"
|
|
262
|
+
| "scalapay"
|
|
263
|
+
| "sepa_debit"
|
|
264
|
+
| "sequra"
|
|
265
|
+
| "sofort"
|
|
266
|
+
| "sunbit"
|
|
267
|
+
| "swish"
|
|
268
|
+
| "twint"
|
|
269
|
+
| "upi"
|
|
270
|
+
| "us_bank_account"
|
|
271
|
+
| "wechat_pay"
|
|
272
|
+
| "zip"
|
|
273
|
+
>;
|
|
274
|
+
readonly expand?: ReadonlyArray<string>;
|
|
275
|
+
readonly expires_at?: number;
|
|
276
|
+
readonly integration_identifier?: string;
|
|
277
|
+
readonly invoice_creation?: {
|
|
278
|
+
readonly enabled: boolean;
|
|
279
|
+
readonly invoice_data?: StripeResourceEntityInputProperties_10;
|
|
280
|
+
} & {
|
|
281
|
+
readonly [x: string]:
|
|
282
|
+
| ResourceInputJson
|
|
283
|
+
| StripeResourceEntityInputProperties_10;
|
|
284
|
+
};
|
|
285
|
+
readonly line_items?: ReadonlyArray<
|
|
286
|
+
{
|
|
287
|
+
readonly adjustable_quantity?: {
|
|
288
|
+
readonly enabled: boolean;
|
|
289
|
+
readonly maximum?: number;
|
|
290
|
+
readonly minimum?: number;
|
|
291
|
+
} & { readonly [x: string]: Schema.Json };
|
|
292
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
293
|
+
readonly price?: string;
|
|
294
|
+
readonly price_data?: {
|
|
295
|
+
readonly currency: string;
|
|
296
|
+
readonly product?: string;
|
|
297
|
+
readonly product_data?: {
|
|
298
|
+
readonly description?: string;
|
|
299
|
+
readonly images?: ReadonlyArray<string>;
|
|
300
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
301
|
+
readonly name: string;
|
|
302
|
+
readonly tax_code?: string;
|
|
303
|
+
readonly tax_details?: {
|
|
304
|
+
readonly performance_location?: string;
|
|
305
|
+
readonly tax_code?: string | "";
|
|
306
|
+
} & { readonly [x: string]: Schema.Json };
|
|
307
|
+
readonly unit_label?: string;
|
|
308
|
+
} & { readonly [x: string]: Schema.Json };
|
|
309
|
+
readonly recurring?: {
|
|
310
|
+
readonly interval: "day" | "month" | "week" | "year";
|
|
311
|
+
readonly interval_count?: number;
|
|
312
|
+
} & { readonly [x: string]: Schema.Json };
|
|
313
|
+
readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
|
|
314
|
+
readonly unit_amount?: number;
|
|
315
|
+
readonly unit_amount_decimal?: string;
|
|
316
|
+
} & { readonly [x: string]: Schema.Json };
|
|
317
|
+
readonly quantity?: number;
|
|
318
|
+
readonly tax_rates?: ReadonlyArray<string>;
|
|
319
|
+
} & { readonly [x: string]: Schema.Json }
|
|
320
|
+
>;
|
|
321
|
+
readonly locale?:
|
|
322
|
+
| "auto"
|
|
323
|
+
| "bg"
|
|
324
|
+
| "cs"
|
|
325
|
+
| "da"
|
|
326
|
+
| "de"
|
|
327
|
+
| "el"
|
|
328
|
+
| "en"
|
|
329
|
+
| "en-GB"
|
|
330
|
+
| "es"
|
|
331
|
+
| "es-419"
|
|
332
|
+
| "et"
|
|
333
|
+
| "fi"
|
|
334
|
+
| "fil"
|
|
335
|
+
| "fr"
|
|
336
|
+
| "fr-CA"
|
|
337
|
+
| "hi-IN"
|
|
338
|
+
| "hr"
|
|
339
|
+
| "hu"
|
|
340
|
+
| "id"
|
|
341
|
+
| "it"
|
|
342
|
+
| "ja"
|
|
343
|
+
| "ko"
|
|
344
|
+
| "lt"
|
|
345
|
+
| "lv"
|
|
346
|
+
| "ms"
|
|
347
|
+
| "mt"
|
|
348
|
+
| "nb"
|
|
349
|
+
| "nl"
|
|
350
|
+
| "pl"
|
|
351
|
+
| "pt"
|
|
352
|
+
| "pt-BR"
|
|
353
|
+
| "ro"
|
|
354
|
+
| "ru"
|
|
355
|
+
| "sk"
|
|
356
|
+
| "sl"
|
|
357
|
+
| "sv"
|
|
358
|
+
| "th"
|
|
359
|
+
| "tr"
|
|
360
|
+
| "vi"
|
|
361
|
+
| "zh"
|
|
362
|
+
| "zh-HK"
|
|
363
|
+
| "zh-TW";
|
|
364
|
+
readonly managed_payments?: { readonly enabled?: boolean } & {
|
|
365
|
+
readonly [x: string]: Schema.Json;
|
|
366
|
+
};
|
|
367
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
368
|
+
readonly mode?: "payment" | "setup" | "subscription";
|
|
369
|
+
readonly name_collection?: {
|
|
370
|
+
readonly business?: {
|
|
371
|
+
readonly enabled: boolean;
|
|
372
|
+
readonly optional?: boolean;
|
|
373
|
+
} & { readonly [x: string]: Schema.Json };
|
|
374
|
+
readonly individual?: {
|
|
375
|
+
readonly enabled: boolean;
|
|
376
|
+
readonly optional?: boolean;
|
|
377
|
+
} & { readonly [x: string]: Schema.Json };
|
|
378
|
+
} & { readonly [x: string]: Schema.Json };
|
|
379
|
+
readonly optional_items?: ReadonlyArray<
|
|
380
|
+
{
|
|
381
|
+
readonly adjustable_quantity?: {
|
|
382
|
+
readonly enabled: boolean;
|
|
383
|
+
readonly maximum?: number;
|
|
384
|
+
readonly minimum?: number;
|
|
385
|
+
} & { readonly [x: string]: Schema.Json };
|
|
386
|
+
readonly price: string;
|
|
387
|
+
readonly quantity: number;
|
|
388
|
+
} & { readonly [x: string]: Schema.Json }
|
|
389
|
+
>;
|
|
390
|
+
readonly origin_context?: "mobile_app" | "web";
|
|
391
|
+
readonly payment_intent_data?: {
|
|
392
|
+
readonly application_fee_amount?: number;
|
|
393
|
+
readonly capture_method?: "automatic" | "automatic_async" | "manual";
|
|
394
|
+
readonly description?: string;
|
|
395
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
396
|
+
readonly on_behalf_of?: string;
|
|
397
|
+
readonly receipt_email?: string;
|
|
398
|
+
readonly setup_future_usage?: "off_session" | "on_session";
|
|
399
|
+
readonly shipping?: {
|
|
400
|
+
readonly address: {
|
|
401
|
+
readonly city?: string;
|
|
402
|
+
readonly country?: string;
|
|
403
|
+
readonly line1: string;
|
|
404
|
+
readonly line2?: string;
|
|
405
|
+
readonly postal_code?: string;
|
|
406
|
+
readonly state?: string;
|
|
407
|
+
} & { readonly [x: string]: Schema.Json };
|
|
408
|
+
readonly carrier?: string;
|
|
409
|
+
readonly name: string;
|
|
410
|
+
readonly phone?: string;
|
|
411
|
+
readonly tracking_number?: string;
|
|
412
|
+
} & { readonly [x: string]: Schema.Json };
|
|
413
|
+
readonly statement_descriptor?: string;
|
|
414
|
+
readonly statement_descriptor_suffix?: string;
|
|
415
|
+
readonly transfer_data?: {
|
|
416
|
+
readonly amount?: number;
|
|
417
|
+
readonly destination: string;
|
|
418
|
+
} & { readonly [x: string]: Schema.Json };
|
|
419
|
+
readonly transfer_group?: string;
|
|
420
|
+
} & { readonly [x: string]: Schema.Json };
|
|
421
|
+
readonly payment_method_collection?: "always" | "if_required";
|
|
422
|
+
readonly payment_method_configuration?: string;
|
|
423
|
+
readonly payment_method_data?: {
|
|
424
|
+
readonly allow_redisplay?: "always" | "limited" | "unspecified";
|
|
425
|
+
} & { readonly [x: string]: Schema.Json };
|
|
426
|
+
readonly payment_method_options?: {
|
|
427
|
+
readonly acss_debit?: {
|
|
428
|
+
readonly currency?: "cad" | "usd";
|
|
429
|
+
readonly mandate_options?: {
|
|
430
|
+
readonly custom_mandate_url?: string | "";
|
|
431
|
+
readonly default_for?: ReadonlyArray<"invoice" | "subscription">;
|
|
432
|
+
readonly interval_description?: string;
|
|
433
|
+
readonly payment_schedule?: "combined" | "interval" | "sporadic";
|
|
434
|
+
readonly transaction_type?: "business" | "personal";
|
|
435
|
+
} & { readonly [x: string]: Schema.Json };
|
|
436
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
437
|
+
readonly target_date?: string;
|
|
438
|
+
readonly verification_method?: "automatic" | "instant" | "microdeposits";
|
|
439
|
+
} & { readonly [x: string]: Schema.Json };
|
|
440
|
+
readonly affirm?: {
|
|
441
|
+
readonly capture_method?: "manual";
|
|
442
|
+
readonly setup_future_usage?: "none";
|
|
443
|
+
} & { readonly [x: string]: Schema.Json };
|
|
444
|
+
readonly afterpay_clearpay?: {
|
|
445
|
+
readonly capture_method?: "manual";
|
|
446
|
+
readonly setup_future_usage?: "none";
|
|
447
|
+
} & { readonly [x: string]: Schema.Json };
|
|
448
|
+
readonly alipay?: { readonly setup_future_usage?: "none" } & {
|
|
449
|
+
readonly [x: string]: Schema.Json;
|
|
450
|
+
};
|
|
451
|
+
readonly alma?: { readonly capture_method?: "manual" } & {
|
|
452
|
+
readonly [x: string]: Schema.Json;
|
|
453
|
+
};
|
|
454
|
+
readonly amazon_pay?: {
|
|
455
|
+
readonly capture_method?: "manual";
|
|
456
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
457
|
+
} & { readonly [x: string]: Schema.Json };
|
|
458
|
+
readonly au_becs_debit?: {
|
|
459
|
+
readonly setup_future_usage?: "none";
|
|
460
|
+
readonly target_date?: string;
|
|
461
|
+
} & { readonly [x: string]: Schema.Json };
|
|
462
|
+
readonly bacs_debit?: {
|
|
463
|
+
readonly mandate_options?: { readonly reference_prefix?: string | "" } & {
|
|
464
|
+
readonly [x: string]: Schema.Json;
|
|
465
|
+
};
|
|
466
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
467
|
+
readonly target_date?: string;
|
|
468
|
+
} & { readonly [x: string]: Schema.Json };
|
|
469
|
+
readonly bancontact?: {
|
|
470
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
471
|
+
} & { readonly [x: string]: Schema.Json };
|
|
472
|
+
readonly billie?: { readonly capture_method?: "manual" } & {
|
|
473
|
+
readonly [x: string]: Schema.Json;
|
|
474
|
+
};
|
|
475
|
+
readonly blik?: {
|
|
476
|
+
readonly mandate_options?: { readonly expires_at?: number } & {
|
|
477
|
+
readonly [x: string]: Schema.Json;
|
|
478
|
+
};
|
|
479
|
+
readonly setup_future_usage?: "" | "none" | "off_session";
|
|
480
|
+
} & { readonly [x: string]: Schema.Json };
|
|
481
|
+
readonly boleto?: {
|
|
482
|
+
readonly expires_after_days?: number;
|
|
483
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
484
|
+
} & { readonly [x: string]: Schema.Json };
|
|
485
|
+
readonly card?: {
|
|
486
|
+
readonly capture_method?: "manual";
|
|
487
|
+
readonly installments?: { readonly enabled?: boolean } & {
|
|
488
|
+
readonly [x: string]: Schema.Json;
|
|
489
|
+
};
|
|
490
|
+
readonly request_extended_authorization?: "if_available" | "never";
|
|
491
|
+
readonly request_incremental_authorization?: "if_available" | "never";
|
|
492
|
+
readonly request_multicapture?: "if_available" | "never";
|
|
493
|
+
readonly request_overcapture?: "if_available" | "never";
|
|
494
|
+
readonly request_three_d_secure?: "any" | "automatic" | "challenge";
|
|
495
|
+
readonly restrictions?: {
|
|
496
|
+
readonly brands_blocked?: ReadonlyArray<
|
|
497
|
+
"american_express" | "discover_global_network" | "mastercard" | "visa"
|
|
498
|
+
>;
|
|
499
|
+
readonly funding_types_blocked?: ReadonlyArray<
|
|
500
|
+
"credit" | "debit" | "prepaid"
|
|
501
|
+
>;
|
|
502
|
+
} & { readonly [x: string]: Schema.Json };
|
|
503
|
+
readonly setup_future_usage?: "off_session" | "on_session";
|
|
504
|
+
readonly statement_descriptor_suffix_kana?: string;
|
|
505
|
+
readonly statement_descriptor_suffix_kanji?: string;
|
|
506
|
+
} & { readonly [x: string]: Schema.Json };
|
|
507
|
+
readonly cashapp?: {
|
|
508
|
+
readonly capture_method?: "manual";
|
|
509
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
510
|
+
} & { readonly [x: string]: Schema.Json };
|
|
511
|
+
readonly crypto?: { readonly setup_future_usage?: "none" } & {
|
|
512
|
+
readonly [x: string]: Schema.Json;
|
|
513
|
+
};
|
|
514
|
+
readonly customer_balance?: {
|
|
515
|
+
readonly bank_transfer?: {
|
|
516
|
+
readonly eu_bank_transfer?: { readonly country: string } & {
|
|
517
|
+
readonly [x: string]: Schema.Json;
|
|
518
|
+
};
|
|
519
|
+
readonly requested_address_types?: ReadonlyArray<
|
|
520
|
+
"aba" | "iban" | "sepa" | "sort_code" | "spei" | "swift" | "zengin"
|
|
521
|
+
>;
|
|
522
|
+
readonly type:
|
|
523
|
+
| "eu_bank_transfer"
|
|
524
|
+
| "gb_bank_transfer"
|
|
525
|
+
| "jp_bank_transfer"
|
|
526
|
+
| "mx_bank_transfer"
|
|
527
|
+
| "us_bank_transfer";
|
|
528
|
+
} & { readonly [x: string]: Schema.Json };
|
|
529
|
+
readonly funding_type?: "bank_transfer";
|
|
530
|
+
readonly setup_future_usage?: "none";
|
|
531
|
+
} & { readonly [x: string]: Schema.Json };
|
|
532
|
+
readonly demo_pay?: {
|
|
533
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
534
|
+
} & { readonly [x: string]: Schema.Json };
|
|
535
|
+
readonly eps?: { readonly setup_future_usage?: "none" } & {
|
|
536
|
+
readonly [x: string]: Schema.Json;
|
|
537
|
+
};
|
|
538
|
+
readonly fpx?: { readonly setup_future_usage?: "none" } & {
|
|
539
|
+
readonly [x: string]: Schema.Json;
|
|
540
|
+
};
|
|
541
|
+
readonly giropay?: { readonly setup_future_usage?: "none" } & {
|
|
542
|
+
readonly [x: string]: Schema.Json;
|
|
543
|
+
};
|
|
544
|
+
readonly grabpay?: { readonly setup_future_usage?: "none" } & {
|
|
545
|
+
readonly [x: string]: Schema.Json;
|
|
546
|
+
};
|
|
547
|
+
readonly ideal?: { readonly setup_future_usage?: "none" } & {
|
|
548
|
+
readonly [x: string]: Schema.Json;
|
|
549
|
+
};
|
|
550
|
+
readonly kakao_pay?: {
|
|
551
|
+
readonly capture_method?: "manual";
|
|
552
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
553
|
+
} & { readonly [x: string]: Schema.Json };
|
|
554
|
+
readonly klarna?: {
|
|
555
|
+
readonly capture_method?: "manual";
|
|
556
|
+
readonly setup_future_usage?: "none";
|
|
557
|
+
readonly subscriptions?:
|
|
558
|
+
| ReadonlyArray<
|
|
559
|
+
{
|
|
560
|
+
readonly interval: "day" | "month" | "week" | "year";
|
|
561
|
+
readonly interval_count?: number;
|
|
562
|
+
readonly name?: string;
|
|
563
|
+
readonly next_billing: {
|
|
564
|
+
readonly amount: number;
|
|
565
|
+
readonly date: string;
|
|
566
|
+
} & { readonly [x: string]: Schema.Json };
|
|
567
|
+
readonly reference: string;
|
|
568
|
+
} & { readonly [x: string]: Schema.Json }
|
|
569
|
+
>
|
|
570
|
+
| "";
|
|
571
|
+
} & { readonly [x: string]: Schema.Json };
|
|
572
|
+
readonly konbini?: {
|
|
573
|
+
readonly expires_after_days?: number;
|
|
574
|
+
readonly setup_future_usage?: "none";
|
|
575
|
+
} & { readonly [x: string]: Schema.Json };
|
|
576
|
+
readonly kr_card?: {
|
|
577
|
+
readonly capture_method?: "manual";
|
|
578
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
579
|
+
} & { readonly [x: string]: Schema.Json };
|
|
580
|
+
readonly link?: {
|
|
581
|
+
readonly capture_method?: "manual";
|
|
582
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
583
|
+
} & { readonly [x: string]: Schema.Json };
|
|
584
|
+
readonly mobilepay?: {
|
|
585
|
+
readonly capture_method?: "manual";
|
|
586
|
+
readonly setup_future_usage?: "none";
|
|
587
|
+
} & { readonly [x: string]: Schema.Json };
|
|
588
|
+
readonly multibanco?: { readonly setup_future_usage?: "none" } & {
|
|
589
|
+
readonly [x: string]: Schema.Json;
|
|
590
|
+
};
|
|
591
|
+
readonly naver_pay?: {
|
|
592
|
+
readonly capture_method?: "manual";
|
|
593
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
594
|
+
} & { readonly [x: string]: Schema.Json };
|
|
595
|
+
readonly oxxo?: {
|
|
596
|
+
readonly expires_after_days?: number;
|
|
597
|
+
readonly setup_future_usage?: "none";
|
|
598
|
+
} & { readonly [x: string]: Schema.Json };
|
|
599
|
+
readonly p24?: {
|
|
600
|
+
readonly setup_future_usage?: "none";
|
|
601
|
+
readonly tos_shown_and_accepted?: boolean;
|
|
602
|
+
} & { readonly [x: string]: Schema.Json };
|
|
603
|
+
readonly pay_by_bank?: { readonly [x: string]: Schema.Json };
|
|
604
|
+
readonly payco?: {
|
|
605
|
+
readonly capture_method?: "manual";
|
|
606
|
+
readonly setup_future_usage?: "none";
|
|
607
|
+
} & { readonly [x: string]: Schema.Json };
|
|
608
|
+
readonly paynow?: { readonly setup_future_usage?: "none" } & {
|
|
609
|
+
readonly [x: string]: Schema.Json;
|
|
610
|
+
};
|
|
611
|
+
readonly paypal?: {
|
|
612
|
+
readonly capture_method?: "" | "manual";
|
|
613
|
+
readonly preferred_locale?:
|
|
614
|
+
| "cs-CZ"
|
|
615
|
+
| "da-DK"
|
|
616
|
+
| "de-AT"
|
|
617
|
+
| "de-DE"
|
|
618
|
+
| "de-LU"
|
|
619
|
+
| "el-GR"
|
|
620
|
+
| "en-GB"
|
|
621
|
+
| "en-US"
|
|
622
|
+
| "es-ES"
|
|
623
|
+
| "fi-FI"
|
|
624
|
+
| "fr-BE"
|
|
625
|
+
| "fr-FR"
|
|
626
|
+
| "fr-LU"
|
|
627
|
+
| "hu-HU"
|
|
628
|
+
| "it-IT"
|
|
629
|
+
| "nl-BE"
|
|
630
|
+
| "nl-NL"
|
|
631
|
+
| "pl-PL"
|
|
632
|
+
| "pt-PT"
|
|
633
|
+
| "sk-SK"
|
|
634
|
+
| "sv-SE";
|
|
635
|
+
readonly reference?: string;
|
|
636
|
+
readonly risk_correlation_id?: string;
|
|
637
|
+
readonly setup_future_usage?: "" | "none" | "off_session";
|
|
638
|
+
} & { readonly [x: string]: Schema.Json };
|
|
639
|
+
readonly payto?: {
|
|
640
|
+
readonly mandate_options?: {
|
|
641
|
+
readonly amount?: number | "";
|
|
642
|
+
readonly amount_type?: "" | "fixed" | "maximum";
|
|
643
|
+
readonly end_date?: string | "";
|
|
644
|
+
readonly payment_schedule?:
|
|
645
|
+
| ""
|
|
646
|
+
| "adhoc"
|
|
647
|
+
| "annual"
|
|
648
|
+
| "daily"
|
|
649
|
+
| "fortnightly"
|
|
650
|
+
| "monthly"
|
|
651
|
+
| "quarterly"
|
|
652
|
+
| "semi_annual"
|
|
653
|
+
| "weekly";
|
|
654
|
+
readonly payments_per_period?: number | "";
|
|
655
|
+
readonly purpose?:
|
|
656
|
+
| ""
|
|
657
|
+
| "dependant_support"
|
|
658
|
+
| "government"
|
|
659
|
+
| "loan"
|
|
660
|
+
| "mortgage"
|
|
661
|
+
| "other"
|
|
662
|
+
| "pension"
|
|
663
|
+
| "personal"
|
|
664
|
+
| "retail"
|
|
665
|
+
| "salary"
|
|
666
|
+
| "tax"
|
|
667
|
+
| "utility";
|
|
668
|
+
readonly start_date?: string | "";
|
|
669
|
+
} & { readonly [x: string]: Schema.Json };
|
|
670
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
671
|
+
} & { readonly [x: string]: Schema.Json };
|
|
672
|
+
readonly pix?: {
|
|
673
|
+
readonly amount_includes_iof?: "always" | "never";
|
|
674
|
+
readonly expires_after_seconds?: number;
|
|
675
|
+
readonly mandate_options?: {
|
|
676
|
+
readonly amount?: number;
|
|
677
|
+
readonly amount_includes_iof?: "always" | "never";
|
|
678
|
+
readonly amount_type?: "fixed" | "maximum";
|
|
679
|
+
readonly currency?: string;
|
|
680
|
+
readonly end_date?: string;
|
|
681
|
+
readonly payment_schedule?:
|
|
682
|
+
| "halfyearly"
|
|
683
|
+
| "monthly"
|
|
684
|
+
| "quarterly"
|
|
685
|
+
| "weekly"
|
|
686
|
+
| "yearly";
|
|
687
|
+
readonly reference?: string;
|
|
688
|
+
readonly start_date?: string;
|
|
689
|
+
} & { readonly [x: string]: Schema.Json };
|
|
690
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
691
|
+
} & { readonly [x: string]: Schema.Json };
|
|
692
|
+
readonly revolut_pay?: {
|
|
693
|
+
readonly capture_method?: "manual";
|
|
694
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
695
|
+
} & { readonly [x: string]: Schema.Json };
|
|
696
|
+
readonly samsung_pay?: {
|
|
697
|
+
readonly capture_method?: "manual";
|
|
698
|
+
readonly setup_future_usage?: "none";
|
|
699
|
+
} & { readonly [x: string]: Schema.Json };
|
|
700
|
+
readonly satispay?: { readonly capture_method?: "manual" } & {
|
|
701
|
+
readonly [x: string]: Schema.Json;
|
|
702
|
+
};
|
|
703
|
+
readonly scalapay?: { readonly capture_method?: "manual" } & {
|
|
704
|
+
readonly [x: string]: Schema.Json;
|
|
705
|
+
};
|
|
706
|
+
readonly sepa_debit?: {
|
|
707
|
+
readonly mandate_options?: { readonly reference_prefix?: string | "" } & {
|
|
708
|
+
readonly [x: string]: Schema.Json;
|
|
709
|
+
};
|
|
710
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
711
|
+
readonly target_date?: string;
|
|
712
|
+
} & { readonly [x: string]: Schema.Json };
|
|
713
|
+
readonly sequra?: { readonly capture_method?: "manual" } & {
|
|
714
|
+
readonly [x: string]: Schema.Json;
|
|
715
|
+
};
|
|
716
|
+
readonly sofort?: { readonly setup_future_usage?: "none" } & {
|
|
717
|
+
readonly [x: string]: Schema.Json;
|
|
718
|
+
};
|
|
719
|
+
readonly sunbit?: {
|
|
720
|
+
readonly capture_method?: "manual";
|
|
721
|
+
readonly setup_future_usage?: "none";
|
|
722
|
+
} & { readonly [x: string]: Schema.Json };
|
|
723
|
+
readonly swish?: { readonly reference?: string } & {
|
|
724
|
+
readonly [x: string]: Schema.Json;
|
|
725
|
+
};
|
|
726
|
+
readonly twint?: {
|
|
727
|
+
readonly setup_future_usage?: "none" | "off_session";
|
|
728
|
+
} & { readonly [x: string]: Schema.Json };
|
|
729
|
+
readonly upi?: {
|
|
730
|
+
readonly mandate_options?: {
|
|
731
|
+
readonly amount?: number;
|
|
732
|
+
readonly amount_type?: "fixed" | "maximum";
|
|
733
|
+
readonly description?: string;
|
|
734
|
+
readonly end_date?: number;
|
|
735
|
+
} & { readonly [x: string]: Schema.Json };
|
|
736
|
+
readonly setup_future_usage?: "" | "none" | "off_session" | "on_session";
|
|
737
|
+
} & { readonly [x: string]: Schema.Json };
|
|
738
|
+
readonly us_bank_account?: {
|
|
739
|
+
readonly financial_connections?: {
|
|
740
|
+
readonly permissions?: ReadonlyArray<
|
|
741
|
+
"balances" | "ownership" | "payment_method" | "transactions"
|
|
742
|
+
>;
|
|
743
|
+
readonly prefetch?: ReadonlyArray<
|
|
744
|
+
"balances" | "ownership" | "transactions"
|
|
745
|
+
>;
|
|
746
|
+
} & { readonly [x: string]: Schema.Json };
|
|
747
|
+
readonly setup_future_usage?: "none" | "off_session" | "on_session";
|
|
748
|
+
readonly target_date?: string;
|
|
749
|
+
readonly verification_method?: "automatic" | "instant";
|
|
750
|
+
} & { readonly [x: string]: Schema.Json };
|
|
751
|
+
readonly wechat_pay?: {
|
|
752
|
+
readonly app_id?: string;
|
|
753
|
+
readonly client: "android" | "ios" | "web";
|
|
754
|
+
readonly setup_future_usage?: "none";
|
|
755
|
+
} & { readonly [x: string]: Schema.Json };
|
|
756
|
+
} & { readonly [x: string]: Schema.Json };
|
|
757
|
+
readonly permissions?: {
|
|
758
|
+
readonly update_shipping_details?: "client_only" | "server_only";
|
|
759
|
+
} & { readonly [x: string]: Schema.Json };
|
|
760
|
+
readonly phone_number_collection?: { readonly enabled: boolean } & {
|
|
761
|
+
readonly [x: string]: Schema.Json;
|
|
762
|
+
};
|
|
763
|
+
readonly redirect_on_completion?: "always" | "if_required" | "never";
|
|
764
|
+
readonly return_url?: string;
|
|
765
|
+
readonly saved_payment_method_options?: {
|
|
766
|
+
readonly allow_redisplay_filters?: ReadonlyArray<
|
|
767
|
+
"always" | "limited" | "unspecified"
|
|
768
|
+
>;
|
|
769
|
+
readonly payment_method_remove?: "disabled" | "enabled";
|
|
770
|
+
readonly payment_method_save?: "disabled" | "enabled";
|
|
771
|
+
} & { readonly [x: string]: Schema.Json };
|
|
772
|
+
readonly setup_intent_data?: {
|
|
773
|
+
readonly description?: string;
|
|
774
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
775
|
+
readonly on_behalf_of?: string;
|
|
776
|
+
} & { readonly [x: string]: Schema.Json };
|
|
777
|
+
readonly shipping_address_collection?: {
|
|
778
|
+
readonly allowed_countries: ReadonlyArray<
|
|
779
|
+
| "AC"
|
|
780
|
+
| "AD"
|
|
781
|
+
| "AE"
|
|
782
|
+
| "AF"
|
|
783
|
+
| "AG"
|
|
784
|
+
| "AI"
|
|
785
|
+
| "AL"
|
|
786
|
+
| "AM"
|
|
787
|
+
| "AO"
|
|
788
|
+
| "AQ"
|
|
789
|
+
| "AR"
|
|
790
|
+
| "AT"
|
|
791
|
+
| "AU"
|
|
792
|
+
| "AW"
|
|
793
|
+
| "AX"
|
|
794
|
+
| "AZ"
|
|
795
|
+
| "BA"
|
|
796
|
+
| "BB"
|
|
797
|
+
| "BD"
|
|
798
|
+
| "BE"
|
|
799
|
+
| "BF"
|
|
800
|
+
| "BG"
|
|
801
|
+
| "BH"
|
|
802
|
+
| "BI"
|
|
803
|
+
| "BJ"
|
|
804
|
+
| "BL"
|
|
805
|
+
| "BM"
|
|
806
|
+
| "BN"
|
|
807
|
+
| "BO"
|
|
808
|
+
| "BQ"
|
|
809
|
+
| "BR"
|
|
810
|
+
| "BS"
|
|
811
|
+
| "BT"
|
|
812
|
+
| "BV"
|
|
813
|
+
| "BW"
|
|
814
|
+
| "BY"
|
|
815
|
+
| "BZ"
|
|
816
|
+
| "CA"
|
|
817
|
+
| "CD"
|
|
818
|
+
| "CF"
|
|
819
|
+
| "CG"
|
|
820
|
+
| "CH"
|
|
821
|
+
| "CI"
|
|
822
|
+
| "CK"
|
|
823
|
+
| "CL"
|
|
824
|
+
| "CM"
|
|
825
|
+
| "CN"
|
|
826
|
+
| "CO"
|
|
827
|
+
| "CR"
|
|
828
|
+
| "CV"
|
|
829
|
+
| "CW"
|
|
830
|
+
| "CY"
|
|
831
|
+
| "CZ"
|
|
832
|
+
| "DE"
|
|
833
|
+
| "DJ"
|
|
834
|
+
| "DK"
|
|
835
|
+
| "DM"
|
|
836
|
+
| "DO"
|
|
837
|
+
| "DZ"
|
|
838
|
+
| "EC"
|
|
839
|
+
| "EE"
|
|
840
|
+
| "EG"
|
|
841
|
+
| "EH"
|
|
842
|
+
| "ER"
|
|
843
|
+
| "ES"
|
|
844
|
+
| "ET"
|
|
845
|
+
| "FI"
|
|
846
|
+
| "FJ"
|
|
847
|
+
| "FK"
|
|
848
|
+
| "FO"
|
|
849
|
+
| "FR"
|
|
850
|
+
| "GA"
|
|
851
|
+
| "GB"
|
|
852
|
+
| "GD"
|
|
853
|
+
| "GE"
|
|
854
|
+
| "GF"
|
|
855
|
+
| "GG"
|
|
856
|
+
| "GH"
|
|
857
|
+
| "GI"
|
|
858
|
+
| "GL"
|
|
859
|
+
| "GM"
|
|
860
|
+
| "GN"
|
|
861
|
+
| "GP"
|
|
862
|
+
| "GQ"
|
|
863
|
+
| "GR"
|
|
864
|
+
| "GS"
|
|
865
|
+
| "GT"
|
|
866
|
+
| "GU"
|
|
867
|
+
| "GW"
|
|
868
|
+
| "GY"
|
|
869
|
+
| "HK"
|
|
870
|
+
| "HN"
|
|
871
|
+
| "HR"
|
|
872
|
+
| "HT"
|
|
873
|
+
| "HU"
|
|
874
|
+
| "ID"
|
|
875
|
+
| "IE"
|
|
876
|
+
| "IL"
|
|
877
|
+
| "IM"
|
|
878
|
+
| "IN"
|
|
879
|
+
| "IO"
|
|
880
|
+
| "IQ"
|
|
881
|
+
| "IS"
|
|
882
|
+
| "IT"
|
|
883
|
+
| "JE"
|
|
884
|
+
| "JM"
|
|
885
|
+
| "JO"
|
|
886
|
+
| "JP"
|
|
887
|
+
| "KE"
|
|
888
|
+
| "KG"
|
|
889
|
+
| "KH"
|
|
890
|
+
| "KI"
|
|
891
|
+
| "KM"
|
|
892
|
+
| "KN"
|
|
893
|
+
| "KR"
|
|
894
|
+
| "KW"
|
|
895
|
+
| "KY"
|
|
896
|
+
| "KZ"
|
|
897
|
+
| "LA"
|
|
898
|
+
| "LB"
|
|
899
|
+
| "LC"
|
|
900
|
+
| "LI"
|
|
901
|
+
| "LK"
|
|
902
|
+
| "LR"
|
|
903
|
+
| "LS"
|
|
904
|
+
| "LT"
|
|
905
|
+
| "LU"
|
|
906
|
+
| "LV"
|
|
907
|
+
| "LY"
|
|
908
|
+
| "MA"
|
|
909
|
+
| "MC"
|
|
910
|
+
| "MD"
|
|
911
|
+
| "ME"
|
|
912
|
+
| "MF"
|
|
913
|
+
| "MG"
|
|
914
|
+
| "MK"
|
|
915
|
+
| "ML"
|
|
916
|
+
| "MM"
|
|
917
|
+
| "MN"
|
|
918
|
+
| "MO"
|
|
919
|
+
| "MQ"
|
|
920
|
+
| "MR"
|
|
921
|
+
| "MS"
|
|
922
|
+
| "MT"
|
|
923
|
+
| "MU"
|
|
924
|
+
| "MV"
|
|
925
|
+
| "MW"
|
|
926
|
+
| "MX"
|
|
927
|
+
| "MY"
|
|
928
|
+
| "MZ"
|
|
929
|
+
| "NA"
|
|
930
|
+
| "NC"
|
|
931
|
+
| "NE"
|
|
932
|
+
| "NG"
|
|
933
|
+
| "NI"
|
|
934
|
+
| "NL"
|
|
935
|
+
| "NO"
|
|
936
|
+
| "NP"
|
|
937
|
+
| "NR"
|
|
938
|
+
| "NU"
|
|
939
|
+
| "NZ"
|
|
940
|
+
| "OM"
|
|
941
|
+
| "PA"
|
|
942
|
+
| "PE"
|
|
943
|
+
| "PF"
|
|
944
|
+
| "PG"
|
|
945
|
+
| "PH"
|
|
946
|
+
| "PK"
|
|
947
|
+
| "PL"
|
|
948
|
+
| "PM"
|
|
949
|
+
| "PN"
|
|
950
|
+
| "PR"
|
|
951
|
+
| "PS"
|
|
952
|
+
| "PT"
|
|
953
|
+
| "PY"
|
|
954
|
+
| "QA"
|
|
955
|
+
| "RE"
|
|
956
|
+
| "RO"
|
|
957
|
+
| "RS"
|
|
958
|
+
| "RU"
|
|
959
|
+
| "RW"
|
|
960
|
+
| "SA"
|
|
961
|
+
| "SB"
|
|
962
|
+
| "SC"
|
|
963
|
+
| "SD"
|
|
964
|
+
| "SE"
|
|
965
|
+
| "SG"
|
|
966
|
+
| "SH"
|
|
967
|
+
| "SI"
|
|
968
|
+
| "SJ"
|
|
969
|
+
| "SK"
|
|
970
|
+
| "SL"
|
|
971
|
+
| "SM"
|
|
972
|
+
| "SN"
|
|
973
|
+
| "SO"
|
|
974
|
+
| "SR"
|
|
975
|
+
| "SS"
|
|
976
|
+
| "ST"
|
|
977
|
+
| "SV"
|
|
978
|
+
| "SX"
|
|
979
|
+
| "SZ"
|
|
980
|
+
| "TA"
|
|
981
|
+
| "TC"
|
|
982
|
+
| "TD"
|
|
983
|
+
| "TF"
|
|
984
|
+
| "TG"
|
|
985
|
+
| "TH"
|
|
986
|
+
| "TJ"
|
|
987
|
+
| "TK"
|
|
988
|
+
| "TL"
|
|
989
|
+
| "TM"
|
|
990
|
+
| "TN"
|
|
991
|
+
| "TO"
|
|
992
|
+
| "TR"
|
|
993
|
+
| "TT"
|
|
994
|
+
| "TV"
|
|
995
|
+
| "TW"
|
|
996
|
+
| "TZ"
|
|
997
|
+
| "UA"
|
|
998
|
+
| "UG"
|
|
999
|
+
| "US"
|
|
1000
|
+
| "UY"
|
|
1001
|
+
| "UZ"
|
|
1002
|
+
| "VA"
|
|
1003
|
+
| "VC"
|
|
1004
|
+
| "VE"
|
|
1005
|
+
| "VG"
|
|
1006
|
+
| "VN"
|
|
1007
|
+
| "VU"
|
|
1008
|
+
| "WF"
|
|
1009
|
+
| "WS"
|
|
1010
|
+
| "XK"
|
|
1011
|
+
| "YE"
|
|
1012
|
+
| "YT"
|
|
1013
|
+
| "ZA"
|
|
1014
|
+
| "ZM"
|
|
1015
|
+
| "ZW"
|
|
1016
|
+
| "ZZ"
|
|
1017
|
+
>;
|
|
1018
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1019
|
+
readonly shipping_options?: ReadonlyArray<
|
|
1020
|
+
{
|
|
1021
|
+
readonly shipping_rate?: StripeResourceEntityInputAlternatives_19;
|
|
1022
|
+
readonly shipping_rate_data?: {
|
|
1023
|
+
readonly delivery_estimate?: {
|
|
1024
|
+
readonly maximum?: {
|
|
1025
|
+
readonly unit: "business_day" | "day" | "hour" | "month" | "week";
|
|
1026
|
+
readonly value: number;
|
|
1027
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1028
|
+
readonly minimum?: {
|
|
1029
|
+
readonly unit: "business_day" | "day" | "hour" | "month" | "week";
|
|
1030
|
+
readonly value: number;
|
|
1031
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1032
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1033
|
+
readonly display_name: string;
|
|
1034
|
+
readonly fixed_amount?: {
|
|
1035
|
+
readonly amount: number;
|
|
1036
|
+
readonly currency: string;
|
|
1037
|
+
readonly currency_options?: {
|
|
1038
|
+
readonly [x: string]: {
|
|
1039
|
+
readonly amount: number;
|
|
1040
|
+
readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
|
|
1041
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1042
|
+
};
|
|
1043
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1044
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
1045
|
+
readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified";
|
|
1046
|
+
readonly tax_code?: string;
|
|
1047
|
+
readonly type?: "fixed_amount";
|
|
1048
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1049
|
+
} & {
|
|
1050
|
+
readonly [x: string]:
|
|
1051
|
+
| ResourceInputJson
|
|
1052
|
+
| StripeResourceEntityInputAlternatives_19;
|
|
1053
|
+
}
|
|
1054
|
+
>;
|
|
1055
|
+
readonly submit_type?: "auto" | "book" | "donate" | "pay" | "subscribe";
|
|
1056
|
+
readonly subscription_data?: {
|
|
1057
|
+
readonly application_fee_percent?: number;
|
|
1058
|
+
readonly billing_cycle_anchor?: number;
|
|
1059
|
+
readonly billing_cycle_anchor_config?: {
|
|
1060
|
+
readonly day_of_month: number;
|
|
1061
|
+
readonly hour?: number;
|
|
1062
|
+
readonly minute?: number;
|
|
1063
|
+
readonly month?: number;
|
|
1064
|
+
readonly second?: number;
|
|
1065
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1066
|
+
readonly billing_mode?: {
|
|
1067
|
+
readonly flexible?: {
|
|
1068
|
+
readonly proration_discounts?: "included" | "itemized";
|
|
1069
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1070
|
+
readonly type: "classic" | "flexible";
|
|
1071
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1072
|
+
readonly default_tax_rates?: ReadonlyArray<string>;
|
|
1073
|
+
readonly description?: string;
|
|
1074
|
+
readonly invoice_settings?: {
|
|
1075
|
+
readonly account_tax_ids?: ReadonlyArray<string> | "";
|
|
1076
|
+
readonly custom_fields?:
|
|
1077
|
+
| ReadonlyArray<
|
|
1078
|
+
{ readonly name: string; readonly value: string } & {
|
|
1079
|
+
readonly [x: string]: Schema.Json;
|
|
1080
|
+
}
|
|
1081
|
+
>
|
|
1082
|
+
| "";
|
|
1083
|
+
readonly description?: string;
|
|
1084
|
+
readonly footer?: string;
|
|
1085
|
+
readonly issuer?: {
|
|
1086
|
+
readonly account?: string;
|
|
1087
|
+
readonly type: "account" | "self";
|
|
1088
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1089
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1090
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
1091
|
+
readonly on_behalf_of?: string;
|
|
1092
|
+
readonly pending_invoice_item_interval?: {
|
|
1093
|
+
readonly interval: "day" | "month" | "week" | "year";
|
|
1094
|
+
readonly interval_count?: number;
|
|
1095
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1096
|
+
readonly proration_behavior?: "create_prorations" | "none";
|
|
1097
|
+
readonly transfer_data?: {
|
|
1098
|
+
readonly amount_percent?: number;
|
|
1099
|
+
readonly destination: string;
|
|
1100
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1101
|
+
readonly trial_end?: number;
|
|
1102
|
+
readonly trial_period_days?: number;
|
|
1103
|
+
readonly trial_settings?: {
|
|
1104
|
+
readonly end_behavior: {
|
|
1105
|
+
readonly missing_payment_method: "cancel" | "create_invoice" | "pause";
|
|
1106
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1107
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1108
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1109
|
+
readonly success_url?: string;
|
|
1110
|
+
readonly tax_id_collection?: {
|
|
1111
|
+
readonly enabled: boolean;
|
|
1112
|
+
readonly required?: "if_supported" | "never";
|
|
1113
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1114
|
+
readonly ui_mode?: "elements" | "embedded_page" | "form" | "hosted_page";
|
|
1115
|
+
readonly wallet_options?: {
|
|
1116
|
+
readonly link?: { readonly display?: "auto" | "never" } & {
|
|
1117
|
+
readonly [x: string]: Schema.Json;
|
|
1118
|
+
};
|
|
1119
|
+
} & { readonly [x: string]: Schema.Json };
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
export const StripeCheckoutSessionPropsEntitySchema = annotateResourceSchema(
|
|
1123
|
+
Schema.Struct({
|
|
1124
|
+
adaptive_pricing: Schema.optionalKey(
|
|
1125
|
+
Schema.StructWithRest(
|
|
1126
|
+
Schema.Struct({ enabled: Schema.optionalKey(Schema.Boolean) }),
|
|
1127
|
+
[
|
|
1128
|
+
Schema.Record(
|
|
1129
|
+
Schema.String,
|
|
1130
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1131
|
+
),
|
|
1132
|
+
],
|
|
1133
|
+
).annotate({
|
|
1134
|
+
title: "adaptive_pricing_params",
|
|
1135
|
+
description:
|
|
1136
|
+
"Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).",
|
|
1137
|
+
}),
|
|
1138
|
+
),
|
|
1139
|
+
after_expiration: Schema.optionalKey(
|
|
1140
|
+
Schema.StructWithRest(
|
|
1141
|
+
Schema.Struct({
|
|
1142
|
+
recovery: Schema.optionalKey(
|
|
1143
|
+
Schema.StructWithRest(
|
|
1144
|
+
Schema.Struct({
|
|
1145
|
+
allow_promotion_codes: Schema.optionalKey(Schema.Boolean),
|
|
1146
|
+
enabled: Schema.Boolean,
|
|
1147
|
+
}),
|
|
1148
|
+
[
|
|
1149
|
+
Schema.Record(
|
|
1150
|
+
Schema.String,
|
|
1151
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1152
|
+
),
|
|
1153
|
+
],
|
|
1154
|
+
).annotate({ title: "recovery_params" }),
|
|
1155
|
+
),
|
|
1156
|
+
}),
|
|
1157
|
+
[
|
|
1158
|
+
Schema.Record(
|
|
1159
|
+
Schema.String,
|
|
1160
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1161
|
+
),
|
|
1162
|
+
],
|
|
1163
|
+
).annotate({
|
|
1164
|
+
title: "after_expiration_params",
|
|
1165
|
+
description:
|
|
1166
|
+
"Configure actions after a Checkout Session has expired. You can't set this parameter if `ui_mode` is `elements`.",
|
|
1167
|
+
}),
|
|
1168
|
+
),
|
|
1169
|
+
allow_promotion_codes: Schema.optionalKey(
|
|
1170
|
+
Schema.Boolean.annotate({
|
|
1171
|
+
description: "Enables user redeemable promotion codes.",
|
|
1172
|
+
}),
|
|
1173
|
+
),
|
|
1174
|
+
allowed_payment_method_types: Schema.optionalKey(
|
|
1175
|
+
Schema.Array(
|
|
1176
|
+
Schema.Literals([
|
|
1177
|
+
"acss_debit",
|
|
1178
|
+
"affirm",
|
|
1179
|
+
"afterpay_clearpay",
|
|
1180
|
+
"alipay",
|
|
1181
|
+
"alma",
|
|
1182
|
+
"amazon_pay",
|
|
1183
|
+
"au_becs_debit",
|
|
1184
|
+
"bacs_debit",
|
|
1185
|
+
"bancontact",
|
|
1186
|
+
"billie",
|
|
1187
|
+
"bizum",
|
|
1188
|
+
"blik",
|
|
1189
|
+
"boleto",
|
|
1190
|
+
"card",
|
|
1191
|
+
"cashapp",
|
|
1192
|
+
"crypto",
|
|
1193
|
+
"customer_balance",
|
|
1194
|
+
"eps",
|
|
1195
|
+
"fpx",
|
|
1196
|
+
"giropay",
|
|
1197
|
+
"grabpay",
|
|
1198
|
+
"ideal",
|
|
1199
|
+
"kakao_pay",
|
|
1200
|
+
"klarna",
|
|
1201
|
+
"konbini",
|
|
1202
|
+
"kr_card",
|
|
1203
|
+
"link",
|
|
1204
|
+
"mb_way",
|
|
1205
|
+
"mobilepay",
|
|
1206
|
+
"multibanco",
|
|
1207
|
+
"naver_pay",
|
|
1208
|
+
"nz_bank_account",
|
|
1209
|
+
"oxxo",
|
|
1210
|
+
"p24",
|
|
1211
|
+
"pay_by_bank",
|
|
1212
|
+
"payco",
|
|
1213
|
+
"paynow",
|
|
1214
|
+
"paypal",
|
|
1215
|
+
"paypay",
|
|
1216
|
+
"payto",
|
|
1217
|
+
"pix",
|
|
1218
|
+
"promptpay",
|
|
1219
|
+
"revolut_pay",
|
|
1220
|
+
"samsung_pay",
|
|
1221
|
+
"satispay",
|
|
1222
|
+
"scalapay",
|
|
1223
|
+
"sepa_debit",
|
|
1224
|
+
"sequra",
|
|
1225
|
+
"sofort",
|
|
1226
|
+
"sunbit",
|
|
1227
|
+
"swish",
|
|
1228
|
+
"twint",
|
|
1229
|
+
"upi",
|
|
1230
|
+
"us_bank_account",
|
|
1231
|
+
"wechat_pay",
|
|
1232
|
+
"zip",
|
|
1233
|
+
]),
|
|
1234
|
+
).annotate({
|
|
1235
|
+
description:
|
|
1236
|
+
"A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nUnlike `payment_method_types`, this acts as a filter on the dynamically computed set of\neligible payment methods rather than an explicit static list. Only payment methods that\nare both dynamically eligible and present in this list will be offered to the customer.",
|
|
1237
|
+
}),
|
|
1238
|
+
),
|
|
1239
|
+
automatic_tax: Schema.optionalKey(
|
|
1240
|
+
Schema.StructWithRest(
|
|
1241
|
+
Schema.Struct({
|
|
1242
|
+
enabled: Schema.Boolean,
|
|
1243
|
+
liability: Schema.optionalKey(StripeResourceEntityInputProperties_9),
|
|
1244
|
+
}),
|
|
1245
|
+
[
|
|
1246
|
+
Schema.Record(
|
|
1247
|
+
Schema.String,
|
|
1248
|
+
Schema.Union([
|
|
1249
|
+
ResourceInputJsonSchema,
|
|
1250
|
+
StripeResourceEntityInputProperties_9,
|
|
1251
|
+
]),
|
|
1252
|
+
),
|
|
1253
|
+
],
|
|
1254
|
+
).annotate({
|
|
1255
|
+
title: "automatic_tax_params",
|
|
1256
|
+
description:
|
|
1257
|
+
"Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.",
|
|
1258
|
+
}),
|
|
1259
|
+
),
|
|
1260
|
+
billing_address_collection: Schema.optionalKey(
|
|
1261
|
+
Schema.Literals(["auto", "required"]).annotate({
|
|
1262
|
+
description:
|
|
1263
|
+
"Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.",
|
|
1264
|
+
}),
|
|
1265
|
+
),
|
|
1266
|
+
branding_settings: Schema.optionalKey(
|
|
1267
|
+
Schema.StructWithRest(
|
|
1268
|
+
Schema.Struct({
|
|
1269
|
+
background_color: Schema.optionalKey(
|
|
1270
|
+
Schema.Union([
|
|
1271
|
+
Schema.String.check(
|
|
1272
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1273
|
+
expected: "a string with at most 5000 code points",
|
|
1274
|
+
}),
|
|
1275
|
+
),
|
|
1276
|
+
Schema.Literal(""),
|
|
1277
|
+
]),
|
|
1278
|
+
),
|
|
1279
|
+
border_style: Schema.optionalKey(
|
|
1280
|
+
Schema.Literals(["", "pill", "rectangular", "rounded"]),
|
|
1281
|
+
),
|
|
1282
|
+
button_color: Schema.optionalKey(
|
|
1283
|
+
Schema.Union([
|
|
1284
|
+
Schema.String.check(
|
|
1285
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1286
|
+
expected: "a string with at most 5000 code points",
|
|
1287
|
+
}),
|
|
1288
|
+
),
|
|
1289
|
+
Schema.Literal(""),
|
|
1290
|
+
]),
|
|
1291
|
+
),
|
|
1292
|
+
display_name: Schema.optionalKey(
|
|
1293
|
+
Schema.String.check(
|
|
1294
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1295
|
+
expected: "a string with at most 5000 code points",
|
|
1296
|
+
}),
|
|
1297
|
+
),
|
|
1298
|
+
),
|
|
1299
|
+
font_family: Schema.optionalKey(
|
|
1300
|
+
Schema.Literals([
|
|
1301
|
+
"",
|
|
1302
|
+
"be_vietnam_pro",
|
|
1303
|
+
"bitter",
|
|
1304
|
+
"chakra_petch",
|
|
1305
|
+
"default",
|
|
1306
|
+
"hahmlet",
|
|
1307
|
+
"inconsolata",
|
|
1308
|
+
"inter",
|
|
1309
|
+
"lato",
|
|
1310
|
+
"lora",
|
|
1311
|
+
"m_plus_1_code",
|
|
1312
|
+
"montserrat",
|
|
1313
|
+
"noto_sans",
|
|
1314
|
+
"noto_sans_jp",
|
|
1315
|
+
"noto_serif",
|
|
1316
|
+
"nunito",
|
|
1317
|
+
"open_sans",
|
|
1318
|
+
"pridi",
|
|
1319
|
+
"pt_sans",
|
|
1320
|
+
"pt_serif",
|
|
1321
|
+
"raleway",
|
|
1322
|
+
"roboto",
|
|
1323
|
+
"roboto_slab",
|
|
1324
|
+
"source_sans_pro",
|
|
1325
|
+
"titillium_web",
|
|
1326
|
+
"ubuntu_mono",
|
|
1327
|
+
"zen_maru_gothic",
|
|
1328
|
+
]),
|
|
1329
|
+
),
|
|
1330
|
+
icon: Schema.optionalKey(
|
|
1331
|
+
Schema.StructWithRest(
|
|
1332
|
+
Schema.Struct({
|
|
1333
|
+
file: Schema.optionalKey(Schema.String),
|
|
1334
|
+
type: Schema.Literals(["file", "url"]),
|
|
1335
|
+
url: Schema.optionalKey(Schema.String),
|
|
1336
|
+
}),
|
|
1337
|
+
[
|
|
1338
|
+
Schema.Record(
|
|
1339
|
+
Schema.String,
|
|
1340
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1341
|
+
),
|
|
1342
|
+
],
|
|
1343
|
+
).annotate({ title: "icon_params" }),
|
|
1344
|
+
),
|
|
1345
|
+
logo: Schema.optionalKey(
|
|
1346
|
+
Schema.StructWithRest(
|
|
1347
|
+
Schema.Struct({
|
|
1348
|
+
file: Schema.optionalKey(Schema.String),
|
|
1349
|
+
type: Schema.Literals(["file", "url"]),
|
|
1350
|
+
url: Schema.optionalKey(Schema.String),
|
|
1351
|
+
}),
|
|
1352
|
+
[
|
|
1353
|
+
Schema.Record(
|
|
1354
|
+
Schema.String,
|
|
1355
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1356
|
+
),
|
|
1357
|
+
],
|
|
1358
|
+
).annotate({ title: "logo_params" }),
|
|
1359
|
+
),
|
|
1360
|
+
}),
|
|
1361
|
+
[
|
|
1362
|
+
Schema.Record(
|
|
1363
|
+
Schema.String,
|
|
1364
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1365
|
+
),
|
|
1366
|
+
],
|
|
1367
|
+
).annotate({
|
|
1368
|
+
title: "branding_settings_params",
|
|
1369
|
+
description:
|
|
1370
|
+
"The branding settings for the Checkout Session. This parameter is not allowed if ui_mode is `elements`.",
|
|
1371
|
+
}),
|
|
1372
|
+
),
|
|
1373
|
+
cancel_url: Schema.optionalKey(
|
|
1374
|
+
Schema.String.annotate({
|
|
1375
|
+
description:
|
|
1376
|
+
"If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded_page` or `elements`.",
|
|
1377
|
+
}),
|
|
1378
|
+
),
|
|
1379
|
+
client_reference_id: Schema.optionalKey(
|
|
1380
|
+
Schema.String.annotate({
|
|
1381
|
+
description:
|
|
1382
|
+
"A unique string to reference the Checkout Session. This can be a\ncustomer ID, a cart ID, or similar, and can be used to reconcile the\nsession with your internal systems.",
|
|
1383
|
+
}).check(
|
|
1384
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1385
|
+
expected: "a string with at most 200 code points",
|
|
1386
|
+
}),
|
|
1387
|
+
),
|
|
1388
|
+
),
|
|
1389
|
+
consent_collection: Schema.optionalKey(
|
|
1390
|
+
Schema.StructWithRest(
|
|
1391
|
+
Schema.Struct({
|
|
1392
|
+
payment_method_reuse_agreement: Schema.optionalKey(
|
|
1393
|
+
Schema.StructWithRest(
|
|
1394
|
+
Schema.Struct({ position: Schema.Literals(["auto", "hidden"]) }),
|
|
1395
|
+
[
|
|
1396
|
+
Schema.Record(
|
|
1397
|
+
Schema.String,
|
|
1398
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1399
|
+
),
|
|
1400
|
+
],
|
|
1401
|
+
).annotate({ title: "payment_method_reuse_agreement_params" }),
|
|
1402
|
+
),
|
|
1403
|
+
promotions: Schema.optionalKey(Schema.Literals(["auto", "none"])),
|
|
1404
|
+
terms_of_service: Schema.optionalKey(
|
|
1405
|
+
Schema.Literals(["none", "required"]),
|
|
1406
|
+
),
|
|
1407
|
+
}),
|
|
1408
|
+
[
|
|
1409
|
+
Schema.Record(
|
|
1410
|
+
Schema.String,
|
|
1411
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1412
|
+
),
|
|
1413
|
+
],
|
|
1414
|
+
).annotate({
|
|
1415
|
+
title: "consent_collection_params",
|
|
1416
|
+
description:
|
|
1417
|
+
"Configure fields for the Checkout Session to gather active consent from customers.",
|
|
1418
|
+
}),
|
|
1419
|
+
),
|
|
1420
|
+
currency: Schema.optionalKey(
|
|
1421
|
+
Schema.String.annotate({
|
|
1422
|
+
description:
|
|
1423
|
+
"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). Required in `setup` mode when `allowed_payment_method_types` is not set.",
|
|
1424
|
+
format: "currency",
|
|
1425
|
+
}),
|
|
1426
|
+
),
|
|
1427
|
+
custom_fields: Schema.optionalKey(
|
|
1428
|
+
Schema.Array(
|
|
1429
|
+
Schema.StructWithRest(
|
|
1430
|
+
Schema.Struct({
|
|
1431
|
+
dropdown: Schema.optionalKey(
|
|
1432
|
+
Schema.StructWithRest(
|
|
1433
|
+
Schema.Struct({
|
|
1434
|
+
default_value: Schema.optionalKey(
|
|
1435
|
+
Schema.String.check(
|
|
1436
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
1437
|
+
expected: "a string with at most 100 code points",
|
|
1438
|
+
}),
|
|
1439
|
+
),
|
|
1440
|
+
),
|
|
1441
|
+
options: Schema.Array(
|
|
1442
|
+
Schema.StructWithRest(
|
|
1443
|
+
Schema.Struct({
|
|
1444
|
+
label: Schema.String.check(
|
|
1445
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
1446
|
+
expected: "a string with at most 100 code points",
|
|
1447
|
+
}),
|
|
1448
|
+
),
|
|
1449
|
+
value: Schema.String.check(
|
|
1450
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
1451
|
+
expected: "a string with at most 100 code points",
|
|
1452
|
+
}),
|
|
1453
|
+
),
|
|
1454
|
+
}),
|
|
1455
|
+
[
|
|
1456
|
+
Schema.Record(
|
|
1457
|
+
Schema.String,
|
|
1458
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1459
|
+
),
|
|
1460
|
+
],
|
|
1461
|
+
).annotate({ title: "custom_field_option_param" }),
|
|
1462
|
+
),
|
|
1463
|
+
}),
|
|
1464
|
+
[
|
|
1465
|
+
Schema.Record(
|
|
1466
|
+
Schema.String,
|
|
1467
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1468
|
+
),
|
|
1469
|
+
],
|
|
1470
|
+
).annotate({ title: "custom_field_dropdown_param" }),
|
|
1471
|
+
),
|
|
1472
|
+
key: Schema.String.check(
|
|
1473
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1474
|
+
expected: "a string with at most 200 code points",
|
|
1475
|
+
}),
|
|
1476
|
+
),
|
|
1477
|
+
label: Schema.StructWithRest(
|
|
1478
|
+
Schema.Struct({
|
|
1479
|
+
custom: Schema.String.check(
|
|
1480
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
1481
|
+
expected: "a string with at most 100 code points",
|
|
1482
|
+
}),
|
|
1483
|
+
),
|
|
1484
|
+
type: Schema.Literal("custom"),
|
|
1485
|
+
}),
|
|
1486
|
+
[
|
|
1487
|
+
Schema.Record(
|
|
1488
|
+
Schema.String,
|
|
1489
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1490
|
+
),
|
|
1491
|
+
],
|
|
1492
|
+
).annotate({ title: "custom_field_label_param" }),
|
|
1493
|
+
numeric: Schema.optionalKey(
|
|
1494
|
+
Schema.StructWithRest(
|
|
1495
|
+
Schema.Struct({
|
|
1496
|
+
default_value: Schema.optionalKey(
|
|
1497
|
+
Schema.String.check(
|
|
1498
|
+
Schema.isMaxCodePoints(255).annotate({
|
|
1499
|
+
expected: "a string with at most 255 code points",
|
|
1500
|
+
}),
|
|
1501
|
+
),
|
|
1502
|
+
),
|
|
1503
|
+
maximum_length: Schema.optionalKey(Schema.Int),
|
|
1504
|
+
minimum_length: Schema.optionalKey(Schema.Int),
|
|
1505
|
+
}),
|
|
1506
|
+
[
|
|
1507
|
+
Schema.Record(
|
|
1508
|
+
Schema.String,
|
|
1509
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1510
|
+
),
|
|
1511
|
+
],
|
|
1512
|
+
).annotate({ title: "custom_field_numeric_param" }),
|
|
1513
|
+
),
|
|
1514
|
+
optional: Schema.optionalKey(Schema.Boolean),
|
|
1515
|
+
text: Schema.optionalKey(
|
|
1516
|
+
Schema.StructWithRest(
|
|
1517
|
+
Schema.Struct({
|
|
1518
|
+
default_value: Schema.optionalKey(
|
|
1519
|
+
Schema.String.check(
|
|
1520
|
+
Schema.isMaxCodePoints(255).annotate({
|
|
1521
|
+
expected: "a string with at most 255 code points",
|
|
1522
|
+
}),
|
|
1523
|
+
),
|
|
1524
|
+
),
|
|
1525
|
+
maximum_length: Schema.optionalKey(Schema.Int),
|
|
1526
|
+
minimum_length: Schema.optionalKey(Schema.Int),
|
|
1527
|
+
}),
|
|
1528
|
+
[
|
|
1529
|
+
Schema.Record(
|
|
1530
|
+
Schema.String,
|
|
1531
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1532
|
+
),
|
|
1533
|
+
],
|
|
1534
|
+
).annotate({ title: "custom_field_text_param" }),
|
|
1535
|
+
),
|
|
1536
|
+
type: Schema.Literals(["dropdown", "numeric", "text"]),
|
|
1537
|
+
}),
|
|
1538
|
+
[
|
|
1539
|
+
Schema.Record(
|
|
1540
|
+
Schema.String,
|
|
1541
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1542
|
+
),
|
|
1543
|
+
],
|
|
1544
|
+
).annotate({ title: "custom_field_param" }),
|
|
1545
|
+
).annotate({
|
|
1546
|
+
description:
|
|
1547
|
+
"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `elements`.",
|
|
1548
|
+
}),
|
|
1549
|
+
),
|
|
1550
|
+
custom_text: Schema.optionalKey(
|
|
1551
|
+
Schema.StructWithRest(
|
|
1552
|
+
Schema.Struct({
|
|
1553
|
+
after_submit: Schema.optionalKey(
|
|
1554
|
+
Schema.Union([
|
|
1555
|
+
Schema.StructWithRest(
|
|
1556
|
+
Schema.Struct({
|
|
1557
|
+
message: Schema.String.check(
|
|
1558
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
1559
|
+
expected: "a string with at most 1200 code points",
|
|
1560
|
+
}),
|
|
1561
|
+
),
|
|
1562
|
+
}),
|
|
1563
|
+
[
|
|
1564
|
+
Schema.Record(
|
|
1565
|
+
Schema.String,
|
|
1566
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1567
|
+
),
|
|
1568
|
+
],
|
|
1569
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
1570
|
+
Schema.Literal(""),
|
|
1571
|
+
]),
|
|
1572
|
+
),
|
|
1573
|
+
shipping_address: Schema.optionalKey(
|
|
1574
|
+
Schema.Union([
|
|
1575
|
+
Schema.StructWithRest(
|
|
1576
|
+
Schema.Struct({
|
|
1577
|
+
message: Schema.String.check(
|
|
1578
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
1579
|
+
expected: "a string with at most 1200 code points",
|
|
1580
|
+
}),
|
|
1581
|
+
),
|
|
1582
|
+
}),
|
|
1583
|
+
[
|
|
1584
|
+
Schema.Record(
|
|
1585
|
+
Schema.String,
|
|
1586
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1587
|
+
),
|
|
1588
|
+
],
|
|
1589
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
1590
|
+
Schema.Literal(""),
|
|
1591
|
+
]),
|
|
1592
|
+
),
|
|
1593
|
+
submit: Schema.optionalKey(
|
|
1594
|
+
Schema.Union([
|
|
1595
|
+
Schema.StructWithRest(
|
|
1596
|
+
Schema.Struct({
|
|
1597
|
+
message: Schema.String.check(
|
|
1598
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
1599
|
+
expected: "a string with at most 1200 code points",
|
|
1600
|
+
}),
|
|
1601
|
+
),
|
|
1602
|
+
}),
|
|
1603
|
+
[
|
|
1604
|
+
Schema.Record(
|
|
1605
|
+
Schema.String,
|
|
1606
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1607
|
+
),
|
|
1608
|
+
],
|
|
1609
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
1610
|
+
Schema.Literal(""),
|
|
1611
|
+
]),
|
|
1612
|
+
),
|
|
1613
|
+
terms_of_service_acceptance: Schema.optionalKey(
|
|
1614
|
+
Schema.Union([
|
|
1615
|
+
Schema.StructWithRest(
|
|
1616
|
+
Schema.Struct({
|
|
1617
|
+
message: Schema.String.check(
|
|
1618
|
+
Schema.isMaxCodePoints(1200).annotate({
|
|
1619
|
+
expected: "a string with at most 1200 code points",
|
|
1620
|
+
}),
|
|
1621
|
+
),
|
|
1622
|
+
}),
|
|
1623
|
+
[
|
|
1624
|
+
Schema.Record(
|
|
1625
|
+
Schema.String,
|
|
1626
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1627
|
+
),
|
|
1628
|
+
],
|
|
1629
|
+
).annotate({ title: "custom_text_position_param" }),
|
|
1630
|
+
Schema.Literal(""),
|
|
1631
|
+
]),
|
|
1632
|
+
),
|
|
1633
|
+
}),
|
|
1634
|
+
[
|
|
1635
|
+
Schema.Record(
|
|
1636
|
+
Schema.String,
|
|
1637
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1638
|
+
),
|
|
1639
|
+
],
|
|
1640
|
+
).annotate({
|
|
1641
|
+
title: "custom_text_param",
|
|
1642
|
+
description:
|
|
1643
|
+
"Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `elements`.",
|
|
1644
|
+
}),
|
|
1645
|
+
),
|
|
1646
|
+
customer: Schema.optionalKey(
|
|
1647
|
+
Schema.Union([
|
|
1648
|
+
Schema.Union([
|
|
1649
|
+
ResourceReferenceSchema(
|
|
1650
|
+
Schema.Struct({
|
|
1651
|
+
provider: Schema.Literal("stripe"),
|
|
1652
|
+
service: Schema.Literal("billing"),
|
|
1653
|
+
resource: Schema.Literal("customer"),
|
|
1654
|
+
}),
|
|
1655
|
+
{
|
|
1656
|
+
value: null,
|
|
1657
|
+
outputs: [
|
|
1658
|
+
{
|
|
1659
|
+
source: ["CustomerId"],
|
|
1660
|
+
target: [],
|
|
1661
|
+
},
|
|
1662
|
+
],
|
|
1663
|
+
},
|
|
1664
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
1665
|
+
]),
|
|
1666
|
+
]),
|
|
1667
|
+
),
|
|
1668
|
+
customer_account: Schema.optionalKey(
|
|
1669
|
+
Schema.String.annotate({
|
|
1670
|
+
description:
|
|
1671
|
+
"ID of an existing Account, if one exists. Has the same behavior as `customer`.",
|
|
1672
|
+
}).check(
|
|
1673
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1674
|
+
expected: "a string with at most 5000 code points",
|
|
1675
|
+
}),
|
|
1676
|
+
),
|
|
1677
|
+
),
|
|
1678
|
+
customer_creation: Schema.optionalKey(
|
|
1679
|
+
Schema.Literals(["always", "if_required"]).annotate({
|
|
1680
|
+
description:
|
|
1681
|
+
"Configure whether a Checkout Session creates a [Customer](https://docs.stripe.com/api/customers) during Session confirmation.\n\nWhen a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout\nwith [customer_details](https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-customer_details).\n\nSessions that don't create Customers instead are grouped by [guest customers](https://docs.stripe.com/payments/checkout/guest-customers)\nin the Dashboard. Promotion codes limited to first time customers will return invalid for these Sessions.\n\nCan only be set in `payment` and `setup` mode.",
|
|
1682
|
+
}),
|
|
1683
|
+
),
|
|
1684
|
+
customer_email: Schema.optionalKey(
|
|
1685
|
+
Schema.String.annotate({
|
|
1686
|
+
description:
|
|
1687
|
+
"If provided, this value will be used when the Customer object is created.\nIf not provided, customers will be asked to enter their email address.\nUse this parameter to prefill customer data if you already have an email\non file. To access information about the customer once a session is\ncomplete, use the `customer` field.",
|
|
1688
|
+
}).check(
|
|
1689
|
+
Schema.isMaxCodePoints(800).annotate({
|
|
1690
|
+
expected: "a string with at most 800 code points",
|
|
1691
|
+
}),
|
|
1692
|
+
),
|
|
1693
|
+
),
|
|
1694
|
+
customer_update: Schema.optionalKey(
|
|
1695
|
+
Schema.StructWithRest(
|
|
1696
|
+
Schema.Struct({
|
|
1697
|
+
address: Schema.optionalKey(Schema.Literals(["auto", "never"])),
|
|
1698
|
+
name: Schema.optionalKey(Schema.Literals(["auto", "never"])),
|
|
1699
|
+
shipping: Schema.optionalKey(Schema.Literals(["auto", "never"])),
|
|
1700
|
+
}),
|
|
1701
|
+
[
|
|
1702
|
+
Schema.Record(
|
|
1703
|
+
Schema.String,
|
|
1704
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1705
|
+
),
|
|
1706
|
+
],
|
|
1707
|
+
).annotate({
|
|
1708
|
+
title: "customer_update_params",
|
|
1709
|
+
description:
|
|
1710
|
+
"Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.",
|
|
1711
|
+
}),
|
|
1712
|
+
),
|
|
1713
|
+
discounts: Schema.optionalKey(
|
|
1714
|
+
Schema.Array(
|
|
1715
|
+
Schema.StructWithRest(
|
|
1716
|
+
Schema.Struct({
|
|
1717
|
+
coupon: Schema.optionalKey(
|
|
1718
|
+
StripeResourceEntityInputAlternatives_15,
|
|
1719
|
+
),
|
|
1720
|
+
promotion_code: Schema.optionalKey(
|
|
1721
|
+
StripeResourceEntityInputAlternatives_16,
|
|
1722
|
+
),
|
|
1723
|
+
}),
|
|
1724
|
+
[
|
|
1725
|
+
Schema.Record(
|
|
1726
|
+
Schema.String,
|
|
1727
|
+
Schema.Union([
|
|
1728
|
+
ResourceInputJsonSchema,
|
|
1729
|
+
StripeResourceEntityInputAlternatives_15,
|
|
1730
|
+
StripeResourceEntityInputAlternatives_16,
|
|
1731
|
+
]),
|
|
1732
|
+
),
|
|
1733
|
+
],
|
|
1734
|
+
).annotate({ title: "discount_params" }),
|
|
1735
|
+
).annotate({
|
|
1736
|
+
description:
|
|
1737
|
+
"The coupon or promotion code to apply to this Session. Currently, only up to one may be specified.",
|
|
1738
|
+
}),
|
|
1739
|
+
),
|
|
1740
|
+
excluded_payment_method_types: Schema.optionalKey(
|
|
1741
|
+
Schema.Array(
|
|
1742
|
+
Schema.Literals([
|
|
1743
|
+
"acss_debit",
|
|
1744
|
+
"affirm",
|
|
1745
|
+
"afterpay_clearpay",
|
|
1746
|
+
"alipay",
|
|
1747
|
+
"alma",
|
|
1748
|
+
"amazon_pay",
|
|
1749
|
+
"au_becs_debit",
|
|
1750
|
+
"bacs_debit",
|
|
1751
|
+
"bancontact",
|
|
1752
|
+
"billie",
|
|
1753
|
+
"bizum",
|
|
1754
|
+
"blik",
|
|
1755
|
+
"boleto",
|
|
1756
|
+
"card",
|
|
1757
|
+
"cashapp",
|
|
1758
|
+
"crypto",
|
|
1759
|
+
"customer_balance",
|
|
1760
|
+
"eps",
|
|
1761
|
+
"fpx",
|
|
1762
|
+
"giropay",
|
|
1763
|
+
"grabpay",
|
|
1764
|
+
"ideal",
|
|
1765
|
+
"kakao_pay",
|
|
1766
|
+
"klarna",
|
|
1767
|
+
"konbini",
|
|
1768
|
+
"kr_card",
|
|
1769
|
+
"mb_way",
|
|
1770
|
+
"mobilepay",
|
|
1771
|
+
"multibanco",
|
|
1772
|
+
"naver_pay",
|
|
1773
|
+
"nz_bank_account",
|
|
1774
|
+
"oxxo",
|
|
1775
|
+
"p24",
|
|
1776
|
+
"pay_by_bank",
|
|
1777
|
+
"payco",
|
|
1778
|
+
"paynow",
|
|
1779
|
+
"paypal",
|
|
1780
|
+
"paypay",
|
|
1781
|
+
"payto",
|
|
1782
|
+
"pix",
|
|
1783
|
+
"promptpay",
|
|
1784
|
+
"revolut_pay",
|
|
1785
|
+
"samsung_pay",
|
|
1786
|
+
"satispay",
|
|
1787
|
+
"scalapay",
|
|
1788
|
+
"sepa_debit",
|
|
1789
|
+
"sequra",
|
|
1790
|
+
"sofort",
|
|
1791
|
+
"sunbit",
|
|
1792
|
+
"swish",
|
|
1793
|
+
"twint",
|
|
1794
|
+
"upi",
|
|
1795
|
+
"us_bank_account",
|
|
1796
|
+
"wechat_pay",
|
|
1797
|
+
"zip",
|
|
1798
|
+
]),
|
|
1799
|
+
).annotate({
|
|
1800
|
+
description:
|
|
1801
|
+
"A list of the types of payment methods (e.g., `card`) that should be excluded from this Checkout Session. This should only be used when payment methods for this Checkout Session are managed through the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).",
|
|
1802
|
+
}),
|
|
1803
|
+
),
|
|
1804
|
+
expand: Schema.optionalKey(
|
|
1805
|
+
Schema.Array(
|
|
1806
|
+
Schema.String.check(
|
|
1807
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1808
|
+
expected: "a string with at most 5000 code points",
|
|
1809
|
+
}),
|
|
1810
|
+
),
|
|
1811
|
+
).annotate({
|
|
1812
|
+
description:
|
|
1813
|
+
"Specifies which fields in the response should be expanded.",
|
|
1814
|
+
}),
|
|
1815
|
+
),
|
|
1816
|
+
expires_at: Schema.optionalKey(
|
|
1817
|
+
Schema.Number.annotate({
|
|
1818
|
+
description:
|
|
1819
|
+
"The Epoch time in seconds at which the Checkout Session will expire. It can be anywhere from 30 minutes to 24 hours after Checkout Session creation. By default, this value is 24 hours from creation.",
|
|
1820
|
+
format: "unix-time",
|
|
1821
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1822
|
+
),
|
|
1823
|
+
integration_identifier: Schema.optionalKey(
|
|
1824
|
+
Schema.String.annotate({
|
|
1825
|
+
description:
|
|
1826
|
+
"The integration identifier for this Checkout Session. Multiple Checkout Sessions can have the same integration identifier.",
|
|
1827
|
+
}).check(
|
|
1828
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1829
|
+
expected: "a string with at most 200 code points",
|
|
1830
|
+
}),
|
|
1831
|
+
),
|
|
1832
|
+
),
|
|
1833
|
+
invoice_creation: Schema.optionalKey(
|
|
1834
|
+
Schema.StructWithRest(
|
|
1835
|
+
Schema.Struct({
|
|
1836
|
+
enabled: Schema.Boolean,
|
|
1837
|
+
invoice_data: Schema.optionalKey(
|
|
1838
|
+
StripeResourceEntityInputProperties_10,
|
|
1839
|
+
),
|
|
1840
|
+
}),
|
|
1841
|
+
[
|
|
1842
|
+
Schema.Record(
|
|
1843
|
+
Schema.String,
|
|
1844
|
+
Schema.Union([
|
|
1845
|
+
ResourceInputJsonSchema,
|
|
1846
|
+
StripeResourceEntityInputProperties_10,
|
|
1847
|
+
]),
|
|
1848
|
+
),
|
|
1849
|
+
],
|
|
1850
|
+
).annotate({
|
|
1851
|
+
title: "invoice_creation_params",
|
|
1852
|
+
description: "Generate a post-purchase Invoice for one-time payments.",
|
|
1853
|
+
}),
|
|
1854
|
+
),
|
|
1855
|
+
line_items: Schema.optionalKey(
|
|
1856
|
+
Schema.Array(
|
|
1857
|
+
Schema.StructWithRest(
|
|
1858
|
+
Schema.Struct({
|
|
1859
|
+
adjustable_quantity: Schema.optionalKey(
|
|
1860
|
+
Schema.StructWithRest(
|
|
1861
|
+
Schema.Struct({
|
|
1862
|
+
enabled: Schema.Boolean,
|
|
1863
|
+
maximum: Schema.optionalKey(Schema.Int),
|
|
1864
|
+
minimum: Schema.optionalKey(Schema.Int),
|
|
1865
|
+
}),
|
|
1866
|
+
[
|
|
1867
|
+
Schema.Record(
|
|
1868
|
+
Schema.String,
|
|
1869
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1870
|
+
),
|
|
1871
|
+
],
|
|
1872
|
+
).annotate({ title: "adjustable_quantity_params" }),
|
|
1873
|
+
),
|
|
1874
|
+
metadata: Schema.optionalKey(
|
|
1875
|
+
Schema.Record(Schema.String, Schema.String),
|
|
1876
|
+
),
|
|
1877
|
+
price: Schema.optionalKey(
|
|
1878
|
+
Schema.String.check(
|
|
1879
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1880
|
+
expected: "a string with at most 5000 code points",
|
|
1881
|
+
}),
|
|
1882
|
+
),
|
|
1883
|
+
),
|
|
1884
|
+
price_data: Schema.optionalKey(
|
|
1885
|
+
Schema.StructWithRest(
|
|
1886
|
+
Schema.Struct({
|
|
1887
|
+
currency: Schema.String.annotate({ format: "currency" }),
|
|
1888
|
+
product: Schema.optionalKey(
|
|
1889
|
+
Schema.String.check(
|
|
1890
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1891
|
+
expected: "a string with at most 5000 code points",
|
|
1892
|
+
}),
|
|
1893
|
+
),
|
|
1894
|
+
),
|
|
1895
|
+
product_data: Schema.optionalKey(
|
|
1896
|
+
Schema.StructWithRest(
|
|
1897
|
+
Schema.Struct({
|
|
1898
|
+
description: Schema.optionalKey(
|
|
1899
|
+
Schema.String.check(
|
|
1900
|
+
Schema.isMaxCodePoints(40000).annotate({
|
|
1901
|
+
expected:
|
|
1902
|
+
"a string with at most 40000 code points",
|
|
1903
|
+
}),
|
|
1904
|
+
),
|
|
1905
|
+
),
|
|
1906
|
+
images: Schema.optionalKey(Schema.Array(Schema.String)),
|
|
1907
|
+
metadata: Schema.optionalKey(
|
|
1908
|
+
Schema.Record(Schema.String, Schema.String),
|
|
1909
|
+
),
|
|
1910
|
+
name: Schema.String.check(
|
|
1911
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1912
|
+
expected: "a string with at most 5000 code points",
|
|
1913
|
+
}),
|
|
1914
|
+
),
|
|
1915
|
+
tax_code: Schema.optionalKey(
|
|
1916
|
+
Schema.String.check(
|
|
1917
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1918
|
+
expected:
|
|
1919
|
+
"a string with at most 5000 code points",
|
|
1920
|
+
}),
|
|
1921
|
+
),
|
|
1922
|
+
),
|
|
1923
|
+
tax_details: Schema.optionalKey(
|
|
1924
|
+
Schema.StructWithRest(
|
|
1925
|
+
Schema.Struct({
|
|
1926
|
+
performance_location: Schema.optionalKey(
|
|
1927
|
+
Schema.String.check(
|
|
1928
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1929
|
+
expected:
|
|
1930
|
+
"a string with at most 5000 code points",
|
|
1931
|
+
}),
|
|
1932
|
+
),
|
|
1933
|
+
),
|
|
1934
|
+
tax_code: Schema.optionalKey(
|
|
1935
|
+
Schema.Union([
|
|
1936
|
+
Schema.String,
|
|
1937
|
+
Schema.Literal(""),
|
|
1938
|
+
]),
|
|
1939
|
+
),
|
|
1940
|
+
}),
|
|
1941
|
+
[
|
|
1942
|
+
Schema.Record(
|
|
1943
|
+
Schema.String,
|
|
1944
|
+
Schema.Json.annotate({
|
|
1945
|
+
expected: "JSON value",
|
|
1946
|
+
}),
|
|
1947
|
+
),
|
|
1948
|
+
],
|
|
1949
|
+
).annotate({ title: "tax_details" }),
|
|
1950
|
+
),
|
|
1951
|
+
unit_label: Schema.optionalKey(
|
|
1952
|
+
Schema.String.check(
|
|
1953
|
+
Schema.isMaxCodePoints(12).annotate({
|
|
1954
|
+
expected: "a string with at most 12 code points",
|
|
1955
|
+
}),
|
|
1956
|
+
),
|
|
1957
|
+
),
|
|
1958
|
+
}),
|
|
1959
|
+
[
|
|
1960
|
+
Schema.Record(
|
|
1961
|
+
Schema.String,
|
|
1962
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1963
|
+
),
|
|
1964
|
+
],
|
|
1965
|
+
).annotate({ title: "product_data" }),
|
|
1966
|
+
),
|
|
1967
|
+
recurring: Schema.optionalKey(
|
|
1968
|
+
Schema.StructWithRest(
|
|
1969
|
+
Schema.Struct({
|
|
1970
|
+
interval: Schema.Literals([
|
|
1971
|
+
"day",
|
|
1972
|
+
"month",
|
|
1973
|
+
"week",
|
|
1974
|
+
"year",
|
|
1975
|
+
]),
|
|
1976
|
+
interval_count: Schema.optionalKey(Schema.Int),
|
|
1977
|
+
}),
|
|
1978
|
+
[
|
|
1979
|
+
Schema.Record(
|
|
1980
|
+
Schema.String,
|
|
1981
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1982
|
+
),
|
|
1983
|
+
],
|
|
1984
|
+
).annotate({ title: "recurring_adhoc" }),
|
|
1985
|
+
),
|
|
1986
|
+
tax_behavior: Schema.optionalKey(
|
|
1987
|
+
Schema.Literals(["exclusive", "inclusive", "unspecified"]),
|
|
1988
|
+
),
|
|
1989
|
+
unit_amount: Schema.optionalKey(Schema.Int),
|
|
1990
|
+
unit_amount_decimal: Schema.optionalKey(
|
|
1991
|
+
Schema.String.annotate({ format: "decimal" }),
|
|
1992
|
+
),
|
|
1993
|
+
}),
|
|
1994
|
+
[
|
|
1995
|
+
Schema.Record(
|
|
1996
|
+
Schema.String,
|
|
1997
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1998
|
+
),
|
|
1999
|
+
],
|
|
2000
|
+
).annotate({ title: "price_data_with_product_data" }),
|
|
2001
|
+
),
|
|
2002
|
+
quantity: Schema.optionalKey(Schema.Int),
|
|
2003
|
+
tax_rates: Schema.optionalKey(
|
|
2004
|
+
Schema.Array(
|
|
2005
|
+
Schema.String.check(
|
|
2006
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2007
|
+
expected: "a string with at most 5000 code points",
|
|
2008
|
+
}),
|
|
2009
|
+
),
|
|
2010
|
+
),
|
|
2011
|
+
),
|
|
2012
|
+
}),
|
|
2013
|
+
[
|
|
2014
|
+
Schema.Record(
|
|
2015
|
+
Schema.String,
|
|
2016
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2017
|
+
),
|
|
2018
|
+
],
|
|
2019
|
+
).annotate({ title: "line_item_params" }),
|
|
2020
|
+
).annotate({
|
|
2021
|
+
description:
|
|
2022
|
+
"A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices). The parameter is required for `payment` and `subscription` mode.\n\nFor `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.\n\nFor `subscription` mode, there is a maximum of 20 line items with recurring Prices and 20 line items with one-time Prices. Line items with one-time Prices will be on the initial invoice only.",
|
|
2023
|
+
}),
|
|
2024
|
+
),
|
|
2025
|
+
locale: Schema.optionalKey(
|
|
2026
|
+
Schema.Literals([
|
|
2027
|
+
"auto",
|
|
2028
|
+
"bg",
|
|
2029
|
+
"cs",
|
|
2030
|
+
"da",
|
|
2031
|
+
"de",
|
|
2032
|
+
"el",
|
|
2033
|
+
"en",
|
|
2034
|
+
"en-GB",
|
|
2035
|
+
"es",
|
|
2036
|
+
"es-419",
|
|
2037
|
+
"et",
|
|
2038
|
+
"fi",
|
|
2039
|
+
"fil",
|
|
2040
|
+
"fr",
|
|
2041
|
+
"fr-CA",
|
|
2042
|
+
"hi-IN",
|
|
2043
|
+
"hr",
|
|
2044
|
+
"hu",
|
|
2045
|
+
"id",
|
|
2046
|
+
"it",
|
|
2047
|
+
"ja",
|
|
2048
|
+
"ko",
|
|
2049
|
+
"lt",
|
|
2050
|
+
"lv",
|
|
2051
|
+
"ms",
|
|
2052
|
+
"mt",
|
|
2053
|
+
"nb",
|
|
2054
|
+
"nl",
|
|
2055
|
+
"pl",
|
|
2056
|
+
"pt",
|
|
2057
|
+
"pt-BR",
|
|
2058
|
+
"ro",
|
|
2059
|
+
"ru",
|
|
2060
|
+
"sk",
|
|
2061
|
+
"sl",
|
|
2062
|
+
"sv",
|
|
2063
|
+
"th",
|
|
2064
|
+
"tr",
|
|
2065
|
+
"vi",
|
|
2066
|
+
"zh",
|
|
2067
|
+
"zh-HK",
|
|
2068
|
+
"zh-TW",
|
|
2069
|
+
]).annotate({
|
|
2070
|
+
description:
|
|
2071
|
+
"The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.",
|
|
2072
|
+
}),
|
|
2073
|
+
),
|
|
2074
|
+
managed_payments: Schema.optionalKey(
|
|
2075
|
+
Schema.StructWithRest(
|
|
2076
|
+
Schema.Struct({ enabled: Schema.optionalKey(Schema.Boolean) }),
|
|
2077
|
+
[
|
|
2078
|
+
Schema.Record(
|
|
2079
|
+
Schema.String,
|
|
2080
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2081
|
+
),
|
|
2082
|
+
],
|
|
2083
|
+
).annotate({
|
|
2084
|
+
title: "managed_payments_params",
|
|
2085
|
+
description:
|
|
2086
|
+
"Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).",
|
|
2087
|
+
}),
|
|
2088
|
+
),
|
|
2089
|
+
metadata: Schema.optionalKey(
|
|
2090
|
+
Schema.Record(Schema.String, Schema.String).annotate({
|
|
2091
|
+
description:
|
|
2092
|
+
"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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
|
|
2093
|
+
}),
|
|
2094
|
+
),
|
|
2095
|
+
mode: Schema.optionalKey(
|
|
2096
|
+
Schema.Literals(["payment", "setup", "subscription"]).annotate({
|
|
2097
|
+
description:
|
|
2098
|
+
"The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.",
|
|
2099
|
+
}),
|
|
2100
|
+
),
|
|
2101
|
+
name_collection: Schema.optionalKey(
|
|
2102
|
+
Schema.StructWithRest(
|
|
2103
|
+
Schema.Struct({
|
|
2104
|
+
business: Schema.optionalKey(
|
|
2105
|
+
Schema.StructWithRest(
|
|
2106
|
+
Schema.Struct({
|
|
2107
|
+
enabled: Schema.Boolean,
|
|
2108
|
+
optional: Schema.optionalKey(Schema.Boolean),
|
|
2109
|
+
}),
|
|
2110
|
+
[
|
|
2111
|
+
Schema.Record(
|
|
2112
|
+
Schema.String,
|
|
2113
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2114
|
+
),
|
|
2115
|
+
],
|
|
2116
|
+
).annotate({ title: "name_collection_business_params" }),
|
|
2117
|
+
),
|
|
2118
|
+
individual: Schema.optionalKey(
|
|
2119
|
+
Schema.StructWithRest(
|
|
2120
|
+
Schema.Struct({
|
|
2121
|
+
enabled: Schema.Boolean,
|
|
2122
|
+
optional: Schema.optionalKey(Schema.Boolean),
|
|
2123
|
+
}),
|
|
2124
|
+
[
|
|
2125
|
+
Schema.Record(
|
|
2126
|
+
Schema.String,
|
|
2127
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2128
|
+
),
|
|
2129
|
+
],
|
|
2130
|
+
).annotate({ title: "name_collection_individual_params" }),
|
|
2131
|
+
),
|
|
2132
|
+
}),
|
|
2133
|
+
[
|
|
2134
|
+
Schema.Record(
|
|
2135
|
+
Schema.String,
|
|
2136
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2137
|
+
),
|
|
2138
|
+
],
|
|
2139
|
+
).annotate({
|
|
2140
|
+
title: "name_collection_params",
|
|
2141
|
+
description:
|
|
2142
|
+
"Controls name collection settings for the session.\n\nYou can configure Checkout to collect your customers' business names, individual names, or both. Each name field can be either required or optional.\n\nIf a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well.",
|
|
2143
|
+
}),
|
|
2144
|
+
),
|
|
2145
|
+
optional_items: Schema.optionalKey(
|
|
2146
|
+
Schema.Array(
|
|
2147
|
+
Schema.StructWithRest(
|
|
2148
|
+
Schema.Struct({
|
|
2149
|
+
adjustable_quantity: Schema.optionalKey(
|
|
2150
|
+
Schema.StructWithRest(
|
|
2151
|
+
Schema.Struct({
|
|
2152
|
+
enabled: Schema.Boolean,
|
|
2153
|
+
maximum: Schema.optionalKey(Schema.Int),
|
|
2154
|
+
minimum: Schema.optionalKey(Schema.Int),
|
|
2155
|
+
}),
|
|
2156
|
+
[
|
|
2157
|
+
Schema.Record(
|
|
2158
|
+
Schema.String,
|
|
2159
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2160
|
+
),
|
|
2161
|
+
],
|
|
2162
|
+
).annotate({ title: "optional_item_adjustable_quantity_params" }),
|
|
2163
|
+
),
|
|
2164
|
+
price: Schema.String.check(
|
|
2165
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2166
|
+
expected: "a string with at most 5000 code points",
|
|
2167
|
+
}),
|
|
2168
|
+
),
|
|
2169
|
+
quantity: Schema.Int,
|
|
2170
|
+
}),
|
|
2171
|
+
[
|
|
2172
|
+
Schema.Record(
|
|
2173
|
+
Schema.String,
|
|
2174
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2175
|
+
),
|
|
2176
|
+
],
|
|
2177
|
+
).annotate({ title: "optional_item_params" }),
|
|
2178
|
+
).annotate({
|
|
2179
|
+
description:
|
|
2180
|
+
"A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).\n\nThere is a maximum of 10 optional items allowed on a Checkout Session, and the existing limits on the number of line items allowed on a Checkout Session apply to the combined number of line items and optional items.\n\nFor `payment` mode, there is a maximum of 100 combined line items and optional items, however it is recommended to consolidate items if there are more than a few dozen.\n\nFor `subscription` mode, there is a maximum of 20 line items and optional items with recurring Prices and 20 line items and optional items with one-time Prices.\n\nYou can't set this parameter if `ui_mode` is `elements` or `form`.",
|
|
2181
|
+
}),
|
|
2182
|
+
),
|
|
2183
|
+
origin_context: Schema.optionalKey(
|
|
2184
|
+
Schema.Literals(["mobile_app", "web"]).annotate({
|
|
2185
|
+
description:
|
|
2186
|
+
"Where the user is coming from. This informs the optimizations that are applied to the session. You can't set this parameter if `ui_mode` is `elements`.",
|
|
2187
|
+
}),
|
|
2188
|
+
),
|
|
2189
|
+
payment_intent_data: Schema.optionalKey(
|
|
2190
|
+
Schema.StructWithRest(
|
|
2191
|
+
Schema.Struct({
|
|
2192
|
+
application_fee_amount: Schema.optionalKey(Schema.Int),
|
|
2193
|
+
capture_method: Schema.optionalKey(
|
|
2194
|
+
Schema.Literals(["automatic", "automatic_async", "manual"]),
|
|
2195
|
+
),
|
|
2196
|
+
description: Schema.optionalKey(
|
|
2197
|
+
Schema.String.check(
|
|
2198
|
+
Schema.isMaxCodePoints(1000).annotate({
|
|
2199
|
+
expected: "a string with at most 1000 code points",
|
|
2200
|
+
}),
|
|
2201
|
+
),
|
|
2202
|
+
),
|
|
2203
|
+
metadata: Schema.optionalKey(
|
|
2204
|
+
Schema.Record(Schema.String, Schema.String),
|
|
2205
|
+
),
|
|
2206
|
+
on_behalf_of: Schema.optionalKey(Schema.String),
|
|
2207
|
+
receipt_email: Schema.optionalKey(
|
|
2208
|
+
Schema.String.check(
|
|
2209
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2210
|
+
expected: "a string with at most 5000 code points",
|
|
2211
|
+
}),
|
|
2212
|
+
),
|
|
2213
|
+
),
|
|
2214
|
+
setup_future_usage: Schema.optionalKey(
|
|
2215
|
+
Schema.Literals(["off_session", "on_session"]),
|
|
2216
|
+
),
|
|
2217
|
+
shipping: Schema.optionalKey(
|
|
2218
|
+
Schema.StructWithRest(
|
|
2219
|
+
Schema.Struct({
|
|
2220
|
+
address: Schema.StructWithRest(
|
|
2221
|
+
Schema.Struct({
|
|
2222
|
+
city: Schema.optionalKey(
|
|
2223
|
+
Schema.String.check(
|
|
2224
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2225
|
+
expected: "a string with at most 5000 code points",
|
|
2226
|
+
}),
|
|
2227
|
+
),
|
|
2228
|
+
),
|
|
2229
|
+
country: Schema.optionalKey(
|
|
2230
|
+
Schema.String.check(
|
|
2231
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2232
|
+
expected: "a string with at most 5000 code points",
|
|
2233
|
+
}),
|
|
2234
|
+
),
|
|
2235
|
+
),
|
|
2236
|
+
line1: Schema.String.check(
|
|
2237
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2238
|
+
expected: "a string with at most 5000 code points",
|
|
2239
|
+
}),
|
|
2240
|
+
),
|
|
2241
|
+
line2: Schema.optionalKey(
|
|
2242
|
+
Schema.String.check(
|
|
2243
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2244
|
+
expected: "a string with at most 5000 code points",
|
|
2245
|
+
}),
|
|
2246
|
+
),
|
|
2247
|
+
),
|
|
2248
|
+
postal_code: Schema.optionalKey(
|
|
2249
|
+
Schema.String.check(
|
|
2250
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2251
|
+
expected: "a string with at most 5000 code points",
|
|
2252
|
+
}),
|
|
2253
|
+
),
|
|
2254
|
+
),
|
|
2255
|
+
state: Schema.optionalKey(
|
|
2256
|
+
Schema.String.check(
|
|
2257
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2258
|
+
expected: "a string with at most 5000 code points",
|
|
2259
|
+
}),
|
|
2260
|
+
),
|
|
2261
|
+
),
|
|
2262
|
+
}),
|
|
2263
|
+
[
|
|
2264
|
+
Schema.Record(
|
|
2265
|
+
Schema.String,
|
|
2266
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2267
|
+
),
|
|
2268
|
+
],
|
|
2269
|
+
).annotate({ title: "address" }),
|
|
2270
|
+
carrier: Schema.optionalKey(
|
|
2271
|
+
Schema.String.check(
|
|
2272
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2273
|
+
expected: "a string with at most 5000 code points",
|
|
2274
|
+
}),
|
|
2275
|
+
),
|
|
2276
|
+
),
|
|
2277
|
+
name: Schema.String.check(
|
|
2278
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2279
|
+
expected: "a string with at most 5000 code points",
|
|
2280
|
+
}),
|
|
2281
|
+
),
|
|
2282
|
+
phone: Schema.optionalKey(
|
|
2283
|
+
Schema.String.check(
|
|
2284
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2285
|
+
expected: "a string with at most 5000 code points",
|
|
2286
|
+
}),
|
|
2287
|
+
),
|
|
2288
|
+
),
|
|
2289
|
+
tracking_number: Schema.optionalKey(
|
|
2290
|
+
Schema.String.check(
|
|
2291
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2292
|
+
expected: "a string with at most 5000 code points",
|
|
2293
|
+
}),
|
|
2294
|
+
),
|
|
2295
|
+
),
|
|
2296
|
+
}),
|
|
2297
|
+
[
|
|
2298
|
+
Schema.Record(
|
|
2299
|
+
Schema.String,
|
|
2300
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2301
|
+
),
|
|
2302
|
+
],
|
|
2303
|
+
).annotate({ title: "shipping" }),
|
|
2304
|
+
),
|
|
2305
|
+
statement_descriptor: Schema.optionalKey(
|
|
2306
|
+
Schema.String.check(
|
|
2307
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
2308
|
+
expected: "a string with at most 22 code points",
|
|
2309
|
+
}),
|
|
2310
|
+
),
|
|
2311
|
+
),
|
|
2312
|
+
statement_descriptor_suffix: Schema.optionalKey(
|
|
2313
|
+
Schema.String.check(
|
|
2314
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
2315
|
+
expected: "a string with at most 22 code points",
|
|
2316
|
+
}),
|
|
2317
|
+
),
|
|
2318
|
+
),
|
|
2319
|
+
transfer_data: Schema.optionalKey(
|
|
2320
|
+
Schema.StructWithRest(
|
|
2321
|
+
Schema.Struct({
|
|
2322
|
+
amount: Schema.optionalKey(Schema.Int),
|
|
2323
|
+
destination: Schema.String,
|
|
2324
|
+
}),
|
|
2325
|
+
[
|
|
2326
|
+
Schema.Record(
|
|
2327
|
+
Schema.String,
|
|
2328
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2329
|
+
),
|
|
2330
|
+
],
|
|
2331
|
+
).annotate({ title: "transfer_data_params" }),
|
|
2332
|
+
),
|
|
2333
|
+
transfer_group: Schema.optionalKey(Schema.String),
|
|
2334
|
+
}),
|
|
2335
|
+
[
|
|
2336
|
+
Schema.Record(
|
|
2337
|
+
Schema.String,
|
|
2338
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2339
|
+
),
|
|
2340
|
+
],
|
|
2341
|
+
).annotate({
|
|
2342
|
+
title: "payment_intent_data_params",
|
|
2343
|
+
description:
|
|
2344
|
+
"A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.",
|
|
2345
|
+
}),
|
|
2346
|
+
),
|
|
2347
|
+
payment_method_collection: Schema.optionalKey(
|
|
2348
|
+
Schema.Literals(["always", "if_required"]).annotate({
|
|
2349
|
+
description:
|
|
2350
|
+
"Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.\nThis may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).",
|
|
2351
|
+
}),
|
|
2352
|
+
),
|
|
2353
|
+
payment_method_configuration: Schema.optionalKey(
|
|
2354
|
+
Schema.String.annotate({
|
|
2355
|
+
description:
|
|
2356
|
+
"The ID of the payment method configuration to use with this Checkout session.",
|
|
2357
|
+
}).check(
|
|
2358
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2359
|
+
expected: "a string with at most 100 code points",
|
|
2360
|
+
}),
|
|
2361
|
+
),
|
|
2362
|
+
),
|
|
2363
|
+
payment_method_data: Schema.optionalKey(
|
|
2364
|
+
Schema.StructWithRest(
|
|
2365
|
+
Schema.Struct({
|
|
2366
|
+
allow_redisplay: Schema.optionalKey(
|
|
2367
|
+
Schema.Literals(["always", "limited", "unspecified"]),
|
|
2368
|
+
),
|
|
2369
|
+
}),
|
|
2370
|
+
[
|
|
2371
|
+
Schema.Record(
|
|
2372
|
+
Schema.String,
|
|
2373
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2374
|
+
),
|
|
2375
|
+
],
|
|
2376
|
+
).annotate({
|
|
2377
|
+
title: "payment_method_data_param",
|
|
2378
|
+
description:
|
|
2379
|
+
"This parameter allows you to set some attributes on the payment method created during a Checkout session.",
|
|
2380
|
+
}),
|
|
2381
|
+
),
|
|
2382
|
+
payment_method_options: Schema.optionalKey(
|
|
2383
|
+
Schema.StructWithRest(
|
|
2384
|
+
Schema.Struct({
|
|
2385
|
+
acss_debit: Schema.optionalKey(
|
|
2386
|
+
Schema.StructWithRest(
|
|
2387
|
+
Schema.Struct({
|
|
2388
|
+
currency: Schema.optionalKey(Schema.Literals(["cad", "usd"])),
|
|
2389
|
+
mandate_options: Schema.optionalKey(
|
|
2390
|
+
Schema.StructWithRest(
|
|
2391
|
+
Schema.Struct({
|
|
2392
|
+
custom_mandate_url: Schema.optionalKey(
|
|
2393
|
+
Schema.Union([Schema.String, Schema.Literal("")]),
|
|
2394
|
+
),
|
|
2395
|
+
default_for: Schema.optionalKey(
|
|
2396
|
+
Schema.Array(
|
|
2397
|
+
Schema.Literals(["invoice", "subscription"]),
|
|
2398
|
+
),
|
|
2399
|
+
),
|
|
2400
|
+
interval_description: Schema.optionalKey(
|
|
2401
|
+
Schema.String.check(
|
|
2402
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2403
|
+
expected: "a string with at most 500 code points",
|
|
2404
|
+
}),
|
|
2405
|
+
),
|
|
2406
|
+
),
|
|
2407
|
+
payment_schedule: Schema.optionalKey(
|
|
2408
|
+
Schema.Literals(["combined", "interval", "sporadic"]),
|
|
2409
|
+
),
|
|
2410
|
+
transaction_type: Schema.optionalKey(
|
|
2411
|
+
Schema.Literals(["business", "personal"]),
|
|
2412
|
+
),
|
|
2413
|
+
}),
|
|
2414
|
+
[
|
|
2415
|
+
Schema.Record(
|
|
2416
|
+
Schema.String,
|
|
2417
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2418
|
+
),
|
|
2419
|
+
],
|
|
2420
|
+
).annotate({ title: "mandate_options_param" }),
|
|
2421
|
+
),
|
|
2422
|
+
setup_future_usage: Schema.optionalKey(
|
|
2423
|
+
Schema.Literals(["none", "off_session", "on_session"]),
|
|
2424
|
+
),
|
|
2425
|
+
target_date: Schema.optionalKey(
|
|
2426
|
+
Schema.String.check(
|
|
2427
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2428
|
+
expected: "a string with at most 5000 code points",
|
|
2429
|
+
}),
|
|
2430
|
+
),
|
|
2431
|
+
),
|
|
2432
|
+
verification_method: Schema.optionalKey(
|
|
2433
|
+
Schema.Literals(["automatic", "instant", "microdeposits"]),
|
|
2434
|
+
),
|
|
2435
|
+
}),
|
|
2436
|
+
[
|
|
2437
|
+
Schema.Record(
|
|
2438
|
+
Schema.String,
|
|
2439
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2440
|
+
),
|
|
2441
|
+
],
|
|
2442
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2443
|
+
),
|
|
2444
|
+
affirm: Schema.optionalKey(
|
|
2445
|
+
Schema.StructWithRest(
|
|
2446
|
+
Schema.Struct({
|
|
2447
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2448
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2449
|
+
}),
|
|
2450
|
+
[
|
|
2451
|
+
Schema.Record(
|
|
2452
|
+
Schema.String,
|
|
2453
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2454
|
+
),
|
|
2455
|
+
],
|
|
2456
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2457
|
+
),
|
|
2458
|
+
afterpay_clearpay: Schema.optionalKey(
|
|
2459
|
+
Schema.StructWithRest(
|
|
2460
|
+
Schema.Struct({
|
|
2461
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2462
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2463
|
+
}),
|
|
2464
|
+
[
|
|
2465
|
+
Schema.Record(
|
|
2466
|
+
Schema.String,
|
|
2467
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2468
|
+
),
|
|
2469
|
+
],
|
|
2470
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2471
|
+
),
|
|
2472
|
+
alipay: Schema.optionalKey(
|
|
2473
|
+
Schema.StructWithRest(
|
|
2474
|
+
Schema.Struct({
|
|
2475
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2476
|
+
}),
|
|
2477
|
+
[
|
|
2478
|
+
Schema.Record(
|
|
2479
|
+
Schema.String,
|
|
2480
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2481
|
+
),
|
|
2482
|
+
],
|
|
2483
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2484
|
+
),
|
|
2485
|
+
alma: Schema.optionalKey(
|
|
2486
|
+
Schema.StructWithRest(
|
|
2487
|
+
Schema.Struct({
|
|
2488
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2489
|
+
}),
|
|
2490
|
+
[
|
|
2491
|
+
Schema.Record(
|
|
2492
|
+
Schema.String,
|
|
2493
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2494
|
+
),
|
|
2495
|
+
],
|
|
2496
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2497
|
+
),
|
|
2498
|
+
amazon_pay: Schema.optionalKey(
|
|
2499
|
+
Schema.StructWithRest(
|
|
2500
|
+
Schema.Struct({
|
|
2501
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2502
|
+
setup_future_usage: Schema.optionalKey(
|
|
2503
|
+
Schema.Literals(["none", "off_session"]),
|
|
2504
|
+
),
|
|
2505
|
+
}),
|
|
2506
|
+
[
|
|
2507
|
+
Schema.Record(
|
|
2508
|
+
Schema.String,
|
|
2509
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2510
|
+
),
|
|
2511
|
+
],
|
|
2512
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2513
|
+
),
|
|
2514
|
+
au_becs_debit: Schema.optionalKey(
|
|
2515
|
+
Schema.StructWithRest(
|
|
2516
|
+
Schema.Struct({
|
|
2517
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2518
|
+
target_date: Schema.optionalKey(
|
|
2519
|
+
Schema.String.check(
|
|
2520
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2521
|
+
expected: "a string with at most 5000 code points",
|
|
2522
|
+
}),
|
|
2523
|
+
),
|
|
2524
|
+
),
|
|
2525
|
+
}),
|
|
2526
|
+
[
|
|
2527
|
+
Schema.Record(
|
|
2528
|
+
Schema.String,
|
|
2529
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2530
|
+
),
|
|
2531
|
+
],
|
|
2532
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2533
|
+
),
|
|
2534
|
+
bacs_debit: Schema.optionalKey(
|
|
2535
|
+
Schema.StructWithRest(
|
|
2536
|
+
Schema.Struct({
|
|
2537
|
+
mandate_options: Schema.optionalKey(
|
|
2538
|
+
Schema.StructWithRest(
|
|
2539
|
+
Schema.Struct({
|
|
2540
|
+
reference_prefix: Schema.optionalKey(
|
|
2541
|
+
Schema.Union([
|
|
2542
|
+
Schema.String.check(
|
|
2543
|
+
Schema.isMaxCodePoints(12).annotate({
|
|
2544
|
+
expected: "a string with at most 12 code points",
|
|
2545
|
+
}),
|
|
2546
|
+
),
|
|
2547
|
+
Schema.Literal(""),
|
|
2548
|
+
]),
|
|
2549
|
+
),
|
|
2550
|
+
}),
|
|
2551
|
+
[
|
|
2552
|
+
Schema.Record(
|
|
2553
|
+
Schema.String,
|
|
2554
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2555
|
+
),
|
|
2556
|
+
],
|
|
2557
|
+
).annotate({
|
|
2558
|
+
title: "payment_method_options_mandate_options_param",
|
|
2559
|
+
}),
|
|
2560
|
+
),
|
|
2561
|
+
setup_future_usage: Schema.optionalKey(
|
|
2562
|
+
Schema.Literals(["none", "off_session", "on_session"]),
|
|
2563
|
+
),
|
|
2564
|
+
target_date: Schema.optionalKey(
|
|
2565
|
+
Schema.String.check(
|
|
2566
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2567
|
+
expected: "a string with at most 5000 code points",
|
|
2568
|
+
}),
|
|
2569
|
+
),
|
|
2570
|
+
),
|
|
2571
|
+
}),
|
|
2572
|
+
[
|
|
2573
|
+
Schema.Record(
|
|
2574
|
+
Schema.String,
|
|
2575
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2576
|
+
),
|
|
2577
|
+
],
|
|
2578
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2579
|
+
),
|
|
2580
|
+
bancontact: Schema.optionalKey(
|
|
2581
|
+
Schema.StructWithRest(
|
|
2582
|
+
Schema.Struct({
|
|
2583
|
+
setup_future_usage: Schema.optionalKey(
|
|
2584
|
+
Schema.Literals(["none", "off_session"]),
|
|
2585
|
+
),
|
|
2586
|
+
}),
|
|
2587
|
+
[
|
|
2588
|
+
Schema.Record(
|
|
2589
|
+
Schema.String,
|
|
2590
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2591
|
+
),
|
|
2592
|
+
],
|
|
2593
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2594
|
+
),
|
|
2595
|
+
billie: Schema.optionalKey(
|
|
2596
|
+
Schema.StructWithRest(
|
|
2597
|
+
Schema.Struct({
|
|
2598
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2599
|
+
}),
|
|
2600
|
+
[
|
|
2601
|
+
Schema.Record(
|
|
2602
|
+
Schema.String,
|
|
2603
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2604
|
+
),
|
|
2605
|
+
],
|
|
2606
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2607
|
+
),
|
|
2608
|
+
blik: Schema.optionalKey(
|
|
2609
|
+
Schema.StructWithRest(
|
|
2610
|
+
Schema.Struct({
|
|
2611
|
+
mandate_options: Schema.optionalKey(
|
|
2612
|
+
Schema.StructWithRest(
|
|
2613
|
+
Schema.Struct({
|
|
2614
|
+
expires_at: Schema.optionalKey(
|
|
2615
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
2616
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
2617
|
+
),
|
|
2618
|
+
),
|
|
2619
|
+
}),
|
|
2620
|
+
[
|
|
2621
|
+
Schema.Record(
|
|
2622
|
+
Schema.String,
|
|
2623
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2624
|
+
),
|
|
2625
|
+
],
|
|
2626
|
+
).annotate({
|
|
2627
|
+
title:
|
|
2628
|
+
"subscription_payment_method_options_mandate_options_param",
|
|
2629
|
+
}),
|
|
2630
|
+
),
|
|
2631
|
+
setup_future_usage: Schema.optionalKey(
|
|
2632
|
+
Schema.Literals(["", "none", "off_session"]),
|
|
2633
|
+
),
|
|
2634
|
+
}),
|
|
2635
|
+
[
|
|
2636
|
+
Schema.Record(
|
|
2637
|
+
Schema.String,
|
|
2638
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2639
|
+
),
|
|
2640
|
+
],
|
|
2641
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2642
|
+
),
|
|
2643
|
+
boleto: Schema.optionalKey(
|
|
2644
|
+
Schema.StructWithRest(
|
|
2645
|
+
Schema.Struct({
|
|
2646
|
+
expires_after_days: Schema.optionalKey(Schema.Int),
|
|
2647
|
+
setup_future_usage: Schema.optionalKey(
|
|
2648
|
+
Schema.Literals(["none", "off_session", "on_session"]),
|
|
2649
|
+
),
|
|
2650
|
+
}),
|
|
2651
|
+
[
|
|
2652
|
+
Schema.Record(
|
|
2653
|
+
Schema.String,
|
|
2654
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2655
|
+
),
|
|
2656
|
+
],
|
|
2657
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2658
|
+
),
|
|
2659
|
+
card: Schema.optionalKey(
|
|
2660
|
+
Schema.StructWithRest(
|
|
2661
|
+
Schema.Struct({
|
|
2662
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2663
|
+
installments: Schema.optionalKey(
|
|
2664
|
+
Schema.StructWithRest(
|
|
2665
|
+
Schema.Struct({
|
|
2666
|
+
enabled: Schema.optionalKey(Schema.Boolean),
|
|
2667
|
+
}),
|
|
2668
|
+
[
|
|
2669
|
+
Schema.Record(
|
|
2670
|
+
Schema.String,
|
|
2671
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2672
|
+
),
|
|
2673
|
+
],
|
|
2674
|
+
).annotate({ title: "installments_param" }),
|
|
2675
|
+
),
|
|
2676
|
+
request_extended_authorization: Schema.optionalKey(
|
|
2677
|
+
Schema.Literals(["if_available", "never"]),
|
|
2678
|
+
),
|
|
2679
|
+
request_incremental_authorization: Schema.optionalKey(
|
|
2680
|
+
Schema.Literals(["if_available", "never"]),
|
|
2681
|
+
),
|
|
2682
|
+
request_multicapture: Schema.optionalKey(
|
|
2683
|
+
Schema.Literals(["if_available", "never"]),
|
|
2684
|
+
),
|
|
2685
|
+
request_overcapture: Schema.optionalKey(
|
|
2686
|
+
Schema.Literals(["if_available", "never"]),
|
|
2687
|
+
),
|
|
2688
|
+
request_three_d_secure: Schema.optionalKey(
|
|
2689
|
+
Schema.Literals(["any", "automatic", "challenge"]),
|
|
2690
|
+
),
|
|
2691
|
+
restrictions: Schema.optionalKey(
|
|
2692
|
+
Schema.StructWithRest(
|
|
2693
|
+
Schema.Struct({
|
|
2694
|
+
brands_blocked: Schema.optionalKey(
|
|
2695
|
+
Schema.Array(
|
|
2696
|
+
Schema.Literals([
|
|
2697
|
+
"american_express",
|
|
2698
|
+
"discover_global_network",
|
|
2699
|
+
"mastercard",
|
|
2700
|
+
"visa",
|
|
2701
|
+
]),
|
|
2702
|
+
),
|
|
2703
|
+
),
|
|
2704
|
+
funding_types_blocked: Schema.optionalKey(
|
|
2705
|
+
Schema.Array(
|
|
2706
|
+
Schema.Literals(["credit", "debit", "prepaid"]),
|
|
2707
|
+
),
|
|
2708
|
+
),
|
|
2709
|
+
}),
|
|
2710
|
+
[
|
|
2711
|
+
Schema.Record(
|
|
2712
|
+
Schema.String,
|
|
2713
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2714
|
+
),
|
|
2715
|
+
],
|
|
2716
|
+
).annotate({ title: "restrictions_param" }),
|
|
2717
|
+
),
|
|
2718
|
+
setup_future_usage: Schema.optionalKey(
|
|
2719
|
+
Schema.Literals(["off_session", "on_session"]),
|
|
2720
|
+
),
|
|
2721
|
+
statement_descriptor_suffix_kana: Schema.optionalKey(
|
|
2722
|
+
Schema.String.check(
|
|
2723
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
2724
|
+
expected: "a string with at most 22 code points",
|
|
2725
|
+
}),
|
|
2726
|
+
),
|
|
2727
|
+
),
|
|
2728
|
+
statement_descriptor_suffix_kanji: Schema.optionalKey(
|
|
2729
|
+
Schema.String.check(
|
|
2730
|
+
Schema.isMaxCodePoints(17).annotate({
|
|
2731
|
+
expected: "a string with at most 17 code points",
|
|
2732
|
+
}),
|
|
2733
|
+
),
|
|
2734
|
+
),
|
|
2735
|
+
}),
|
|
2736
|
+
[
|
|
2737
|
+
Schema.Record(
|
|
2738
|
+
Schema.String,
|
|
2739
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2740
|
+
),
|
|
2741
|
+
],
|
|
2742
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2743
|
+
),
|
|
2744
|
+
cashapp: Schema.optionalKey(
|
|
2745
|
+
Schema.StructWithRest(
|
|
2746
|
+
Schema.Struct({
|
|
2747
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2748
|
+
setup_future_usage: Schema.optionalKey(
|
|
2749
|
+
Schema.Literals(["none", "off_session", "on_session"]),
|
|
2750
|
+
),
|
|
2751
|
+
}),
|
|
2752
|
+
[
|
|
2753
|
+
Schema.Record(
|
|
2754
|
+
Schema.String,
|
|
2755
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2756
|
+
),
|
|
2757
|
+
],
|
|
2758
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2759
|
+
),
|
|
2760
|
+
crypto: Schema.optionalKey(
|
|
2761
|
+
Schema.StructWithRest(
|
|
2762
|
+
Schema.Struct({
|
|
2763
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2764
|
+
}),
|
|
2765
|
+
[
|
|
2766
|
+
Schema.Record(
|
|
2767
|
+
Schema.String,
|
|
2768
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2769
|
+
),
|
|
2770
|
+
],
|
|
2771
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2772
|
+
),
|
|
2773
|
+
customer_balance: Schema.optionalKey(
|
|
2774
|
+
Schema.StructWithRest(
|
|
2775
|
+
Schema.Struct({
|
|
2776
|
+
bank_transfer: Schema.optionalKey(
|
|
2777
|
+
Schema.StructWithRest(
|
|
2778
|
+
Schema.Struct({
|
|
2779
|
+
eu_bank_transfer: Schema.optionalKey(
|
|
2780
|
+
Schema.StructWithRest(
|
|
2781
|
+
Schema.Struct({
|
|
2782
|
+
country: Schema.String.check(
|
|
2783
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2784
|
+
expected:
|
|
2785
|
+
"a string with at most 5000 code points",
|
|
2786
|
+
}),
|
|
2787
|
+
),
|
|
2788
|
+
}),
|
|
2789
|
+
[
|
|
2790
|
+
Schema.Record(
|
|
2791
|
+
Schema.String,
|
|
2792
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2793
|
+
),
|
|
2794
|
+
],
|
|
2795
|
+
).annotate({ title: "eu_bank_transfer_params" }),
|
|
2796
|
+
),
|
|
2797
|
+
requested_address_types: Schema.optionalKey(
|
|
2798
|
+
Schema.Array(
|
|
2799
|
+
Schema.Literals([
|
|
2800
|
+
"aba",
|
|
2801
|
+
"iban",
|
|
2802
|
+
"sepa",
|
|
2803
|
+
"sort_code",
|
|
2804
|
+
"spei",
|
|
2805
|
+
"swift",
|
|
2806
|
+
"zengin",
|
|
2807
|
+
]),
|
|
2808
|
+
),
|
|
2809
|
+
),
|
|
2810
|
+
type: Schema.Literals([
|
|
2811
|
+
"eu_bank_transfer",
|
|
2812
|
+
"gb_bank_transfer",
|
|
2813
|
+
"jp_bank_transfer",
|
|
2814
|
+
"mx_bank_transfer",
|
|
2815
|
+
"us_bank_transfer",
|
|
2816
|
+
]),
|
|
2817
|
+
}),
|
|
2818
|
+
[
|
|
2819
|
+
Schema.Record(
|
|
2820
|
+
Schema.String,
|
|
2821
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2822
|
+
),
|
|
2823
|
+
],
|
|
2824
|
+
).annotate({ title: "bank_transfer_param" }),
|
|
2825
|
+
),
|
|
2826
|
+
funding_type: Schema.optionalKey(
|
|
2827
|
+
Schema.Literal("bank_transfer"),
|
|
2828
|
+
),
|
|
2829
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2830
|
+
}),
|
|
2831
|
+
[
|
|
2832
|
+
Schema.Record(
|
|
2833
|
+
Schema.String,
|
|
2834
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2835
|
+
),
|
|
2836
|
+
],
|
|
2837
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2838
|
+
),
|
|
2839
|
+
demo_pay: Schema.optionalKey(
|
|
2840
|
+
Schema.StructWithRest(
|
|
2841
|
+
Schema.Struct({
|
|
2842
|
+
setup_future_usage: Schema.optionalKey(
|
|
2843
|
+
Schema.Literals(["none", "off_session"]),
|
|
2844
|
+
),
|
|
2845
|
+
}),
|
|
2846
|
+
[
|
|
2847
|
+
Schema.Record(
|
|
2848
|
+
Schema.String,
|
|
2849
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2850
|
+
),
|
|
2851
|
+
],
|
|
2852
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2853
|
+
),
|
|
2854
|
+
eps: Schema.optionalKey(
|
|
2855
|
+
Schema.StructWithRest(
|
|
2856
|
+
Schema.Struct({
|
|
2857
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2858
|
+
}),
|
|
2859
|
+
[
|
|
2860
|
+
Schema.Record(
|
|
2861
|
+
Schema.String,
|
|
2862
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2863
|
+
),
|
|
2864
|
+
],
|
|
2865
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2866
|
+
),
|
|
2867
|
+
fpx: Schema.optionalKey(
|
|
2868
|
+
Schema.StructWithRest(
|
|
2869
|
+
Schema.Struct({
|
|
2870
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2871
|
+
}),
|
|
2872
|
+
[
|
|
2873
|
+
Schema.Record(
|
|
2874
|
+
Schema.String,
|
|
2875
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2876
|
+
),
|
|
2877
|
+
],
|
|
2878
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2879
|
+
),
|
|
2880
|
+
giropay: Schema.optionalKey(
|
|
2881
|
+
Schema.StructWithRest(
|
|
2882
|
+
Schema.Struct({
|
|
2883
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2884
|
+
}),
|
|
2885
|
+
[
|
|
2886
|
+
Schema.Record(
|
|
2887
|
+
Schema.String,
|
|
2888
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2889
|
+
),
|
|
2890
|
+
],
|
|
2891
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2892
|
+
),
|
|
2893
|
+
grabpay: Schema.optionalKey(
|
|
2894
|
+
Schema.StructWithRest(
|
|
2895
|
+
Schema.Struct({
|
|
2896
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2897
|
+
}),
|
|
2898
|
+
[
|
|
2899
|
+
Schema.Record(
|
|
2900
|
+
Schema.String,
|
|
2901
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2902
|
+
),
|
|
2903
|
+
],
|
|
2904
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2905
|
+
),
|
|
2906
|
+
ideal: Schema.optionalKey(
|
|
2907
|
+
Schema.StructWithRest(
|
|
2908
|
+
Schema.Struct({
|
|
2909
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2910
|
+
}),
|
|
2911
|
+
[
|
|
2912
|
+
Schema.Record(
|
|
2913
|
+
Schema.String,
|
|
2914
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2915
|
+
),
|
|
2916
|
+
],
|
|
2917
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2918
|
+
),
|
|
2919
|
+
kakao_pay: Schema.optionalKey(
|
|
2920
|
+
Schema.StructWithRest(
|
|
2921
|
+
Schema.Struct({
|
|
2922
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2923
|
+
setup_future_usage: Schema.optionalKey(
|
|
2924
|
+
Schema.Literals(["none", "off_session"]),
|
|
2925
|
+
),
|
|
2926
|
+
}),
|
|
2927
|
+
[
|
|
2928
|
+
Schema.Record(
|
|
2929
|
+
Schema.String,
|
|
2930
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2931
|
+
),
|
|
2932
|
+
],
|
|
2933
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
2934
|
+
),
|
|
2935
|
+
klarna: Schema.optionalKey(
|
|
2936
|
+
Schema.StructWithRest(
|
|
2937
|
+
Schema.Struct({
|
|
2938
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
2939
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
2940
|
+
subscriptions: Schema.optionalKey(
|
|
2941
|
+
Schema.Union([
|
|
2942
|
+
Schema.Array(
|
|
2943
|
+
Schema.StructWithRest(
|
|
2944
|
+
Schema.Struct({
|
|
2945
|
+
interval: Schema.Literals([
|
|
2946
|
+
"day",
|
|
2947
|
+
"month",
|
|
2948
|
+
"week",
|
|
2949
|
+
"year",
|
|
2950
|
+
]),
|
|
2951
|
+
interval_count: Schema.optionalKey(Schema.Int),
|
|
2952
|
+
name: Schema.optionalKey(
|
|
2953
|
+
Schema.String.check(
|
|
2954
|
+
Schema.isMaxCodePoints(255).annotate({
|
|
2955
|
+
expected:
|
|
2956
|
+
"a string with at most 255 code points",
|
|
2957
|
+
}),
|
|
2958
|
+
),
|
|
2959
|
+
),
|
|
2960
|
+
next_billing: Schema.StructWithRest(
|
|
2961
|
+
Schema.Struct({
|
|
2962
|
+
amount: Schema.Int,
|
|
2963
|
+
date: Schema.String.check(
|
|
2964
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2965
|
+
expected:
|
|
2966
|
+
"a string with at most 5000 code points",
|
|
2967
|
+
}),
|
|
2968
|
+
),
|
|
2969
|
+
}),
|
|
2970
|
+
[
|
|
2971
|
+
Schema.Record(
|
|
2972
|
+
Schema.String,
|
|
2973
|
+
Schema.Json.annotate({
|
|
2974
|
+
expected: "JSON value",
|
|
2975
|
+
}),
|
|
2976
|
+
),
|
|
2977
|
+
],
|
|
2978
|
+
).annotate({
|
|
2979
|
+
title: "subscription_next_billing_param",
|
|
2980
|
+
}),
|
|
2981
|
+
reference: Schema.String.check(
|
|
2982
|
+
Schema.isMaxCodePoints(255).annotate({
|
|
2983
|
+
expected: "a string with at most 255 code points",
|
|
2984
|
+
}),
|
|
2985
|
+
),
|
|
2986
|
+
}),
|
|
2987
|
+
[
|
|
2988
|
+
Schema.Record(
|
|
2989
|
+
Schema.String,
|
|
2990
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2991
|
+
),
|
|
2992
|
+
],
|
|
2993
|
+
).annotate({ title: "setup_intent_subscription_param" }),
|
|
2994
|
+
),
|
|
2995
|
+
Schema.Literal(""),
|
|
2996
|
+
]),
|
|
2997
|
+
),
|
|
2998
|
+
}),
|
|
2999
|
+
[
|
|
3000
|
+
Schema.Record(
|
|
3001
|
+
Schema.String,
|
|
3002
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3003
|
+
),
|
|
3004
|
+
],
|
|
3005
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3006
|
+
),
|
|
3007
|
+
konbini: Schema.optionalKey(
|
|
3008
|
+
Schema.StructWithRest(
|
|
3009
|
+
Schema.Struct({
|
|
3010
|
+
expires_after_days: Schema.optionalKey(Schema.Int),
|
|
3011
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3012
|
+
}),
|
|
3013
|
+
[
|
|
3014
|
+
Schema.Record(
|
|
3015
|
+
Schema.String,
|
|
3016
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3017
|
+
),
|
|
3018
|
+
],
|
|
3019
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3020
|
+
),
|
|
3021
|
+
kr_card: Schema.optionalKey(
|
|
3022
|
+
Schema.StructWithRest(
|
|
3023
|
+
Schema.Struct({
|
|
3024
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3025
|
+
setup_future_usage: Schema.optionalKey(
|
|
3026
|
+
Schema.Literals(["none", "off_session"]),
|
|
3027
|
+
),
|
|
3028
|
+
}),
|
|
3029
|
+
[
|
|
3030
|
+
Schema.Record(
|
|
3031
|
+
Schema.String,
|
|
3032
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3033
|
+
),
|
|
3034
|
+
],
|
|
3035
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3036
|
+
),
|
|
3037
|
+
link: Schema.optionalKey(
|
|
3038
|
+
Schema.StructWithRest(
|
|
3039
|
+
Schema.Struct({
|
|
3040
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3041
|
+
setup_future_usage: Schema.optionalKey(
|
|
3042
|
+
Schema.Literals(["none", "off_session"]),
|
|
3043
|
+
),
|
|
3044
|
+
}),
|
|
3045
|
+
[
|
|
3046
|
+
Schema.Record(
|
|
3047
|
+
Schema.String,
|
|
3048
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3049
|
+
),
|
|
3050
|
+
],
|
|
3051
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3052
|
+
),
|
|
3053
|
+
mobilepay: Schema.optionalKey(
|
|
3054
|
+
Schema.StructWithRest(
|
|
3055
|
+
Schema.Struct({
|
|
3056
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3057
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3058
|
+
}),
|
|
3059
|
+
[
|
|
3060
|
+
Schema.Record(
|
|
3061
|
+
Schema.String,
|
|
3062
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3063
|
+
),
|
|
3064
|
+
],
|
|
3065
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3066
|
+
),
|
|
3067
|
+
multibanco: Schema.optionalKey(
|
|
3068
|
+
Schema.StructWithRest(
|
|
3069
|
+
Schema.Struct({
|
|
3070
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3071
|
+
}),
|
|
3072
|
+
[
|
|
3073
|
+
Schema.Record(
|
|
3074
|
+
Schema.String,
|
|
3075
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3076
|
+
),
|
|
3077
|
+
],
|
|
3078
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3079
|
+
),
|
|
3080
|
+
naver_pay: Schema.optionalKey(
|
|
3081
|
+
Schema.StructWithRest(
|
|
3082
|
+
Schema.Struct({
|
|
3083
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3084
|
+
setup_future_usage: Schema.optionalKey(
|
|
3085
|
+
Schema.Literals(["none", "off_session"]),
|
|
3086
|
+
),
|
|
3087
|
+
}),
|
|
3088
|
+
[
|
|
3089
|
+
Schema.Record(
|
|
3090
|
+
Schema.String,
|
|
3091
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3092
|
+
),
|
|
3093
|
+
],
|
|
3094
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3095
|
+
),
|
|
3096
|
+
oxxo: Schema.optionalKey(
|
|
3097
|
+
Schema.StructWithRest(
|
|
3098
|
+
Schema.Struct({
|
|
3099
|
+
expires_after_days: Schema.optionalKey(Schema.Int),
|
|
3100
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3101
|
+
}),
|
|
3102
|
+
[
|
|
3103
|
+
Schema.Record(
|
|
3104
|
+
Schema.String,
|
|
3105
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3106
|
+
),
|
|
3107
|
+
],
|
|
3108
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3109
|
+
),
|
|
3110
|
+
p24: Schema.optionalKey(
|
|
3111
|
+
Schema.StructWithRest(
|
|
3112
|
+
Schema.Struct({
|
|
3113
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3114
|
+
tos_shown_and_accepted: Schema.optionalKey(Schema.Boolean),
|
|
3115
|
+
}),
|
|
3116
|
+
[
|
|
3117
|
+
Schema.Record(
|
|
3118
|
+
Schema.String,
|
|
3119
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3120
|
+
),
|
|
3121
|
+
],
|
|
3122
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3123
|
+
),
|
|
3124
|
+
pay_by_bank: Schema.optionalKey(
|
|
3125
|
+
Schema.Record(
|
|
3126
|
+
Schema.String,
|
|
3127
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3128
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3129
|
+
),
|
|
3130
|
+
payco: Schema.optionalKey(
|
|
3131
|
+
Schema.StructWithRest(
|
|
3132
|
+
Schema.Struct({
|
|
3133
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3134
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3135
|
+
}),
|
|
3136
|
+
[
|
|
3137
|
+
Schema.Record(
|
|
3138
|
+
Schema.String,
|
|
3139
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3140
|
+
),
|
|
3141
|
+
],
|
|
3142
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3143
|
+
),
|
|
3144
|
+
paynow: Schema.optionalKey(
|
|
3145
|
+
Schema.StructWithRest(
|
|
3146
|
+
Schema.Struct({
|
|
3147
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3148
|
+
}),
|
|
3149
|
+
[
|
|
3150
|
+
Schema.Record(
|
|
3151
|
+
Schema.String,
|
|
3152
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3153
|
+
),
|
|
3154
|
+
],
|
|
3155
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3156
|
+
),
|
|
3157
|
+
paypal: Schema.optionalKey(
|
|
3158
|
+
Schema.StructWithRest(
|
|
3159
|
+
Schema.Struct({
|
|
3160
|
+
capture_method: Schema.optionalKey(
|
|
3161
|
+
Schema.Literals(["", "manual"]),
|
|
3162
|
+
),
|
|
3163
|
+
preferred_locale: Schema.optionalKey(
|
|
3164
|
+
Schema.Literals([
|
|
3165
|
+
"cs-CZ",
|
|
3166
|
+
"da-DK",
|
|
3167
|
+
"de-AT",
|
|
3168
|
+
"de-DE",
|
|
3169
|
+
"de-LU",
|
|
3170
|
+
"el-GR",
|
|
3171
|
+
"en-GB",
|
|
3172
|
+
"en-US",
|
|
3173
|
+
"es-ES",
|
|
3174
|
+
"fi-FI",
|
|
3175
|
+
"fr-BE",
|
|
3176
|
+
"fr-FR",
|
|
3177
|
+
"fr-LU",
|
|
3178
|
+
"hu-HU",
|
|
3179
|
+
"it-IT",
|
|
3180
|
+
"nl-BE",
|
|
3181
|
+
"nl-NL",
|
|
3182
|
+
"pl-PL",
|
|
3183
|
+
"pt-PT",
|
|
3184
|
+
"sk-SK",
|
|
3185
|
+
"sv-SE",
|
|
3186
|
+
]),
|
|
3187
|
+
),
|
|
3188
|
+
reference: Schema.optionalKey(
|
|
3189
|
+
Schema.String.check(
|
|
3190
|
+
Schema.isMaxCodePoints(127).annotate({
|
|
3191
|
+
expected: "a string with at most 127 code points",
|
|
3192
|
+
}),
|
|
3193
|
+
),
|
|
3194
|
+
),
|
|
3195
|
+
risk_correlation_id: Schema.optionalKey(
|
|
3196
|
+
Schema.String.check(
|
|
3197
|
+
Schema.isMaxCodePoints(32).annotate({
|
|
3198
|
+
expected: "a string with at most 32 code points",
|
|
3199
|
+
}),
|
|
3200
|
+
),
|
|
3201
|
+
),
|
|
3202
|
+
setup_future_usage: Schema.optionalKey(
|
|
3203
|
+
Schema.Literals(["", "none", "off_session"]),
|
|
3204
|
+
),
|
|
3205
|
+
}),
|
|
3206
|
+
[
|
|
3207
|
+
Schema.Record(
|
|
3208
|
+
Schema.String,
|
|
3209
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3210
|
+
),
|
|
3211
|
+
],
|
|
3212
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3213
|
+
),
|
|
3214
|
+
payto: Schema.optionalKey(
|
|
3215
|
+
Schema.StructWithRest(
|
|
3216
|
+
Schema.Struct({
|
|
3217
|
+
mandate_options: Schema.optionalKey(
|
|
3218
|
+
Schema.StructWithRest(
|
|
3219
|
+
Schema.Struct({
|
|
3220
|
+
amount: Schema.optionalKey(
|
|
3221
|
+
Schema.Union([Schema.Int, Schema.Literal("")]),
|
|
3222
|
+
),
|
|
3223
|
+
amount_type: Schema.optionalKey(
|
|
3224
|
+
Schema.Literals(["", "fixed", "maximum"]),
|
|
3225
|
+
),
|
|
3226
|
+
end_date: Schema.optionalKey(
|
|
3227
|
+
Schema.Union([
|
|
3228
|
+
Schema.String.check(
|
|
3229
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3230
|
+
expected:
|
|
3231
|
+
"a string with at most 5000 code points",
|
|
3232
|
+
}),
|
|
3233
|
+
),
|
|
3234
|
+
Schema.Literal(""),
|
|
3235
|
+
]),
|
|
3236
|
+
),
|
|
3237
|
+
payment_schedule: Schema.optionalKey(
|
|
3238
|
+
Schema.Literals([
|
|
3239
|
+
"",
|
|
3240
|
+
"adhoc",
|
|
3241
|
+
"annual",
|
|
3242
|
+
"daily",
|
|
3243
|
+
"fortnightly",
|
|
3244
|
+
"monthly",
|
|
3245
|
+
"quarterly",
|
|
3246
|
+
"semi_annual",
|
|
3247
|
+
"weekly",
|
|
3248
|
+
]),
|
|
3249
|
+
),
|
|
3250
|
+
payments_per_period: Schema.optionalKey(
|
|
3251
|
+
Schema.Union([Schema.Int, Schema.Literal("")]),
|
|
3252
|
+
),
|
|
3253
|
+
purpose: Schema.optionalKey(
|
|
3254
|
+
Schema.Literals([
|
|
3255
|
+
"",
|
|
3256
|
+
"dependant_support",
|
|
3257
|
+
"government",
|
|
3258
|
+
"loan",
|
|
3259
|
+
"mortgage",
|
|
3260
|
+
"other",
|
|
3261
|
+
"pension",
|
|
3262
|
+
"personal",
|
|
3263
|
+
"retail",
|
|
3264
|
+
"salary",
|
|
3265
|
+
"tax",
|
|
3266
|
+
"utility",
|
|
3267
|
+
]),
|
|
3268
|
+
),
|
|
3269
|
+
start_date: Schema.optionalKey(
|
|
3270
|
+
Schema.Union([
|
|
3271
|
+
Schema.String.check(
|
|
3272
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3273
|
+
expected:
|
|
3274
|
+
"a string with at most 5000 code points",
|
|
3275
|
+
}),
|
|
3276
|
+
),
|
|
3277
|
+
Schema.Literal(""),
|
|
3278
|
+
]),
|
|
3279
|
+
),
|
|
3280
|
+
}),
|
|
3281
|
+
[
|
|
3282
|
+
Schema.Record(
|
|
3283
|
+
Schema.String,
|
|
3284
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3285
|
+
),
|
|
3286
|
+
],
|
|
3287
|
+
).annotate({
|
|
3288
|
+
title:
|
|
3289
|
+
"setup_intent_payment_method_options_mandate_options_param",
|
|
3290
|
+
}),
|
|
3291
|
+
),
|
|
3292
|
+
setup_future_usage: Schema.optionalKey(
|
|
3293
|
+
Schema.Literals(["none", "off_session"]),
|
|
3294
|
+
),
|
|
3295
|
+
}),
|
|
3296
|
+
[
|
|
3297
|
+
Schema.Record(
|
|
3298
|
+
Schema.String,
|
|
3299
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3300
|
+
),
|
|
3301
|
+
],
|
|
3302
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3303
|
+
),
|
|
3304
|
+
pix: Schema.optionalKey(
|
|
3305
|
+
Schema.StructWithRest(
|
|
3306
|
+
Schema.Struct({
|
|
3307
|
+
amount_includes_iof: Schema.optionalKey(
|
|
3308
|
+
Schema.Literals(["always", "never"]),
|
|
3309
|
+
),
|
|
3310
|
+
expires_after_seconds: Schema.optionalKey(Schema.Int),
|
|
3311
|
+
mandate_options: Schema.optionalKey(
|
|
3312
|
+
Schema.StructWithRest(
|
|
3313
|
+
Schema.Struct({
|
|
3314
|
+
amount: Schema.optionalKey(Schema.Int),
|
|
3315
|
+
amount_includes_iof: Schema.optionalKey(
|
|
3316
|
+
Schema.Literals(["always", "never"]),
|
|
3317
|
+
),
|
|
3318
|
+
amount_type: Schema.optionalKey(
|
|
3319
|
+
Schema.Literals(["fixed", "maximum"]),
|
|
3320
|
+
),
|
|
3321
|
+
currency: Schema.optionalKey(
|
|
3322
|
+
Schema.String.annotate({ format: "currency" }),
|
|
3323
|
+
),
|
|
3324
|
+
end_date: Schema.optionalKey(
|
|
3325
|
+
Schema.String.check(
|
|
3326
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3327
|
+
expected: "a string with at most 5000 code points",
|
|
3328
|
+
}),
|
|
3329
|
+
),
|
|
3330
|
+
),
|
|
3331
|
+
payment_schedule: Schema.optionalKey(
|
|
3332
|
+
Schema.Literals([
|
|
3333
|
+
"halfyearly",
|
|
3334
|
+
"monthly",
|
|
3335
|
+
"quarterly",
|
|
3336
|
+
"weekly",
|
|
3337
|
+
"yearly",
|
|
3338
|
+
]),
|
|
3339
|
+
),
|
|
3340
|
+
reference: Schema.optionalKey(
|
|
3341
|
+
Schema.String.check(
|
|
3342
|
+
Schema.isMaxCodePoints(35).annotate({
|
|
3343
|
+
expected: "a string with at most 35 code points",
|
|
3344
|
+
}),
|
|
3345
|
+
),
|
|
3346
|
+
),
|
|
3347
|
+
start_date: Schema.optionalKey(
|
|
3348
|
+
Schema.String.check(
|
|
3349
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3350
|
+
expected: "a string with at most 5000 code points",
|
|
3351
|
+
}),
|
|
3352
|
+
),
|
|
3353
|
+
),
|
|
3354
|
+
}),
|
|
3355
|
+
[
|
|
3356
|
+
Schema.Record(
|
|
3357
|
+
Schema.String,
|
|
3358
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3359
|
+
),
|
|
3360
|
+
],
|
|
3361
|
+
).annotate({
|
|
3362
|
+
title: "payment_method_options_mandate_options_param",
|
|
3363
|
+
}),
|
|
3364
|
+
),
|
|
3365
|
+
setup_future_usage: Schema.optionalKey(
|
|
3366
|
+
Schema.Literals(["none", "off_session"]),
|
|
3367
|
+
),
|
|
3368
|
+
}),
|
|
3369
|
+
[
|
|
3370
|
+
Schema.Record(
|
|
3371
|
+
Schema.String,
|
|
3372
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3373
|
+
),
|
|
3374
|
+
],
|
|
3375
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3376
|
+
),
|
|
3377
|
+
revolut_pay: Schema.optionalKey(
|
|
3378
|
+
Schema.StructWithRest(
|
|
3379
|
+
Schema.Struct({
|
|
3380
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3381
|
+
setup_future_usage: Schema.optionalKey(
|
|
3382
|
+
Schema.Literals(["none", "off_session"]),
|
|
3383
|
+
),
|
|
3384
|
+
}),
|
|
3385
|
+
[
|
|
3386
|
+
Schema.Record(
|
|
3387
|
+
Schema.String,
|
|
3388
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3389
|
+
),
|
|
3390
|
+
],
|
|
3391
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3392
|
+
),
|
|
3393
|
+
samsung_pay: Schema.optionalKey(
|
|
3394
|
+
Schema.StructWithRest(
|
|
3395
|
+
Schema.Struct({
|
|
3396
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3397
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3398
|
+
}),
|
|
3399
|
+
[
|
|
3400
|
+
Schema.Record(
|
|
3401
|
+
Schema.String,
|
|
3402
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3403
|
+
),
|
|
3404
|
+
],
|
|
3405
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3406
|
+
),
|
|
3407
|
+
satispay: Schema.optionalKey(
|
|
3408
|
+
Schema.StructWithRest(
|
|
3409
|
+
Schema.Struct({
|
|
3410
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3411
|
+
}),
|
|
3412
|
+
[
|
|
3413
|
+
Schema.Record(
|
|
3414
|
+
Schema.String,
|
|
3415
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3416
|
+
),
|
|
3417
|
+
],
|
|
3418
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3419
|
+
),
|
|
3420
|
+
scalapay: Schema.optionalKey(
|
|
3421
|
+
Schema.StructWithRest(
|
|
3422
|
+
Schema.Struct({
|
|
3423
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3424
|
+
}),
|
|
3425
|
+
[
|
|
3426
|
+
Schema.Record(
|
|
3427
|
+
Schema.String,
|
|
3428
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3429
|
+
),
|
|
3430
|
+
],
|
|
3431
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3432
|
+
),
|
|
3433
|
+
sepa_debit: Schema.optionalKey(
|
|
3434
|
+
Schema.StructWithRest(
|
|
3435
|
+
Schema.Struct({
|
|
3436
|
+
mandate_options: Schema.optionalKey(
|
|
3437
|
+
Schema.StructWithRest(
|
|
3438
|
+
Schema.Struct({
|
|
3439
|
+
reference_prefix: Schema.optionalKey(
|
|
3440
|
+
Schema.Union([
|
|
3441
|
+
Schema.String.check(
|
|
3442
|
+
Schema.isMaxCodePoints(12).annotate({
|
|
3443
|
+
expected: "a string with at most 12 code points",
|
|
3444
|
+
}),
|
|
3445
|
+
),
|
|
3446
|
+
Schema.Literal(""),
|
|
3447
|
+
]),
|
|
3448
|
+
),
|
|
3449
|
+
}),
|
|
3450
|
+
[
|
|
3451
|
+
Schema.Record(
|
|
3452
|
+
Schema.String,
|
|
3453
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3454
|
+
),
|
|
3455
|
+
],
|
|
3456
|
+
).annotate({
|
|
3457
|
+
title: "payment_method_options_mandate_options_param",
|
|
3458
|
+
}),
|
|
3459
|
+
),
|
|
3460
|
+
setup_future_usage: Schema.optionalKey(
|
|
3461
|
+
Schema.Literals(["none", "off_session", "on_session"]),
|
|
3462
|
+
),
|
|
3463
|
+
target_date: Schema.optionalKey(
|
|
3464
|
+
Schema.String.check(
|
|
3465
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3466
|
+
expected: "a string with at most 5000 code points",
|
|
3467
|
+
}),
|
|
3468
|
+
),
|
|
3469
|
+
),
|
|
3470
|
+
}),
|
|
3471
|
+
[
|
|
3472
|
+
Schema.Record(
|
|
3473
|
+
Schema.String,
|
|
3474
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3475
|
+
),
|
|
3476
|
+
],
|
|
3477
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3478
|
+
),
|
|
3479
|
+
sequra: Schema.optionalKey(
|
|
3480
|
+
Schema.StructWithRest(
|
|
3481
|
+
Schema.Struct({
|
|
3482
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3483
|
+
}),
|
|
3484
|
+
[
|
|
3485
|
+
Schema.Record(
|
|
3486
|
+
Schema.String,
|
|
3487
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3488
|
+
),
|
|
3489
|
+
],
|
|
3490
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3491
|
+
),
|
|
3492
|
+
sofort: Schema.optionalKey(
|
|
3493
|
+
Schema.StructWithRest(
|
|
3494
|
+
Schema.Struct({
|
|
3495
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3496
|
+
}),
|
|
3497
|
+
[
|
|
3498
|
+
Schema.Record(
|
|
3499
|
+
Schema.String,
|
|
3500
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3501
|
+
),
|
|
3502
|
+
],
|
|
3503
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3504
|
+
),
|
|
3505
|
+
sunbit: Schema.optionalKey(
|
|
3506
|
+
Schema.StructWithRest(
|
|
3507
|
+
Schema.Struct({
|
|
3508
|
+
capture_method: Schema.optionalKey(Schema.Literal("manual")),
|
|
3509
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3510
|
+
}),
|
|
3511
|
+
[
|
|
3512
|
+
Schema.Record(
|
|
3513
|
+
Schema.String,
|
|
3514
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3515
|
+
),
|
|
3516
|
+
],
|
|
3517
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3518
|
+
),
|
|
3519
|
+
swish: Schema.optionalKey(
|
|
3520
|
+
Schema.StructWithRest(
|
|
3521
|
+
Schema.Struct({
|
|
3522
|
+
reference: Schema.optionalKey(
|
|
3523
|
+
Schema.String.check(
|
|
3524
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3525
|
+
expected: "a string with at most 5000 code points",
|
|
3526
|
+
}),
|
|
3527
|
+
),
|
|
3528
|
+
),
|
|
3529
|
+
}),
|
|
3530
|
+
[
|
|
3531
|
+
Schema.Record(
|
|
3532
|
+
Schema.String,
|
|
3533
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3534
|
+
),
|
|
3535
|
+
],
|
|
3536
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3537
|
+
),
|
|
3538
|
+
twint: Schema.optionalKey(
|
|
3539
|
+
Schema.StructWithRest(
|
|
3540
|
+
Schema.Struct({
|
|
3541
|
+
setup_future_usage: Schema.optionalKey(
|
|
3542
|
+
Schema.Literals(["none", "off_session"]),
|
|
3543
|
+
),
|
|
3544
|
+
}),
|
|
3545
|
+
[
|
|
3546
|
+
Schema.Record(
|
|
3547
|
+
Schema.String,
|
|
3548
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3549
|
+
),
|
|
3550
|
+
],
|
|
3551
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3552
|
+
),
|
|
3553
|
+
upi: Schema.optionalKey(
|
|
3554
|
+
Schema.StructWithRest(
|
|
3555
|
+
Schema.Struct({
|
|
3556
|
+
mandate_options: Schema.optionalKey(
|
|
3557
|
+
Schema.StructWithRest(
|
|
3558
|
+
Schema.Struct({
|
|
3559
|
+
amount: Schema.optionalKey(Schema.Int),
|
|
3560
|
+
amount_type: Schema.optionalKey(
|
|
3561
|
+
Schema.Literals(["fixed", "maximum"]),
|
|
3562
|
+
),
|
|
3563
|
+
description: Schema.optionalKey(
|
|
3564
|
+
Schema.String.check(
|
|
3565
|
+
Schema.isMaxCodePoints(20).annotate({
|
|
3566
|
+
expected: "a string with at most 20 code points",
|
|
3567
|
+
}),
|
|
3568
|
+
),
|
|
3569
|
+
),
|
|
3570
|
+
end_date: Schema.optionalKey(
|
|
3571
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
3572
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
3573
|
+
),
|
|
3574
|
+
),
|
|
3575
|
+
}),
|
|
3576
|
+
[
|
|
3577
|
+
Schema.Record(
|
|
3578
|
+
Schema.String,
|
|
3579
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3580
|
+
),
|
|
3581
|
+
],
|
|
3582
|
+
).annotate({
|
|
3583
|
+
title: "payment_method_options_mandate_options_param",
|
|
3584
|
+
}),
|
|
3585
|
+
),
|
|
3586
|
+
setup_future_usage: Schema.optionalKey(
|
|
3587
|
+
Schema.Literals(["", "none", "off_session", "on_session"]),
|
|
3588
|
+
),
|
|
3589
|
+
}),
|
|
3590
|
+
[
|
|
3591
|
+
Schema.Record(
|
|
3592
|
+
Schema.String,
|
|
3593
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3594
|
+
),
|
|
3595
|
+
],
|
|
3596
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3597
|
+
),
|
|
3598
|
+
us_bank_account: Schema.optionalKey(
|
|
3599
|
+
Schema.StructWithRest(
|
|
3600
|
+
Schema.Struct({
|
|
3601
|
+
financial_connections: Schema.optionalKey(
|
|
3602
|
+
Schema.StructWithRest(
|
|
3603
|
+
Schema.Struct({
|
|
3604
|
+
permissions: Schema.optionalKey(
|
|
3605
|
+
Schema.Array(
|
|
3606
|
+
Schema.Literals([
|
|
3607
|
+
"balances",
|
|
3608
|
+
"ownership",
|
|
3609
|
+
"payment_method",
|
|
3610
|
+
"transactions",
|
|
3611
|
+
]),
|
|
3612
|
+
),
|
|
3613
|
+
),
|
|
3614
|
+
prefetch: Schema.optionalKey(
|
|
3615
|
+
Schema.Array(
|
|
3616
|
+
Schema.Literals([
|
|
3617
|
+
"balances",
|
|
3618
|
+
"ownership",
|
|
3619
|
+
"transactions",
|
|
3620
|
+
]),
|
|
3621
|
+
),
|
|
3622
|
+
),
|
|
3623
|
+
}),
|
|
3624
|
+
[
|
|
3625
|
+
Schema.Record(
|
|
3626
|
+
Schema.String,
|
|
3627
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3628
|
+
),
|
|
3629
|
+
],
|
|
3630
|
+
).annotate({ title: "linked_account_options_param" }),
|
|
3631
|
+
),
|
|
3632
|
+
setup_future_usage: Schema.optionalKey(
|
|
3633
|
+
Schema.Literals(["none", "off_session", "on_session"]),
|
|
3634
|
+
),
|
|
3635
|
+
target_date: Schema.optionalKey(
|
|
3636
|
+
Schema.String.check(
|
|
3637
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3638
|
+
expected: "a string with at most 5000 code points",
|
|
3639
|
+
}),
|
|
3640
|
+
),
|
|
3641
|
+
),
|
|
3642
|
+
verification_method: Schema.optionalKey(
|
|
3643
|
+
Schema.Literals(["automatic", "instant"]),
|
|
3644
|
+
),
|
|
3645
|
+
}),
|
|
3646
|
+
[
|
|
3647
|
+
Schema.Record(
|
|
3648
|
+
Schema.String,
|
|
3649
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3650
|
+
),
|
|
3651
|
+
],
|
|
3652
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3653
|
+
),
|
|
3654
|
+
wechat_pay: Schema.optionalKey(
|
|
3655
|
+
Schema.StructWithRest(
|
|
3656
|
+
Schema.Struct({
|
|
3657
|
+
app_id: Schema.optionalKey(
|
|
3658
|
+
Schema.String.check(
|
|
3659
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3660
|
+
expected: "a string with at most 5000 code points",
|
|
3661
|
+
}),
|
|
3662
|
+
),
|
|
3663
|
+
),
|
|
3664
|
+
client: Schema.Literals(["android", "ios", "web"]),
|
|
3665
|
+
setup_future_usage: Schema.optionalKey(Schema.Literal("none")),
|
|
3666
|
+
}),
|
|
3667
|
+
[
|
|
3668
|
+
Schema.Record(
|
|
3669
|
+
Schema.String,
|
|
3670
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3671
|
+
),
|
|
3672
|
+
],
|
|
3673
|
+
).annotate({ title: "payment_method_options_param" }),
|
|
3674
|
+
),
|
|
3675
|
+
}),
|
|
3676
|
+
[
|
|
3677
|
+
Schema.Record(
|
|
3678
|
+
Schema.String,
|
|
3679
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3680
|
+
),
|
|
3681
|
+
],
|
|
3682
|
+
).annotate({
|
|
3683
|
+
title: "payment_method_options_param",
|
|
3684
|
+
description: "Payment-method-specific configuration.",
|
|
3685
|
+
}),
|
|
3686
|
+
),
|
|
3687
|
+
permissions: Schema.optionalKey(
|
|
3688
|
+
Schema.StructWithRest(
|
|
3689
|
+
Schema.Struct({
|
|
3690
|
+
update_shipping_details: Schema.optionalKey(
|
|
3691
|
+
Schema.Literals(["client_only", "server_only"]),
|
|
3692
|
+
),
|
|
3693
|
+
}),
|
|
3694
|
+
[
|
|
3695
|
+
Schema.Record(
|
|
3696
|
+
Schema.String,
|
|
3697
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3698
|
+
),
|
|
3699
|
+
],
|
|
3700
|
+
).annotate({
|
|
3701
|
+
title: "permissions_param",
|
|
3702
|
+
description:
|
|
3703
|
+
"This property is used to set up permissions for various actions (for example, update) on the CheckoutSession object. Can only be set when creating `embedded_page` or `elements` sessions.\n\nFor specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.",
|
|
3704
|
+
}),
|
|
3705
|
+
),
|
|
3706
|
+
phone_number_collection: Schema.optionalKey(
|
|
3707
|
+
Schema.StructWithRest(Schema.Struct({ enabled: Schema.Boolean }), [
|
|
3708
|
+
Schema.Record(
|
|
3709
|
+
Schema.String,
|
|
3710
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3711
|
+
),
|
|
3712
|
+
]).annotate({
|
|
3713
|
+
title: "phone_number_collection_params",
|
|
3714
|
+
description:
|
|
3715
|
+
"Controls phone number collection settings for the session.\n\nWe recommend that you review your privacy policy and check with your legal contacts\nbefore using this feature. Learn more about [collecting phone numbers with Checkout](https://docs.stripe.com/payments/checkout/phone-numbers).",
|
|
3716
|
+
}),
|
|
3717
|
+
),
|
|
3718
|
+
redirect_on_completion: Schema.optionalKey(
|
|
3719
|
+
Schema.Literals(["always", "if_required", "never"]).annotate({
|
|
3720
|
+
description:
|
|
3721
|
+
"This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.",
|
|
3722
|
+
}),
|
|
3723
|
+
),
|
|
3724
|
+
return_url: Schema.optionalKey(
|
|
3725
|
+
Schema.String.annotate({
|
|
3726
|
+
description:
|
|
3727
|
+
"The URL to redirect your customer back to after they authenticate or cancel their payment on the\npayment method's app or site. This parameter is required if `ui_mode` is `embedded_page` or `elements`\nand redirect-based payment methods are enabled on the session.",
|
|
3728
|
+
}),
|
|
3729
|
+
),
|
|
3730
|
+
saved_payment_method_options: Schema.optionalKey(
|
|
3731
|
+
Schema.StructWithRest(
|
|
3732
|
+
Schema.Struct({
|
|
3733
|
+
allow_redisplay_filters: Schema.optionalKey(
|
|
3734
|
+
Schema.Array(Schema.Literals(["always", "limited", "unspecified"])),
|
|
3735
|
+
),
|
|
3736
|
+
payment_method_remove: Schema.optionalKey(
|
|
3737
|
+
Schema.Literals(["disabled", "enabled"]),
|
|
3738
|
+
),
|
|
3739
|
+
payment_method_save: Schema.optionalKey(
|
|
3740
|
+
Schema.Literals(["disabled", "enabled"]),
|
|
3741
|
+
),
|
|
3742
|
+
}),
|
|
3743
|
+
[
|
|
3744
|
+
Schema.Record(
|
|
3745
|
+
Schema.String,
|
|
3746
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3747
|
+
),
|
|
3748
|
+
],
|
|
3749
|
+
).annotate({
|
|
3750
|
+
title: "saved_payment_method_options_param",
|
|
3751
|
+
description:
|
|
3752
|
+
"Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.",
|
|
3753
|
+
}),
|
|
3754
|
+
),
|
|
3755
|
+
setup_intent_data: Schema.optionalKey(
|
|
3756
|
+
Schema.StructWithRest(
|
|
3757
|
+
Schema.Struct({
|
|
3758
|
+
description: Schema.optionalKey(
|
|
3759
|
+
Schema.String.check(
|
|
3760
|
+
Schema.isMaxCodePoints(1000).annotate({
|
|
3761
|
+
expected: "a string with at most 1000 code points",
|
|
3762
|
+
}),
|
|
3763
|
+
),
|
|
3764
|
+
),
|
|
3765
|
+
metadata: Schema.optionalKey(
|
|
3766
|
+
Schema.Record(Schema.String, Schema.String),
|
|
3767
|
+
),
|
|
3768
|
+
on_behalf_of: Schema.optionalKey(Schema.String),
|
|
3769
|
+
}),
|
|
3770
|
+
[
|
|
3771
|
+
Schema.Record(
|
|
3772
|
+
Schema.String,
|
|
3773
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3774
|
+
),
|
|
3775
|
+
],
|
|
3776
|
+
).annotate({
|
|
3777
|
+
title: "setup_intent_data_param",
|
|
3778
|
+
description:
|
|
3779
|
+
"A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.",
|
|
3780
|
+
}),
|
|
3781
|
+
),
|
|
3782
|
+
shipping_address_collection: Schema.optionalKey(
|
|
3783
|
+
Schema.StructWithRest(
|
|
3784
|
+
Schema.Struct({
|
|
3785
|
+
allowed_countries: Schema.Array(
|
|
3786
|
+
Schema.Literals([
|
|
3787
|
+
"AC",
|
|
3788
|
+
"AD",
|
|
3789
|
+
"AE",
|
|
3790
|
+
"AF",
|
|
3791
|
+
"AG",
|
|
3792
|
+
"AI",
|
|
3793
|
+
"AL",
|
|
3794
|
+
"AM",
|
|
3795
|
+
"AO",
|
|
3796
|
+
"AQ",
|
|
3797
|
+
"AR",
|
|
3798
|
+
"AT",
|
|
3799
|
+
"AU",
|
|
3800
|
+
"AW",
|
|
3801
|
+
"AX",
|
|
3802
|
+
"AZ",
|
|
3803
|
+
"BA",
|
|
3804
|
+
"BB",
|
|
3805
|
+
"BD",
|
|
3806
|
+
"BE",
|
|
3807
|
+
"BF",
|
|
3808
|
+
"BG",
|
|
3809
|
+
"BH",
|
|
3810
|
+
"BI",
|
|
3811
|
+
"BJ",
|
|
3812
|
+
"BL",
|
|
3813
|
+
"BM",
|
|
3814
|
+
"BN",
|
|
3815
|
+
"BO",
|
|
3816
|
+
"BQ",
|
|
3817
|
+
"BR",
|
|
3818
|
+
"BS",
|
|
3819
|
+
"BT",
|
|
3820
|
+
"BV",
|
|
3821
|
+
"BW",
|
|
3822
|
+
"BY",
|
|
3823
|
+
"BZ",
|
|
3824
|
+
"CA",
|
|
3825
|
+
"CD",
|
|
3826
|
+
"CF",
|
|
3827
|
+
"CG",
|
|
3828
|
+
"CH",
|
|
3829
|
+
"CI",
|
|
3830
|
+
"CK",
|
|
3831
|
+
"CL",
|
|
3832
|
+
"CM",
|
|
3833
|
+
"CN",
|
|
3834
|
+
"CO",
|
|
3835
|
+
"CR",
|
|
3836
|
+
"CV",
|
|
3837
|
+
"CW",
|
|
3838
|
+
"CY",
|
|
3839
|
+
"CZ",
|
|
3840
|
+
"DE",
|
|
3841
|
+
"DJ",
|
|
3842
|
+
"DK",
|
|
3843
|
+
"DM",
|
|
3844
|
+
"DO",
|
|
3845
|
+
"DZ",
|
|
3846
|
+
"EC",
|
|
3847
|
+
"EE",
|
|
3848
|
+
"EG",
|
|
3849
|
+
"EH",
|
|
3850
|
+
"ER",
|
|
3851
|
+
"ES",
|
|
3852
|
+
"ET",
|
|
3853
|
+
"FI",
|
|
3854
|
+
"FJ",
|
|
3855
|
+
"FK",
|
|
3856
|
+
"FO",
|
|
3857
|
+
"FR",
|
|
3858
|
+
"GA",
|
|
3859
|
+
"GB",
|
|
3860
|
+
"GD",
|
|
3861
|
+
"GE",
|
|
3862
|
+
"GF",
|
|
3863
|
+
"GG",
|
|
3864
|
+
"GH",
|
|
3865
|
+
"GI",
|
|
3866
|
+
"GL",
|
|
3867
|
+
"GM",
|
|
3868
|
+
"GN",
|
|
3869
|
+
"GP",
|
|
3870
|
+
"GQ",
|
|
3871
|
+
"GR",
|
|
3872
|
+
"GS",
|
|
3873
|
+
"GT",
|
|
3874
|
+
"GU",
|
|
3875
|
+
"GW",
|
|
3876
|
+
"GY",
|
|
3877
|
+
"HK",
|
|
3878
|
+
"HN",
|
|
3879
|
+
"HR",
|
|
3880
|
+
"HT",
|
|
3881
|
+
"HU",
|
|
3882
|
+
"ID",
|
|
3883
|
+
"IE",
|
|
3884
|
+
"IL",
|
|
3885
|
+
"IM",
|
|
3886
|
+
"IN",
|
|
3887
|
+
"IO",
|
|
3888
|
+
"IQ",
|
|
3889
|
+
"IS",
|
|
3890
|
+
"IT",
|
|
3891
|
+
"JE",
|
|
3892
|
+
"JM",
|
|
3893
|
+
"JO",
|
|
3894
|
+
"JP",
|
|
3895
|
+
"KE",
|
|
3896
|
+
"KG",
|
|
3897
|
+
"KH",
|
|
3898
|
+
"KI",
|
|
3899
|
+
"KM",
|
|
3900
|
+
"KN",
|
|
3901
|
+
"KR",
|
|
3902
|
+
"KW",
|
|
3903
|
+
"KY",
|
|
3904
|
+
"KZ",
|
|
3905
|
+
"LA",
|
|
3906
|
+
"LB",
|
|
3907
|
+
"LC",
|
|
3908
|
+
"LI",
|
|
3909
|
+
"LK",
|
|
3910
|
+
"LR",
|
|
3911
|
+
"LS",
|
|
3912
|
+
"LT",
|
|
3913
|
+
"LU",
|
|
3914
|
+
"LV",
|
|
3915
|
+
"LY",
|
|
3916
|
+
"MA",
|
|
3917
|
+
"MC",
|
|
3918
|
+
"MD",
|
|
3919
|
+
"ME",
|
|
3920
|
+
"MF",
|
|
3921
|
+
"MG",
|
|
3922
|
+
"MK",
|
|
3923
|
+
"ML",
|
|
3924
|
+
"MM",
|
|
3925
|
+
"MN",
|
|
3926
|
+
"MO",
|
|
3927
|
+
"MQ",
|
|
3928
|
+
"MR",
|
|
3929
|
+
"MS",
|
|
3930
|
+
"MT",
|
|
3931
|
+
"MU",
|
|
3932
|
+
"MV",
|
|
3933
|
+
"MW",
|
|
3934
|
+
"MX",
|
|
3935
|
+
"MY",
|
|
3936
|
+
"MZ",
|
|
3937
|
+
"NA",
|
|
3938
|
+
"NC",
|
|
3939
|
+
"NE",
|
|
3940
|
+
"NG",
|
|
3941
|
+
"NI",
|
|
3942
|
+
"NL",
|
|
3943
|
+
"NO",
|
|
3944
|
+
"NP",
|
|
3945
|
+
"NR",
|
|
3946
|
+
"NU",
|
|
3947
|
+
"NZ",
|
|
3948
|
+
"OM",
|
|
3949
|
+
"PA",
|
|
3950
|
+
"PE",
|
|
3951
|
+
"PF",
|
|
3952
|
+
"PG",
|
|
3953
|
+
"PH",
|
|
3954
|
+
"PK",
|
|
3955
|
+
"PL",
|
|
3956
|
+
"PM",
|
|
3957
|
+
"PN",
|
|
3958
|
+
"PR",
|
|
3959
|
+
"PS",
|
|
3960
|
+
"PT",
|
|
3961
|
+
"PY",
|
|
3962
|
+
"QA",
|
|
3963
|
+
"RE",
|
|
3964
|
+
"RO",
|
|
3965
|
+
"RS",
|
|
3966
|
+
"RU",
|
|
3967
|
+
"RW",
|
|
3968
|
+
"SA",
|
|
3969
|
+
"SB",
|
|
3970
|
+
"SC",
|
|
3971
|
+
"SD",
|
|
3972
|
+
"SE",
|
|
3973
|
+
"SG",
|
|
3974
|
+
"SH",
|
|
3975
|
+
"SI",
|
|
3976
|
+
"SJ",
|
|
3977
|
+
"SK",
|
|
3978
|
+
"SL",
|
|
3979
|
+
"SM",
|
|
3980
|
+
"SN",
|
|
3981
|
+
"SO",
|
|
3982
|
+
"SR",
|
|
3983
|
+
"SS",
|
|
3984
|
+
"ST",
|
|
3985
|
+
"SV",
|
|
3986
|
+
"SX",
|
|
3987
|
+
"SZ",
|
|
3988
|
+
"TA",
|
|
3989
|
+
"TC",
|
|
3990
|
+
"TD",
|
|
3991
|
+
"TF",
|
|
3992
|
+
"TG",
|
|
3993
|
+
"TH",
|
|
3994
|
+
"TJ",
|
|
3995
|
+
"TK",
|
|
3996
|
+
"TL",
|
|
3997
|
+
"TM",
|
|
3998
|
+
"TN",
|
|
3999
|
+
"TO",
|
|
4000
|
+
"TR",
|
|
4001
|
+
"TT",
|
|
4002
|
+
"TV",
|
|
4003
|
+
"TW",
|
|
4004
|
+
"TZ",
|
|
4005
|
+
"UA",
|
|
4006
|
+
"UG",
|
|
4007
|
+
"US",
|
|
4008
|
+
"UY",
|
|
4009
|
+
"UZ",
|
|
4010
|
+
"VA",
|
|
4011
|
+
"VC",
|
|
4012
|
+
"VE",
|
|
4013
|
+
"VG",
|
|
4014
|
+
"VN",
|
|
4015
|
+
"VU",
|
|
4016
|
+
"WF",
|
|
4017
|
+
"WS",
|
|
4018
|
+
"XK",
|
|
4019
|
+
"YE",
|
|
4020
|
+
"YT",
|
|
4021
|
+
"ZA",
|
|
4022
|
+
"ZM",
|
|
4023
|
+
"ZW",
|
|
4024
|
+
"ZZ",
|
|
4025
|
+
]),
|
|
4026
|
+
),
|
|
4027
|
+
}),
|
|
4028
|
+
[
|
|
4029
|
+
Schema.Record(
|
|
4030
|
+
Schema.String,
|
|
4031
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4032
|
+
),
|
|
4033
|
+
],
|
|
4034
|
+
).annotate({
|
|
4035
|
+
title: "shipping_address_collection_params",
|
|
4036
|
+
description:
|
|
4037
|
+
"When set, provides configuration for Checkout to collect a shipping address from a customer.",
|
|
4038
|
+
}),
|
|
4039
|
+
),
|
|
4040
|
+
shipping_options: Schema.optionalKey(
|
|
4041
|
+
Schema.Array(
|
|
4042
|
+
Schema.StructWithRest(
|
|
4043
|
+
Schema.Struct({
|
|
4044
|
+
shipping_rate: Schema.optionalKey(
|
|
4045
|
+
StripeResourceEntityInputAlternatives_19,
|
|
4046
|
+
),
|
|
4047
|
+
shipping_rate_data: Schema.optionalKey(
|
|
4048
|
+
Schema.StructWithRest(
|
|
4049
|
+
Schema.Struct({
|
|
4050
|
+
delivery_estimate: Schema.optionalKey(
|
|
4051
|
+
Schema.StructWithRest(
|
|
4052
|
+
Schema.Struct({
|
|
4053
|
+
maximum: Schema.optionalKey(
|
|
4054
|
+
Schema.StructWithRest(
|
|
4055
|
+
Schema.Struct({
|
|
4056
|
+
unit: Schema.Literals([
|
|
4057
|
+
"business_day",
|
|
4058
|
+
"day",
|
|
4059
|
+
"hour",
|
|
4060
|
+
"month",
|
|
4061
|
+
"week",
|
|
4062
|
+
]),
|
|
4063
|
+
value: Schema.Int,
|
|
4064
|
+
}),
|
|
4065
|
+
[
|
|
4066
|
+
Schema.Record(
|
|
4067
|
+
Schema.String,
|
|
4068
|
+
Schema.Json.annotate({
|
|
4069
|
+
expected: "JSON value",
|
|
4070
|
+
}),
|
|
4071
|
+
),
|
|
4072
|
+
],
|
|
4073
|
+
).annotate({ title: "delivery_estimate_bound" }),
|
|
4074
|
+
),
|
|
4075
|
+
minimum: Schema.optionalKey(
|
|
4076
|
+
Schema.StructWithRest(
|
|
4077
|
+
Schema.Struct({
|
|
4078
|
+
unit: Schema.Literals([
|
|
4079
|
+
"business_day",
|
|
4080
|
+
"day",
|
|
4081
|
+
"hour",
|
|
4082
|
+
"month",
|
|
4083
|
+
"week",
|
|
4084
|
+
]),
|
|
4085
|
+
value: Schema.Int,
|
|
4086
|
+
}),
|
|
4087
|
+
[
|
|
4088
|
+
Schema.Record(
|
|
4089
|
+
Schema.String,
|
|
4090
|
+
Schema.Json.annotate({
|
|
4091
|
+
expected: "JSON value",
|
|
4092
|
+
}),
|
|
4093
|
+
),
|
|
4094
|
+
],
|
|
4095
|
+
).annotate({ title: "delivery_estimate_bound" }),
|
|
4096
|
+
),
|
|
4097
|
+
}),
|
|
4098
|
+
[
|
|
4099
|
+
Schema.Record(
|
|
4100
|
+
Schema.String,
|
|
4101
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4102
|
+
),
|
|
4103
|
+
],
|
|
4104
|
+
).annotate({ title: "delivery_estimate" }),
|
|
4105
|
+
),
|
|
4106
|
+
display_name: Schema.String.check(
|
|
4107
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
4108
|
+
expected: "a string with at most 100 code points",
|
|
4109
|
+
}),
|
|
4110
|
+
),
|
|
4111
|
+
fixed_amount: Schema.optionalKey(
|
|
4112
|
+
Schema.StructWithRest(
|
|
4113
|
+
Schema.Struct({
|
|
4114
|
+
amount: Schema.Int,
|
|
4115
|
+
currency: Schema.String.annotate({
|
|
4116
|
+
format: "currency",
|
|
4117
|
+
}),
|
|
4118
|
+
currency_options: Schema.optionalKey(
|
|
4119
|
+
Schema.Record(
|
|
4120
|
+
Schema.String,
|
|
4121
|
+
Schema.StructWithRest(
|
|
4122
|
+
Schema.Struct({
|
|
4123
|
+
amount: Schema.Int,
|
|
4124
|
+
tax_behavior: Schema.optionalKey(
|
|
4125
|
+
Schema.Literals([
|
|
4126
|
+
"exclusive",
|
|
4127
|
+
"inclusive",
|
|
4128
|
+
"unspecified",
|
|
4129
|
+
]),
|
|
4130
|
+
),
|
|
4131
|
+
}),
|
|
4132
|
+
[
|
|
4133
|
+
Schema.Record(
|
|
4134
|
+
Schema.String,
|
|
4135
|
+
Schema.Json.annotate({
|
|
4136
|
+
expected: "JSON value",
|
|
4137
|
+
}),
|
|
4138
|
+
),
|
|
4139
|
+
],
|
|
4140
|
+
).annotate({ title: "currency_option" }),
|
|
4141
|
+
),
|
|
4142
|
+
),
|
|
4143
|
+
}),
|
|
4144
|
+
[
|
|
4145
|
+
Schema.Record(
|
|
4146
|
+
Schema.String,
|
|
4147
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4148
|
+
),
|
|
4149
|
+
],
|
|
4150
|
+
).annotate({ title: "fixed_amount" }),
|
|
4151
|
+
),
|
|
4152
|
+
metadata: Schema.optionalKey(
|
|
4153
|
+
Schema.Record(Schema.String, Schema.String),
|
|
4154
|
+
),
|
|
4155
|
+
tax_behavior: Schema.optionalKey(
|
|
4156
|
+
Schema.Literals(["exclusive", "inclusive", "unspecified"]),
|
|
4157
|
+
),
|
|
4158
|
+
tax_code: Schema.optionalKey(Schema.String),
|
|
4159
|
+
type: Schema.optionalKey(Schema.Literal("fixed_amount")),
|
|
4160
|
+
}),
|
|
4161
|
+
[
|
|
4162
|
+
Schema.Record(
|
|
4163
|
+
Schema.String,
|
|
4164
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4165
|
+
),
|
|
4166
|
+
],
|
|
4167
|
+
).annotate({ title: "create_params" }),
|
|
4168
|
+
),
|
|
4169
|
+
}),
|
|
4170
|
+
[
|
|
4171
|
+
Schema.Record(
|
|
4172
|
+
Schema.String,
|
|
4173
|
+
Schema.Union([
|
|
4174
|
+
ResourceInputJsonSchema,
|
|
4175
|
+
StripeResourceEntityInputAlternatives_19,
|
|
4176
|
+
]),
|
|
4177
|
+
),
|
|
4178
|
+
],
|
|
4179
|
+
).annotate({ title: "shipping_option_params" }),
|
|
4180
|
+
).annotate({
|
|
4181
|
+
description:
|
|
4182
|
+
"The shipping rate options to apply to this Session. Up to a maximum of 5.",
|
|
4183
|
+
}),
|
|
4184
|
+
),
|
|
4185
|
+
submit_type: Schema.optionalKey(
|
|
4186
|
+
Schema.Literals(["auto", "book", "donate", "pay", "subscribe"]).annotate({
|
|
4187
|
+
description:
|
|
4188
|
+
"Describes the type of transaction being performed by Checkout in order\nto customize relevant text on the page, such as the submit button.\n `submit_type` can only be specified on Checkout Sessions in\n`payment` or `subscription` mode. If blank or `auto`, `pay` is used.\nYou can't set this parameter if `ui_mode` is `elements`.",
|
|
4189
|
+
}),
|
|
4190
|
+
),
|
|
4191
|
+
subscription_data: Schema.optionalKey(
|
|
4192
|
+
Schema.StructWithRest(
|
|
4193
|
+
Schema.Struct({
|
|
4194
|
+
application_fee_percent: Schema.optionalKey(Schema.Finite),
|
|
4195
|
+
billing_cycle_anchor: Schema.optionalKey(
|
|
4196
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
4197
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
4198
|
+
),
|
|
4199
|
+
),
|
|
4200
|
+
billing_cycle_anchor_config: Schema.optionalKey(
|
|
4201
|
+
Schema.StructWithRest(
|
|
4202
|
+
Schema.Struct({
|
|
4203
|
+
day_of_month: Schema.Int,
|
|
4204
|
+
hour: Schema.optionalKey(Schema.Int),
|
|
4205
|
+
minute: Schema.optionalKey(Schema.Int),
|
|
4206
|
+
month: Schema.optionalKey(Schema.Int),
|
|
4207
|
+
second: Schema.optionalKey(Schema.Int),
|
|
4208
|
+
}),
|
|
4209
|
+
[
|
|
4210
|
+
Schema.Record(
|
|
4211
|
+
Schema.String,
|
|
4212
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4213
|
+
),
|
|
4214
|
+
],
|
|
4215
|
+
).annotate({ title: "cycle_anchor_config_param" }),
|
|
4216
|
+
),
|
|
4217
|
+
billing_mode: Schema.optionalKey(
|
|
4218
|
+
Schema.StructWithRest(
|
|
4219
|
+
Schema.Struct({
|
|
4220
|
+
flexible: Schema.optionalKey(
|
|
4221
|
+
Schema.StructWithRest(
|
|
4222
|
+
Schema.Struct({
|
|
4223
|
+
proration_discounts: Schema.optionalKey(
|
|
4224
|
+
Schema.Literals(["included", "itemized"]),
|
|
4225
|
+
),
|
|
4226
|
+
}),
|
|
4227
|
+
[
|
|
4228
|
+
Schema.Record(
|
|
4229
|
+
Schema.String,
|
|
4230
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4231
|
+
),
|
|
4232
|
+
],
|
|
4233
|
+
).annotate({ title: "flexible_params" }),
|
|
4234
|
+
),
|
|
4235
|
+
type: Schema.Literals(["classic", "flexible"]),
|
|
4236
|
+
}),
|
|
4237
|
+
[
|
|
4238
|
+
Schema.Record(
|
|
4239
|
+
Schema.String,
|
|
4240
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4241
|
+
),
|
|
4242
|
+
],
|
|
4243
|
+
).annotate({ title: "billing_mode" }),
|
|
4244
|
+
),
|
|
4245
|
+
default_tax_rates: Schema.optionalKey(
|
|
4246
|
+
Schema.Array(
|
|
4247
|
+
Schema.String.check(
|
|
4248
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
4249
|
+
expected: "a string with at most 5000 code points",
|
|
4250
|
+
}),
|
|
4251
|
+
),
|
|
4252
|
+
),
|
|
4253
|
+
),
|
|
4254
|
+
description: Schema.optionalKey(
|
|
4255
|
+
Schema.String.check(
|
|
4256
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
4257
|
+
expected: "a string with at most 500 code points",
|
|
4258
|
+
}),
|
|
4259
|
+
),
|
|
4260
|
+
),
|
|
4261
|
+
invoice_settings: Schema.optionalKey(
|
|
4262
|
+
Schema.StructWithRest(
|
|
4263
|
+
Schema.Struct({
|
|
4264
|
+
account_tax_ids: Schema.optionalKey(
|
|
4265
|
+
Schema.Union([
|
|
4266
|
+
Schema.Array(
|
|
4267
|
+
Schema.String.check(
|
|
4268
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
4269
|
+
expected: "a string with at most 5000 code points",
|
|
4270
|
+
}),
|
|
4271
|
+
),
|
|
4272
|
+
),
|
|
4273
|
+
Schema.Literal(""),
|
|
4274
|
+
]),
|
|
4275
|
+
),
|
|
4276
|
+
custom_fields: Schema.optionalKey(
|
|
4277
|
+
Schema.Union([
|
|
4278
|
+
Schema.Array(
|
|
4279
|
+
Schema.StructWithRest(
|
|
4280
|
+
Schema.Struct({
|
|
4281
|
+
name: Schema.String.check(
|
|
4282
|
+
Schema.isMaxCodePoints(40).annotate({
|
|
4283
|
+
expected: "a string with at most 40 code points",
|
|
4284
|
+
}),
|
|
4285
|
+
),
|
|
4286
|
+
value: Schema.String.check(
|
|
4287
|
+
Schema.isMaxCodePoints(140).annotate({
|
|
4288
|
+
expected: "a string with at most 140 code points",
|
|
4289
|
+
}),
|
|
4290
|
+
),
|
|
4291
|
+
}),
|
|
4292
|
+
[
|
|
4293
|
+
Schema.Record(
|
|
4294
|
+
Schema.String,
|
|
4295
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4296
|
+
),
|
|
4297
|
+
],
|
|
4298
|
+
).annotate({ title: "custom_field_params" }),
|
|
4299
|
+
),
|
|
4300
|
+
Schema.Literal(""),
|
|
4301
|
+
]),
|
|
4302
|
+
),
|
|
4303
|
+
description: Schema.optionalKey(
|
|
4304
|
+
Schema.String.check(
|
|
4305
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
4306
|
+
expected: "a string with at most 500 code points",
|
|
4307
|
+
}),
|
|
4308
|
+
),
|
|
4309
|
+
),
|
|
4310
|
+
footer: Schema.optionalKey(
|
|
4311
|
+
Schema.String.check(
|
|
4312
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
4313
|
+
expected: "a string with at most 5000 code points",
|
|
4314
|
+
}),
|
|
4315
|
+
),
|
|
4316
|
+
),
|
|
4317
|
+
issuer: Schema.optionalKey(
|
|
4318
|
+
Schema.StructWithRest(
|
|
4319
|
+
Schema.Struct({
|
|
4320
|
+
account: Schema.optionalKey(Schema.String),
|
|
4321
|
+
type: Schema.Literals(["account", "self"]),
|
|
4322
|
+
}),
|
|
4323
|
+
[
|
|
4324
|
+
Schema.Record(
|
|
4325
|
+
Schema.String,
|
|
4326
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4327
|
+
),
|
|
4328
|
+
],
|
|
4329
|
+
).annotate({ title: "param" }),
|
|
4330
|
+
),
|
|
4331
|
+
}),
|
|
4332
|
+
[
|
|
4333
|
+
Schema.Record(
|
|
4334
|
+
Schema.String,
|
|
4335
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4336
|
+
),
|
|
4337
|
+
],
|
|
4338
|
+
).annotate({ title: "invoice_settings_params" }),
|
|
4339
|
+
),
|
|
4340
|
+
metadata: Schema.optionalKey(
|
|
4341
|
+
Schema.Record(Schema.String, Schema.String),
|
|
4342
|
+
),
|
|
4343
|
+
on_behalf_of: Schema.optionalKey(Schema.String),
|
|
4344
|
+
pending_invoice_item_interval: Schema.optionalKey(
|
|
4345
|
+
Schema.StructWithRest(
|
|
4346
|
+
Schema.Struct({
|
|
4347
|
+
interval: Schema.Literals(["day", "month", "week", "year"]),
|
|
4348
|
+
interval_count: Schema.optionalKey(Schema.Int),
|
|
4349
|
+
}),
|
|
4350
|
+
[
|
|
4351
|
+
Schema.Record(
|
|
4352
|
+
Schema.String,
|
|
4353
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4354
|
+
),
|
|
4355
|
+
],
|
|
4356
|
+
).annotate({ title: "pending_invoice_item_interval_params" }),
|
|
4357
|
+
),
|
|
4358
|
+
proration_behavior: Schema.optionalKey(
|
|
4359
|
+
Schema.Literals(["create_prorations", "none"]),
|
|
4360
|
+
),
|
|
4361
|
+
transfer_data: Schema.optionalKey(
|
|
4362
|
+
Schema.StructWithRest(
|
|
4363
|
+
Schema.Struct({
|
|
4364
|
+
amount_percent: Schema.optionalKey(Schema.Finite),
|
|
4365
|
+
destination: Schema.String,
|
|
4366
|
+
}),
|
|
4367
|
+
[
|
|
4368
|
+
Schema.Record(
|
|
4369
|
+
Schema.String,
|
|
4370
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4371
|
+
),
|
|
4372
|
+
],
|
|
4373
|
+
).annotate({ title: "transfer_data_specs" }),
|
|
4374
|
+
),
|
|
4375
|
+
trial_end: Schema.optionalKey(
|
|
4376
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
4377
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
4378
|
+
),
|
|
4379
|
+
),
|
|
4380
|
+
trial_period_days: Schema.optionalKey(Schema.Int),
|
|
4381
|
+
trial_settings: Schema.optionalKey(
|
|
4382
|
+
Schema.StructWithRest(
|
|
4383
|
+
Schema.Struct({
|
|
4384
|
+
end_behavior: Schema.StructWithRest(
|
|
4385
|
+
Schema.Struct({
|
|
4386
|
+
missing_payment_method: Schema.Literals([
|
|
4387
|
+
"cancel",
|
|
4388
|
+
"create_invoice",
|
|
4389
|
+
"pause",
|
|
4390
|
+
]),
|
|
4391
|
+
}),
|
|
4392
|
+
[
|
|
4393
|
+
Schema.Record(
|
|
4394
|
+
Schema.String,
|
|
4395
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4396
|
+
),
|
|
4397
|
+
],
|
|
4398
|
+
).annotate({ title: "end_behavior" }),
|
|
4399
|
+
}),
|
|
4400
|
+
[
|
|
4401
|
+
Schema.Record(
|
|
4402
|
+
Schema.String,
|
|
4403
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4404
|
+
),
|
|
4405
|
+
],
|
|
4406
|
+
).annotate({ title: "trial_settings_config" }),
|
|
4407
|
+
),
|
|
4408
|
+
}),
|
|
4409
|
+
[
|
|
4410
|
+
Schema.Record(
|
|
4411
|
+
Schema.String,
|
|
4412
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4413
|
+
),
|
|
4414
|
+
],
|
|
4415
|
+
).annotate({
|
|
4416
|
+
title: "subscription_data_params",
|
|
4417
|
+
description:
|
|
4418
|
+
"A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.",
|
|
4419
|
+
}),
|
|
4420
|
+
),
|
|
4421
|
+
success_url: Schema.optionalKey(
|
|
4422
|
+
Schema.String.annotate({
|
|
4423
|
+
description:
|
|
4424
|
+
"The URL to which Stripe should send customers when payment or setup\nis complete.\nThis parameter is not allowed if ui_mode is `embedded_page` or `elements`. If you'd like to use\ninformation from the successful Checkout Session on your page, read the\nguide on [customizing your success page](https://docs.stripe.com/payments/checkout/custom-success-page).",
|
|
4425
|
+
}),
|
|
4426
|
+
),
|
|
4427
|
+
tax_id_collection: Schema.optionalKey(
|
|
4428
|
+
Schema.StructWithRest(
|
|
4429
|
+
Schema.Struct({
|
|
4430
|
+
enabled: Schema.Boolean,
|
|
4431
|
+
required: Schema.optionalKey(
|
|
4432
|
+
Schema.Literals(["if_supported", "never"]),
|
|
4433
|
+
),
|
|
4434
|
+
}),
|
|
4435
|
+
[
|
|
4436
|
+
Schema.Record(
|
|
4437
|
+
Schema.String,
|
|
4438
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4439
|
+
),
|
|
4440
|
+
],
|
|
4441
|
+
).annotate({
|
|
4442
|
+
title: "tax_id_collection_params",
|
|
4443
|
+
description: "Controls tax ID collection during checkout.",
|
|
4444
|
+
}),
|
|
4445
|
+
),
|
|
4446
|
+
ui_mode: Schema.optionalKey(
|
|
4447
|
+
Schema.Literals([
|
|
4448
|
+
"elements",
|
|
4449
|
+
"embedded_page",
|
|
4450
|
+
"form",
|
|
4451
|
+
"hosted_page",
|
|
4452
|
+
]).annotate({
|
|
4453
|
+
description: "The UI mode of the Session. Defaults to `hosted_page`.",
|
|
4454
|
+
}),
|
|
4455
|
+
),
|
|
4456
|
+
wallet_options: Schema.optionalKey(
|
|
4457
|
+
Schema.StructWithRest(
|
|
4458
|
+
Schema.Struct({
|
|
4459
|
+
link: Schema.optionalKey(
|
|
4460
|
+
Schema.StructWithRest(
|
|
4461
|
+
Schema.Struct({
|
|
4462
|
+
display: Schema.optionalKey(Schema.Literals(["auto", "never"])),
|
|
4463
|
+
}),
|
|
4464
|
+
[
|
|
4465
|
+
Schema.Record(
|
|
4466
|
+
Schema.String,
|
|
4467
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4468
|
+
),
|
|
4469
|
+
],
|
|
4470
|
+
).annotate({ title: "wallet_options_param" }),
|
|
4471
|
+
),
|
|
4472
|
+
}),
|
|
4473
|
+
[
|
|
4474
|
+
Schema.Record(
|
|
4475
|
+
Schema.String,
|
|
4476
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
4477
|
+
),
|
|
4478
|
+
],
|
|
4479
|
+
).annotate({
|
|
4480
|
+
title: "wallet_options_param",
|
|
4481
|
+
description: "Wallet-specific configuration.",
|
|
4482
|
+
}),
|
|
4483
|
+
),
|
|
4484
|
+
}),
|
|
4485
|
+
StripeCheckoutSessionResourceSchema,
|
|
4486
|
+
);
|