nomoss 0.0.1 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/LICENSE +1 -1
- package/README.md +52 -26
- package/ROADMAP.md +19 -0
- package/docs/README.md +19 -0
- package/docs/application/aws-resource-coverage.md +26 -0
- package/docs/application/aws-resource-lifecycle-management.md +47 -0
- package/docs/application/cli-workflow.md +111 -0
- package/docs/application/engine-design.md +43 -0
- package/docs/application/generation-architecture.md +285 -0
- package/docs/application/resource-command-policy-stage.md +37 -0
- package/docs/application/resource-graph.md +45 -0
- package/docs/application/resource-lifecycle-tracker.md +43 -0
- package/docs/application/resource-mapping.md +112 -0
- package/docs/application/resource-operations.md +41 -0
- package/docs/application/resource-outputs.md +66 -0
- package/docs/application/tracing.md +27 -0
- package/docs/development/code-documentation.md +54 -0
- package/docs/development/commit-message-spec.md +9 -0
- package/docs/development/effect-native-development.md +89 -0
- package/docs/development/linting.md +39 -0
- package/docs/development/resource-graph-testing-approach.md +9 -0
- package/docs/development/review-code.md +73 -0
- package/docs/development/review-docs.md +27 -0
- package/docs/development/review-remediation-spec.md +40 -0
- package/docs/development/spec-writing.md +35 -0
- package/docs/development/testing.md +125 -0
- package/docs/development/unslop.md +55 -0
- package/docs/operations/observability-sop.md +32 -0
- package/docs/operations/releasing.md +7 -0
- package/examples/README.md +11 -0
- package/examples/cli.ts +15 -0
- package/examples/commands.ts +32 -0
- package/examples/http-echo/index.ts +54 -0
- package/examples/queue/application.ts +37 -0
- package/examples/state-machine/application.ts +57 -0
- package/examples/stripe-billing/application.ts +56 -0
- package/media/nomoss-http-demo.gif +0 -0
- package/package.json +63 -24
- package/providers/aws/README.md +21 -0
- package/providers/aws/awsEnvironment.ts +114 -0
- package/providers/aws/generated/managementRegistry.ts +136 -0
- package/providers/aws/generated/resources/apigatewayv2/api.ts +528 -0
- package/providers/aws/generated/resources/apigatewayv2/integration.ts +559 -0
- package/providers/aws/generated/resources/apigatewayv2/route.ts +421 -0
- package/providers/aws/generated/resources/apigatewayv2/stage.ts +366 -0
- package/providers/aws/generated/resources/iam/accesskey.ts +184 -0
- package/providers/aws/generated/resources/iam/group.ts +294 -0
- package/providers/aws/generated/resources/iam/grouppolicy.ts +244 -0
- package/providers/aws/generated/resources/iam/instanceprofile.ts +249 -0
- package/providers/aws/generated/resources/iam/managedpolicy.ts +518 -0
- package/providers/aws/generated/resources/iam/oidcprovider.ts +314 -0
- package/providers/aws/generated/resources/iam/policy.ts +264 -0
- package/providers/aws/generated/resources/iam/role.ts +444 -0
- package/providers/aws/generated/resources/iam/rolepolicy.ts +242 -0
- package/providers/aws/generated/resources/iam/samlprovider.ts +463 -0
- package/providers/aws/generated/resources/iam/servercertificate.ts +465 -0
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +187 -0
- package/providers/aws/generated/resources/iam/user.ts +435 -0
- package/providers/aws/generated/resources/iam/userpolicy.ts +242 -0
- package/providers/aws/generated/resources/iam/usertogroupaddition.ts +212 -0
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +298 -0
- package/providers/aws/generated/resources/kms/key.ts +552 -0
- package/providers/aws/generated/resources/lambda/function.ts +1924 -0
- package/providers/aws/generated/resources/lambda/permission.ts +913 -0
- package/providers/aws/generated/resources/s3/bucket.ts +3325 -0
- package/providers/aws/generated/resources/sns/topic.ts +536 -0
- package/providers/aws/generated/resources/sqs/queue.ts +476 -0
- package/providers/aws/generated/resources/stepfunctions/statemachine.ts +720 -0
- package/providers/aws/management/mappings/iam/group.ts +63 -0
- package/providers/aws/management/mappings/iam/iamIdentity.ts +41 -0
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +8 -0
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +159 -0
- package/providers/aws/management/mappings/iam/instanceProfile.ts +77 -0
- package/providers/aws/management/mappings/iam/oidcProvider.ts +94 -0
- package/providers/aws/management/mappings/iam/role.ts +74 -0
- package/providers/aws/management/mappings/iam/samlProvider.ts +98 -0
- package/providers/aws/management/mappings/iam/serverCertificate.ts +72 -0
- package/providers/aws/management/mappings/iam/user.ts +61 -0
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +75 -0
- package/providers/aws/management/operations/iam/accessKey.ts +206 -0
- package/providers/aws/management/operations/iam/managedPolicy.ts +491 -0
- package/providers/aws/management/operations/iam/policy.ts +476 -0
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +172 -0
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +253 -0
- package/providers/aws/management/resourceAssociationConfiguration.ts +112 -0
- package/providers/aws/management/resourceAssociationRegistration.ts +349 -0
- package/providers/aws/management/resourceAssociations.ts +168 -0
- package/providers/aws/management/resourceConfiguration.ts +119 -0
- package/providers/aws/management/resourceLifecycleRegistration.ts +540 -0
- package/providers/aws/management/resourceManagementModule.ts +31 -0
- package/providers/aws/management/resourceManagementRegistry.ts +62 -0
- package/providers/aws/management/resourceMapping.ts +84 -0
- package/providers/aws/management/resourceOperation.ts +134 -0
- package/providers/aws/management/resourceTagOperations.ts +108 -0
- package/providers/aws/management/resourceTiming.ts +4 -0
- package/providers/aws/runtime.ts +52 -0
- package/src/cli.ts +31 -13
- package/src/cliCommand.ts +207 -170
- package/src/cliDiagnostics.ts +104 -0
- package/src/core/asset.ts +350 -0
- package/src/core/index.ts +61 -17
- package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
- package/src/core/resource/model.ts +1168 -0
- package/src/core/resource/resourceCommandPolicy.ts +88 -0
- package/src/core/resource/resourceGraphBuilder.ts +319 -0
- package/src/core/resource/resourceGraphStore.ts +373 -0
- package/src/core/resource/resourceLifecycle.ts +644 -0
- package/src/core/resource/resourceOutputBinding.ts +113 -0
- package/src/core/resource/resourceOutputResolver.ts +365 -0
- package/src/core/resource/resourceRequest.ts +186 -0
- package/src/core/resource/resourceStabilization.ts +120 -0
- package/src/core/resource/resourceVersions.ts +102 -0
- package/src/core/runtime/stackRuntimeLayer.ts +16 -0
- package/src/core/runtime/tracing.ts +43 -0
- package/src/core/stack/planner.ts +663 -0
- package/src/core/stack/resourceDisplay.ts +213 -0
- package/src/core/stack/resourceStackDefinition.ts +32 -0
- package/src/core/stack/resourceStackLifecycle.ts +1229 -0
- package/src/core/stack/resourceStackOperations.ts +642 -0
- package/src/core/stack/resourceStackProgress.ts +169 -0
- package/src/core/stack/stackWorkflowRenderer.ts +756 -0
- package/src/core/state/localState.ts +18 -0
- package/src/core/state/resourceState.ts +77 -0
- package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
- package/src/core/state/stateStore.ts +600 -0
- package/src/providers/file/jsonFile.ts +94 -0
- package/src/providers/file/model.ts +29 -0
- package/src/providers/file/resourcePolicy.ts +271 -0
- package/src/providers/index.ts +0 -2
- package/src/providers/providerRuntimeLayer.ts +27 -113
- package/src/providers/resourceCommandPolicyLayer.ts +151 -200
- package/src/providers/stripe/client/generated/LICENSE +21 -0
- package/src/providers/stripe/client/generated/accounts.ts +14360 -0
- package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
- package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
- package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
- package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
- package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
- package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
- package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
- package/src/providers/stripe/client/generated/catalog.ts +18881 -0
- package/src/providers/stripe/client/generated/charges.ts +2637 -0
- package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
- package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
- package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
- package/src/providers/stripe/client/generated/configuration.ts +3 -0
- package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
- package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
- package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
- package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
- package/src/providers/stripe/client/generated/coupons.ts +562 -0
- package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
- package/src/providers/stripe/client/generated/customers.ts +10712 -0
- package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
- package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
- package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
- package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
- package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
- package/src/providers/stripe/client/generated/index.ts +330 -0
- package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
- package/src/providers/stripe/client/generated/invoices.ts +8412 -0
- package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
- package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
- package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
- package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
- package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
- package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
- package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
- package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
- package/src/providers/stripe/client/generated/models/common.ts +25024 -0
- package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
- package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
- package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
- package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
- package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
- package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
- package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
- package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
- package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
- package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
- package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
- package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
- package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
- package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
- package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
- package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
- package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
- package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
- package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
- package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
- package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
- package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
- package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
- package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
- package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
- package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
- package/src/providers/stripe/client/generated/payouts.ts +589 -0
- package/src/providers/stripe/client/generated/plans.ts +712 -0
- package/src/providers/stripe/client/generated/prices.ts +1045 -0
- package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
- package/src/providers/stripe/client/generated/products.ts +1370 -0
- package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
- package/src/providers/stripe/client/generated/quotes.ts +1874 -0
- package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
- package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
- package/src/providers/stripe/client/generated/refunds.ts +493 -0
- package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
- package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
- package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
- package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
- package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
- package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
- package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
- package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
- package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
- package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
- package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
- package/src/providers/stripe/client/generated/sources.ts +1482 -0
- package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
- package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
- package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
- package/src/providers/stripe/client/generated/taxIds.ts +644 -0
- package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
- package/src/providers/stripe/client/generated/taxRates.ts +620 -0
- package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
- package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
- package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
- package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
- package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
- package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
- package/src/providers/stripe/client/generated/tokens.ts +2498 -0
- package/src/providers/stripe/client/generated/topups.ts +556 -0
- package/src/providers/stripe/client/generated/transfers.ts +786 -0
- package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
- package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
- package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
- package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
- package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
- package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
- package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
- package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
- package/src/providers/stripe/client/stripeClient.ts +212 -0
- package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
- package/src/providers/stripe/client/stripeClientModel.ts +40 -0
- package/src/providers/stripe/index.ts +8 -15
- package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
- package/src/providers/stripe/management/resourcePolicy.ts +500 -0
- package/src/providers/stripe/management/resources.ts +36 -0
- package/src/providers/stripe/runtime.ts +74 -0
- package/bin/nomoss +0 -13
- package/docs/code-documentation.md +0 -36
- package/docs/effect-native-development.md +0 -55
- package/docs/engine-design.md +0 -93
- package/docs/linting.md +0 -88
- package/docs/releasing.md +0 -13
- package/docs/resource-command-policy-stage.md +0 -71
- package/docs/resource-graph-mvp.md +0 -31
- package/docs/resource-graph-testing-approach.md +0 -11
- package/docs/resource-lifecycle-tracker.md +0 -93
- package/docs/testing.md +0 -86
- package/examples/upload-events/README.md +0 -41
- package/src/cliRuntimeLayer.ts +0 -49
- package/src/core/model.ts +0 -229
- package/src/core/physicalNameStore.ts +0 -226
- package/src/core/planner.ts +0 -645
- package/src/core/resourceCommandPolicy.ts +0 -79
- package/src/core/resourceGraphBuilder.ts +0 -167
- package/src/core/resourceGraphStore.ts +0 -288
- package/src/core/resourceOutputResolver.ts +0 -185
- package/src/core/resourcePolicy.ts +0 -77
- package/src/core/resourceStackDefinition.ts +0 -17
- package/src/core/resourceStackLifecycle.ts +0 -456
- package/src/core/resourceStackOperations.ts +0 -129
- package/src/core/runtimeLayer.ts +0 -73
- package/src/core/stackWorkflowRenderer.ts +0 -239
- package/src/core/stateStore.ts +0 -652
- package/src/core/tracing.ts +0 -26
- package/src/providers/aws/awsApply.ts +0 -132
- package/src/providers/aws/awsBucket.ts +0 -329
- package/src/providers/aws/awsBucketNotification.ts +0 -351
- package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
- package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
- package/src/providers/aws/awsProviderLayer.ts +0 -274
- package/src/providers/aws/awsQueue.ts +0 -346
- package/src/providers/aws/awsQueuePolicy.ts +0 -419
- package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
- package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
- package/src/providers/aws/awsReconciliation.ts +0 -92
- package/src/providers/aws/awsRefresh.ts +0 -50
- package/src/providers/aws/awsResourceLifecycle.ts +0 -118
- package/src/providers/aws/awsResourcePolicy.ts +0 -83
- package/src/providers/aws/awsResources.ts +0 -274
- package/src/providers/aws/awsRuntimeLayer.ts +0 -21
- package/src/providers/aws/awsSqsTransport.ts +0 -33
- package/src/providers/aws/awsStackLifecycle.ts +0 -272
- package/src/providers/aws/awsTagging.ts +0 -186
- package/src/providers/aws/constants.ts +0 -3
- package/src/providers/aws/index.ts +0 -22
- package/src/providers/aws/sampleStack.ts +0 -65
- package/src/providers/aws/stackWorkflow.ts +0 -443
- package/src/providers/stripe/stripeAccount.ts +0 -139
- package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
- package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
- package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
- package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
- package/src/providers/stripe/stripeCustomer.ts +0 -148
- package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
- package/src/providers/stripe/stripePrice.ts +0 -218
- package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
- package/src/providers/stripe/stripeProduct.ts +0 -171
- package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
- package/src/providers/stripe/stripeResources.ts +0 -454
- package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
- package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
- package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
|
@@ -0,0 +1,2372 @@
|
|
|
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 { Effect, Schema } from "effect";
|
|
5
|
+
import { StripeClient } from "../stripeClient.js";
|
|
6
|
+
import type { StripeOperation } from "../stripeClientModel.js";
|
|
7
|
+
import { stripeApiBaseUrl, stripeApiVersion } from "./configuration.js";
|
|
8
|
+
import { Stripeerror } from "./models/common.js";
|
|
9
|
+
import { Stripepayment_method } from "./models/paymentMethods.js";
|
|
10
|
+
|
|
11
|
+
export type GetPaymentMethodsInput = {
|
|
12
|
+
readonly allow_redisplay?: "always" | "limited" | "unspecified";
|
|
13
|
+
readonly customer?: string;
|
|
14
|
+
readonly customer_account?: string;
|
|
15
|
+
readonly ending_before?: string;
|
|
16
|
+
readonly expand?: ReadonlyArray<string>;
|
|
17
|
+
readonly limit?: number;
|
|
18
|
+
readonly starting_after?: string;
|
|
19
|
+
readonly type?:
|
|
20
|
+
| "acss_debit"
|
|
21
|
+
| "affirm"
|
|
22
|
+
| "afterpay_clearpay"
|
|
23
|
+
| "alipay"
|
|
24
|
+
| "alma"
|
|
25
|
+
| "amazon_pay"
|
|
26
|
+
| "au_becs_debit"
|
|
27
|
+
| "bacs_debit"
|
|
28
|
+
| "bancontact"
|
|
29
|
+
| "billie"
|
|
30
|
+
| "bizum"
|
|
31
|
+
| "blik"
|
|
32
|
+
| "boleto"
|
|
33
|
+
| "card"
|
|
34
|
+
| "cashapp"
|
|
35
|
+
| "crypto"
|
|
36
|
+
| "custom"
|
|
37
|
+
| "customer_balance"
|
|
38
|
+
| "eps"
|
|
39
|
+
| "fpx"
|
|
40
|
+
| "giropay"
|
|
41
|
+
| "grabpay"
|
|
42
|
+
| "ideal"
|
|
43
|
+
| "kakao_pay"
|
|
44
|
+
| "klarna"
|
|
45
|
+
| "konbini"
|
|
46
|
+
| "kr_card"
|
|
47
|
+
| "link"
|
|
48
|
+
| "mb_way"
|
|
49
|
+
| "mobilepay"
|
|
50
|
+
| "multibanco"
|
|
51
|
+
| "naver_pay"
|
|
52
|
+
| "nz_bank_account"
|
|
53
|
+
| "oxxo"
|
|
54
|
+
| "p24"
|
|
55
|
+
| "pay_by_bank"
|
|
56
|
+
| "payco"
|
|
57
|
+
| "paynow"
|
|
58
|
+
| "paypal"
|
|
59
|
+
| "paypay"
|
|
60
|
+
| "payto"
|
|
61
|
+
| "pix"
|
|
62
|
+
| "promptpay"
|
|
63
|
+
| "revolut_pay"
|
|
64
|
+
| "samsung_pay"
|
|
65
|
+
| "satispay"
|
|
66
|
+
| "scalapay"
|
|
67
|
+
| "sepa_debit"
|
|
68
|
+
| "sequra"
|
|
69
|
+
| "sofort"
|
|
70
|
+
| "sunbit"
|
|
71
|
+
| "swish"
|
|
72
|
+
| "twint"
|
|
73
|
+
| "upi"
|
|
74
|
+
| "us_bank_account"
|
|
75
|
+
| "wechat_pay"
|
|
76
|
+
| "zip";
|
|
77
|
+
};
|
|
78
|
+
export type GetPaymentMethodsOutput = {
|
|
79
|
+
readonly data: ReadonlyArray<Stripepayment_method>;
|
|
80
|
+
readonly has_more: boolean;
|
|
81
|
+
readonly object: "list";
|
|
82
|
+
readonly url: string;
|
|
83
|
+
} & { readonly [x: string]: Schema.Json };
|
|
84
|
+
export type GetPaymentMethodsError = Stripeerror;
|
|
85
|
+
export type PostPaymentMethodsInput = {
|
|
86
|
+
readonly acss_debit?: {
|
|
87
|
+
readonly account_number: string;
|
|
88
|
+
readonly institution_number: string;
|
|
89
|
+
readonly transit_number: string;
|
|
90
|
+
} & { readonly [x: string]: Schema.Json };
|
|
91
|
+
readonly affirm?: { readonly [x: string]: Schema.Json };
|
|
92
|
+
readonly afterpay_clearpay?: { readonly [x: string]: Schema.Json };
|
|
93
|
+
readonly alipay?: { readonly [x: string]: Schema.Json };
|
|
94
|
+
readonly allow_redisplay?: "always" | "limited" | "unspecified";
|
|
95
|
+
readonly alma?: { readonly [x: string]: Schema.Json };
|
|
96
|
+
readonly amazon_pay?: { readonly [x: string]: Schema.Json };
|
|
97
|
+
readonly au_becs_debit?: {
|
|
98
|
+
readonly account_number: string;
|
|
99
|
+
readonly bsb_number: string;
|
|
100
|
+
} & { readonly [x: string]: Schema.Json };
|
|
101
|
+
readonly bacs_debit?: {
|
|
102
|
+
readonly account_number?: string;
|
|
103
|
+
readonly sort_code?: string;
|
|
104
|
+
} & { readonly [x: string]: Schema.Json };
|
|
105
|
+
readonly bancontact?: { readonly [x: string]: Schema.Json };
|
|
106
|
+
readonly billie?: { readonly [x: string]: Schema.Json };
|
|
107
|
+
readonly billing_details?: {
|
|
108
|
+
readonly address?:
|
|
109
|
+
| ({
|
|
110
|
+
readonly city?: string;
|
|
111
|
+
readonly country?: string;
|
|
112
|
+
readonly line1?: string;
|
|
113
|
+
readonly line2?: string;
|
|
114
|
+
readonly postal_code?: string;
|
|
115
|
+
readonly state?: string;
|
|
116
|
+
} & { readonly [x: string]: Schema.Json })
|
|
117
|
+
| "";
|
|
118
|
+
readonly email?: string | "";
|
|
119
|
+
readonly name?: string | "";
|
|
120
|
+
readonly phone?: string | "";
|
|
121
|
+
readonly tax_id?: string;
|
|
122
|
+
} & { readonly [x: string]: Schema.Json };
|
|
123
|
+
readonly bizum?: { readonly [x: string]: Schema.Json };
|
|
124
|
+
readonly blik?: { readonly [x: string]: Schema.Json };
|
|
125
|
+
readonly boleto?: { readonly tax_id: string } & {
|
|
126
|
+
readonly [x: string]: Schema.Json;
|
|
127
|
+
};
|
|
128
|
+
readonly card?:
|
|
129
|
+
| ({
|
|
130
|
+
readonly cvc?: string;
|
|
131
|
+
readonly exp_month: number;
|
|
132
|
+
readonly exp_year: number;
|
|
133
|
+
readonly networks?: {
|
|
134
|
+
readonly preferred?: "cartes_bancaires" | "mastercard" | "visa";
|
|
135
|
+
} & { readonly [x: string]: Schema.Json };
|
|
136
|
+
readonly number: string;
|
|
137
|
+
} & { readonly [x: string]: Schema.Json })
|
|
138
|
+
| ({ readonly token: string } & { readonly [x: string]: Schema.Json });
|
|
139
|
+
readonly cashapp?: { readonly [x: string]: Schema.Json };
|
|
140
|
+
readonly crypto?: { readonly [x: string]: Schema.Json };
|
|
141
|
+
readonly custom?: { readonly type: string } & {
|
|
142
|
+
readonly [x: string]: Schema.Json;
|
|
143
|
+
};
|
|
144
|
+
readonly customer?: string;
|
|
145
|
+
readonly customer_balance?: { readonly [x: string]: Schema.Json };
|
|
146
|
+
readonly eps?: {
|
|
147
|
+
readonly bank?:
|
|
148
|
+
| "arzte_und_apotheker_bank"
|
|
149
|
+
| "austrian_anadi_bank_ag"
|
|
150
|
+
| "bank_austria"
|
|
151
|
+
| "bankhaus_carl_spangler"
|
|
152
|
+
| "bankhaus_schelhammer_und_schattera_ag"
|
|
153
|
+
| "bawag_psk_ag"
|
|
154
|
+
| "bks_bank_ag"
|
|
155
|
+
| "brull_kallmus_bank_ag"
|
|
156
|
+
| "btv_vier_lander_bank"
|
|
157
|
+
| "capital_bank_grawe_gruppe_ag"
|
|
158
|
+
| "deutsche_bank_ag"
|
|
159
|
+
| "dolomitenbank"
|
|
160
|
+
| "easybank_ag"
|
|
161
|
+
| "erste_bank_und_sparkassen"
|
|
162
|
+
| "hypo_alpeadriabank_international_ag"
|
|
163
|
+
| "hypo_bank_burgenland_aktiengesellschaft"
|
|
164
|
+
| "hypo_noe_lb_fur_niederosterreich_u_wien"
|
|
165
|
+
| "hypo_oberosterreich_salzburg_steiermark"
|
|
166
|
+
| "hypo_tirol_bank_ag"
|
|
167
|
+
| "hypo_vorarlberg_bank_ag"
|
|
168
|
+
| "marchfelder_bank"
|
|
169
|
+
| "oberbank_ag"
|
|
170
|
+
| "raiffeisen_bankengruppe_osterreich"
|
|
171
|
+
| "schoellerbank_ag"
|
|
172
|
+
| "sparda_bank_wien"
|
|
173
|
+
| "volksbank_gruppe"
|
|
174
|
+
| "volkskreditbank_ag"
|
|
175
|
+
| "vr_bank_braunau";
|
|
176
|
+
} & { readonly [x: string]: Schema.Json };
|
|
177
|
+
readonly expand?: ReadonlyArray<string>;
|
|
178
|
+
readonly fpx?: {
|
|
179
|
+
readonly bank:
|
|
180
|
+
| "affin_bank"
|
|
181
|
+
| "agrobank"
|
|
182
|
+
| "alliance_bank"
|
|
183
|
+
| "ambank"
|
|
184
|
+
| "bank_islam"
|
|
185
|
+
| "bank_muamalat"
|
|
186
|
+
| "bank_of_china"
|
|
187
|
+
| "bank_rakyat"
|
|
188
|
+
| "bnp_paribas"
|
|
189
|
+
| "bsn"
|
|
190
|
+
| "cimb"
|
|
191
|
+
| "citibank"
|
|
192
|
+
| "deutsche_bank"
|
|
193
|
+
| "hong_leong_bank"
|
|
194
|
+
| "hsbc"
|
|
195
|
+
| "kfh"
|
|
196
|
+
| "maybank2e"
|
|
197
|
+
| "maybank2u"
|
|
198
|
+
| "mbsb_bank"
|
|
199
|
+
| "ocbc"
|
|
200
|
+
| "pb_enterprise"
|
|
201
|
+
| "public_bank"
|
|
202
|
+
| "rhb"
|
|
203
|
+
| "standard_chartered"
|
|
204
|
+
| "uob";
|
|
205
|
+
} & { readonly [x: string]: Schema.Json };
|
|
206
|
+
readonly giropay?: { readonly [x: string]: Schema.Json };
|
|
207
|
+
readonly grabpay?: { readonly [x: string]: Schema.Json };
|
|
208
|
+
readonly ideal?: {
|
|
209
|
+
readonly bank?:
|
|
210
|
+
| "abn_amro"
|
|
211
|
+
| "adyen"
|
|
212
|
+
| "asn_bank"
|
|
213
|
+
| "bunq"
|
|
214
|
+
| "buut"
|
|
215
|
+
| "finom"
|
|
216
|
+
| "handelsbanken"
|
|
217
|
+
| "ing"
|
|
218
|
+
| "knab"
|
|
219
|
+
| "mollie"
|
|
220
|
+
| "moneyou"
|
|
221
|
+
| "n26"
|
|
222
|
+
| "nn"
|
|
223
|
+
| "rabobank"
|
|
224
|
+
| "regiobank"
|
|
225
|
+
| "revolut"
|
|
226
|
+
| "sns_bank"
|
|
227
|
+
| "triodos_bank"
|
|
228
|
+
| "van_lanschot"
|
|
229
|
+
| "yoursafe";
|
|
230
|
+
} & { readonly [x: string]: Schema.Json };
|
|
231
|
+
readonly interac_present?: { readonly [x: string]: Schema.Json };
|
|
232
|
+
readonly kakao_pay?: { readonly [x: string]: Schema.Json };
|
|
233
|
+
readonly klarna?: {
|
|
234
|
+
readonly dob?: {
|
|
235
|
+
readonly day: number;
|
|
236
|
+
readonly month: number;
|
|
237
|
+
readonly year: number;
|
|
238
|
+
} & { readonly [x: string]: Schema.Json };
|
|
239
|
+
} & { readonly [x: string]: Schema.Json };
|
|
240
|
+
readonly konbini?: { readonly [x: string]: Schema.Json };
|
|
241
|
+
readonly kr_card?: { readonly [x: string]: Schema.Json };
|
|
242
|
+
readonly link?: { readonly [x: string]: Schema.Json };
|
|
243
|
+
readonly mb_way?: { readonly [x: string]: Schema.Json };
|
|
244
|
+
readonly metadata?: { readonly [x: string]: string };
|
|
245
|
+
readonly mobilepay?: { readonly [x: string]: Schema.Json };
|
|
246
|
+
readonly multibanco?: { readonly [x: string]: Schema.Json };
|
|
247
|
+
readonly naver_pay?: { readonly funding?: "card" | "points" } & {
|
|
248
|
+
readonly [x: string]: Schema.Json;
|
|
249
|
+
};
|
|
250
|
+
readonly nz_bank_account?: {
|
|
251
|
+
readonly account_holder_name?: string;
|
|
252
|
+
readonly account_number: string;
|
|
253
|
+
readonly bank_code: string;
|
|
254
|
+
readonly branch_code: string;
|
|
255
|
+
readonly reference?: string;
|
|
256
|
+
readonly suffix: string;
|
|
257
|
+
} & { readonly [x: string]: Schema.Json };
|
|
258
|
+
readonly oxxo?: { readonly [x: string]: Schema.Json };
|
|
259
|
+
readonly p24?: {
|
|
260
|
+
readonly bank?:
|
|
261
|
+
| "alior_bank"
|
|
262
|
+
| "bank_millennium"
|
|
263
|
+
| "bank_nowy_bfg_sa"
|
|
264
|
+
| "bank_pekao_sa"
|
|
265
|
+
| "banki_spbdzielcze"
|
|
266
|
+
| "blik"
|
|
267
|
+
| "bnp_paribas"
|
|
268
|
+
| "boz"
|
|
269
|
+
| "citi_handlowy"
|
|
270
|
+
| "credit_agricole"
|
|
271
|
+
| "envelobank"
|
|
272
|
+
| "etransfer_pocztowy24"
|
|
273
|
+
| "getin_bank"
|
|
274
|
+
| "ideabank"
|
|
275
|
+
| "ing"
|
|
276
|
+
| "inteligo"
|
|
277
|
+
| "mbank_mtransfer"
|
|
278
|
+
| "nest_przelew"
|
|
279
|
+
| "noble_pay"
|
|
280
|
+
| "pbac_z_ipko"
|
|
281
|
+
| "plus_bank"
|
|
282
|
+
| "santander_przelew24"
|
|
283
|
+
| "tmobile_usbugi_bankowe"
|
|
284
|
+
| "toyota_bank"
|
|
285
|
+
| "velobank"
|
|
286
|
+
| "volkswagen_bank";
|
|
287
|
+
} & { readonly [x: string]: Schema.Json };
|
|
288
|
+
readonly pay_by_bank?: { readonly [x: string]: Schema.Json };
|
|
289
|
+
readonly payco?: { readonly [x: string]: Schema.Json };
|
|
290
|
+
readonly payment_method?: string;
|
|
291
|
+
readonly paynow?: { readonly [x: string]: Schema.Json };
|
|
292
|
+
readonly paypal?: { readonly [x: string]: Schema.Json };
|
|
293
|
+
readonly paypay?: { readonly [x: string]: Schema.Json };
|
|
294
|
+
readonly payto?: {
|
|
295
|
+
readonly account_number?: string;
|
|
296
|
+
readonly bsb_number?: string;
|
|
297
|
+
readonly pay_id?: string;
|
|
298
|
+
} & { readonly [x: string]: Schema.Json };
|
|
299
|
+
readonly pix?: { readonly [x: string]: Schema.Json };
|
|
300
|
+
readonly promptpay?: { readonly [x: string]: Schema.Json };
|
|
301
|
+
readonly radar_options?: { readonly session?: string } & {
|
|
302
|
+
readonly [x: string]: Schema.Json;
|
|
303
|
+
};
|
|
304
|
+
readonly revolut_pay?: { readonly [x: string]: Schema.Json };
|
|
305
|
+
readonly samsung_pay?: { readonly [x: string]: Schema.Json };
|
|
306
|
+
readonly satispay?: { readonly [x: string]: Schema.Json };
|
|
307
|
+
readonly scalapay?: { readonly [x: string]: Schema.Json };
|
|
308
|
+
readonly sepa_debit?: { readonly iban: string } & {
|
|
309
|
+
readonly [x: string]: Schema.Json;
|
|
310
|
+
};
|
|
311
|
+
readonly sequra?: { readonly [x: string]: Schema.Json };
|
|
312
|
+
readonly sofort?: {
|
|
313
|
+
readonly country: "AT" | "BE" | "DE" | "ES" | "IT" | "NL";
|
|
314
|
+
} & { readonly [x: string]: Schema.Json };
|
|
315
|
+
readonly sunbit?: { readonly [x: string]: Schema.Json };
|
|
316
|
+
readonly swish?: { readonly [x: string]: Schema.Json };
|
|
317
|
+
readonly twint?: { readonly [x: string]: Schema.Json };
|
|
318
|
+
readonly type?:
|
|
319
|
+
| "acss_debit"
|
|
320
|
+
| "affirm"
|
|
321
|
+
| "afterpay_clearpay"
|
|
322
|
+
| "alipay"
|
|
323
|
+
| "alma"
|
|
324
|
+
| "amazon_pay"
|
|
325
|
+
| "au_becs_debit"
|
|
326
|
+
| "bacs_debit"
|
|
327
|
+
| "bancontact"
|
|
328
|
+
| "billie"
|
|
329
|
+
| "bizum"
|
|
330
|
+
| "blik"
|
|
331
|
+
| "boleto"
|
|
332
|
+
| "card"
|
|
333
|
+
| "cashapp"
|
|
334
|
+
| "crypto"
|
|
335
|
+
| "custom"
|
|
336
|
+
| "customer_balance"
|
|
337
|
+
| "eps"
|
|
338
|
+
| "fpx"
|
|
339
|
+
| "giropay"
|
|
340
|
+
| "grabpay"
|
|
341
|
+
| "ideal"
|
|
342
|
+
| "kakao_pay"
|
|
343
|
+
| "klarna"
|
|
344
|
+
| "konbini"
|
|
345
|
+
| "kr_card"
|
|
346
|
+
| "link"
|
|
347
|
+
| "mb_way"
|
|
348
|
+
| "mobilepay"
|
|
349
|
+
| "multibanco"
|
|
350
|
+
| "naver_pay"
|
|
351
|
+
| "nz_bank_account"
|
|
352
|
+
| "oxxo"
|
|
353
|
+
| "p24"
|
|
354
|
+
| "pay_by_bank"
|
|
355
|
+
| "payco"
|
|
356
|
+
| "paynow"
|
|
357
|
+
| "paypal"
|
|
358
|
+
| "paypay"
|
|
359
|
+
| "payto"
|
|
360
|
+
| "pix"
|
|
361
|
+
| "promptpay"
|
|
362
|
+
| "revolut_pay"
|
|
363
|
+
| "samsung_pay"
|
|
364
|
+
| "satispay"
|
|
365
|
+
| "scalapay"
|
|
366
|
+
| "sepa_debit"
|
|
367
|
+
| "sequra"
|
|
368
|
+
| "sofort"
|
|
369
|
+
| "sunbit"
|
|
370
|
+
| "swish"
|
|
371
|
+
| "twint"
|
|
372
|
+
| "upi"
|
|
373
|
+
| "us_bank_account"
|
|
374
|
+
| "wechat_pay"
|
|
375
|
+
| "zip";
|
|
376
|
+
readonly upi?: {
|
|
377
|
+
readonly mandate_options?: {
|
|
378
|
+
readonly amount?: number;
|
|
379
|
+
readonly amount_type?: "fixed" | "maximum";
|
|
380
|
+
readonly description?: string;
|
|
381
|
+
readonly end_date?: number;
|
|
382
|
+
} & { readonly [x: string]: Schema.Json };
|
|
383
|
+
} & { readonly [x: string]: Schema.Json };
|
|
384
|
+
readonly us_bank_account?: {
|
|
385
|
+
readonly account_holder_type?: "company" | "individual";
|
|
386
|
+
readonly account_number?: string;
|
|
387
|
+
readonly account_type?: "checking" | "savings";
|
|
388
|
+
readonly financial_connections_account?: string;
|
|
389
|
+
readonly routing_number?: string;
|
|
390
|
+
} & { readonly [x: string]: Schema.Json };
|
|
391
|
+
readonly wechat_pay?: { readonly [x: string]: Schema.Json };
|
|
392
|
+
readonly zip?: { readonly [x: string]: Schema.Json };
|
|
393
|
+
};
|
|
394
|
+
export type PostPaymentMethodsOutput = Stripepayment_method;
|
|
395
|
+
export type PostPaymentMethodsError = Stripeerror;
|
|
396
|
+
export type GetPaymentMethodsPaymentMethodInput = {
|
|
397
|
+
readonly expand?: ReadonlyArray<string>;
|
|
398
|
+
readonly payment_method: string;
|
|
399
|
+
};
|
|
400
|
+
export type GetPaymentMethodsPaymentMethodOutput = Stripepayment_method;
|
|
401
|
+
export type GetPaymentMethodsPaymentMethodError = Stripeerror;
|
|
402
|
+
export type PostPaymentMethodsPaymentMethodInput = {
|
|
403
|
+
readonly allow_redisplay?: "always" | "limited" | "unspecified";
|
|
404
|
+
readonly billing_details?: {
|
|
405
|
+
readonly address?:
|
|
406
|
+
| ({
|
|
407
|
+
readonly city?: string;
|
|
408
|
+
readonly country?: string;
|
|
409
|
+
readonly line1?: string;
|
|
410
|
+
readonly line2?: string;
|
|
411
|
+
readonly postal_code?: string;
|
|
412
|
+
readonly state?: string;
|
|
413
|
+
} & { readonly [x: string]: Schema.Json })
|
|
414
|
+
| "";
|
|
415
|
+
readonly email?: string | "";
|
|
416
|
+
readonly name?: string | "";
|
|
417
|
+
readonly phone?: string | "";
|
|
418
|
+
readonly tax_id?: string;
|
|
419
|
+
} & { readonly [x: string]: Schema.Json };
|
|
420
|
+
readonly card?: {
|
|
421
|
+
readonly exp_month?: number;
|
|
422
|
+
readonly exp_year?: number;
|
|
423
|
+
readonly networks?: {
|
|
424
|
+
readonly preferred?: "" | "cartes_bancaires" | "mastercard" | "visa";
|
|
425
|
+
} & { readonly [x: string]: Schema.Json };
|
|
426
|
+
} & { readonly [x: string]: Schema.Json };
|
|
427
|
+
readonly expand?: ReadonlyArray<string>;
|
|
428
|
+
readonly metadata?: { readonly [x: string]: string } | "";
|
|
429
|
+
readonly us_bank_account?: {
|
|
430
|
+
readonly account_holder_type?: "company" | "individual";
|
|
431
|
+
readonly account_type?: "checking" | "savings";
|
|
432
|
+
} & { readonly [x: string]: Schema.Json };
|
|
433
|
+
readonly payment_method: string;
|
|
434
|
+
};
|
|
435
|
+
export type PostPaymentMethodsPaymentMethodOutput = Stripepayment_method;
|
|
436
|
+
export type PostPaymentMethodsPaymentMethodError = Stripeerror;
|
|
437
|
+
export type PostPaymentMethodsPaymentMethodAttachInput = {
|
|
438
|
+
readonly customer?: string;
|
|
439
|
+
readonly customer_account?: string;
|
|
440
|
+
readonly expand?: ReadonlyArray<string>;
|
|
441
|
+
readonly payment_method: string;
|
|
442
|
+
};
|
|
443
|
+
export type PostPaymentMethodsPaymentMethodAttachOutput = Stripepayment_method;
|
|
444
|
+
export type PostPaymentMethodsPaymentMethodAttachError = Stripeerror;
|
|
445
|
+
export type PostPaymentMethodsPaymentMethodDetachInput = {
|
|
446
|
+
readonly expand?: ReadonlyArray<string>;
|
|
447
|
+
readonly payment_method: string;
|
|
448
|
+
};
|
|
449
|
+
export type PostPaymentMethodsPaymentMethodDetachOutput = Stripepayment_method;
|
|
450
|
+
export type PostPaymentMethodsPaymentMethodDetachError = Stripeerror;
|
|
451
|
+
|
|
452
|
+
export const GetPaymentMethodsInput = Schema.Struct({
|
|
453
|
+
allow_redisplay: Schema.optionalKey(
|
|
454
|
+
Schema.Literals(["always", "limited", "unspecified"]),
|
|
455
|
+
),
|
|
456
|
+
customer: Schema.optionalKey(
|
|
457
|
+
Schema.String.check(
|
|
458
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
459
|
+
expected: "a string with at most 5000 code points",
|
|
460
|
+
}),
|
|
461
|
+
),
|
|
462
|
+
),
|
|
463
|
+
customer_account: Schema.optionalKey(
|
|
464
|
+
Schema.String.check(
|
|
465
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
466
|
+
expected: "a string with at most 5000 code points",
|
|
467
|
+
}),
|
|
468
|
+
),
|
|
469
|
+
),
|
|
470
|
+
ending_before: Schema.optionalKey(
|
|
471
|
+
Schema.String.check(
|
|
472
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
473
|
+
expected: "a string with at most 5000 code points",
|
|
474
|
+
}),
|
|
475
|
+
),
|
|
476
|
+
),
|
|
477
|
+
expand: Schema.optionalKey(
|
|
478
|
+
Schema.Array(
|
|
479
|
+
Schema.String.check(
|
|
480
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
481
|
+
expected: "a string with at most 5000 code points",
|
|
482
|
+
}),
|
|
483
|
+
),
|
|
484
|
+
),
|
|
485
|
+
),
|
|
486
|
+
limit: Schema.optionalKey(Schema.Int),
|
|
487
|
+
starting_after: Schema.optionalKey(
|
|
488
|
+
Schema.String.check(
|
|
489
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
490
|
+
expected: "a string with at most 5000 code points",
|
|
491
|
+
}),
|
|
492
|
+
),
|
|
493
|
+
),
|
|
494
|
+
type: Schema.optionalKey(
|
|
495
|
+
Schema.Literals([
|
|
496
|
+
"acss_debit",
|
|
497
|
+
"affirm",
|
|
498
|
+
"afterpay_clearpay",
|
|
499
|
+
"alipay",
|
|
500
|
+
"alma",
|
|
501
|
+
"amazon_pay",
|
|
502
|
+
"au_becs_debit",
|
|
503
|
+
"bacs_debit",
|
|
504
|
+
"bancontact",
|
|
505
|
+
"billie",
|
|
506
|
+
"bizum",
|
|
507
|
+
"blik",
|
|
508
|
+
"boleto",
|
|
509
|
+
"card",
|
|
510
|
+
"cashapp",
|
|
511
|
+
"crypto",
|
|
512
|
+
"custom",
|
|
513
|
+
"customer_balance",
|
|
514
|
+
"eps",
|
|
515
|
+
"fpx",
|
|
516
|
+
"giropay",
|
|
517
|
+
"grabpay",
|
|
518
|
+
"ideal",
|
|
519
|
+
"kakao_pay",
|
|
520
|
+
"klarna",
|
|
521
|
+
"konbini",
|
|
522
|
+
"kr_card",
|
|
523
|
+
"link",
|
|
524
|
+
"mb_way",
|
|
525
|
+
"mobilepay",
|
|
526
|
+
"multibanco",
|
|
527
|
+
"naver_pay",
|
|
528
|
+
"nz_bank_account",
|
|
529
|
+
"oxxo",
|
|
530
|
+
"p24",
|
|
531
|
+
"pay_by_bank",
|
|
532
|
+
"payco",
|
|
533
|
+
"paynow",
|
|
534
|
+
"paypal",
|
|
535
|
+
"paypay",
|
|
536
|
+
"payto",
|
|
537
|
+
"pix",
|
|
538
|
+
"promptpay",
|
|
539
|
+
"revolut_pay",
|
|
540
|
+
"samsung_pay",
|
|
541
|
+
"satispay",
|
|
542
|
+
"scalapay",
|
|
543
|
+
"sepa_debit",
|
|
544
|
+
"sequra",
|
|
545
|
+
"sofort",
|
|
546
|
+
"sunbit",
|
|
547
|
+
"swish",
|
|
548
|
+
"twint",
|
|
549
|
+
"upi",
|
|
550
|
+
"us_bank_account",
|
|
551
|
+
"wechat_pay",
|
|
552
|
+
"zip",
|
|
553
|
+
]),
|
|
554
|
+
),
|
|
555
|
+
});
|
|
556
|
+
export const GetPaymentMethodsOutput = Schema.StructWithRest(
|
|
557
|
+
Schema.Struct({
|
|
558
|
+
data: Schema.Array(Stripepayment_method),
|
|
559
|
+
has_more: Schema.Boolean.annotate({
|
|
560
|
+
description:
|
|
561
|
+
"True if this list has another page of items after this one that can be fetched.",
|
|
562
|
+
}),
|
|
563
|
+
object: Schema.Literal("list").annotate({
|
|
564
|
+
description:
|
|
565
|
+
"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.",
|
|
566
|
+
}),
|
|
567
|
+
url: Schema.String.annotate({
|
|
568
|
+
description: "The URL where this list can be accessed.",
|
|
569
|
+
})
|
|
570
|
+
.check(
|
|
571
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
572
|
+
expected: "a string with at most 5000 code points",
|
|
573
|
+
}),
|
|
574
|
+
)
|
|
575
|
+
.check(
|
|
576
|
+
Schema.isPattern(
|
|
577
|
+
new globalThis.RegExp("^\\/v1\\/payment_methods", "u"),
|
|
578
|
+
).annotate({
|
|
579
|
+
expected: "a string matching the RegExp ^\\/v1\\/payment_methods",
|
|
580
|
+
}),
|
|
581
|
+
),
|
|
582
|
+
}),
|
|
583
|
+
[
|
|
584
|
+
Schema.Record(
|
|
585
|
+
Schema.String,
|
|
586
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
587
|
+
),
|
|
588
|
+
],
|
|
589
|
+
).annotate({ title: "PaymentFlowsPaymentMethodList", description: "" });
|
|
590
|
+
export const GetPaymentMethodsError = Stripeerror;
|
|
591
|
+
export const PostPaymentMethodsInput = Schema.Struct({
|
|
592
|
+
acss_debit: Schema.optionalKey(
|
|
593
|
+
Schema.StructWithRest(
|
|
594
|
+
Schema.Struct({
|
|
595
|
+
account_number: Schema.String.check(
|
|
596
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
597
|
+
expected: "a string with at most 5000 code points",
|
|
598
|
+
}),
|
|
599
|
+
),
|
|
600
|
+
institution_number: Schema.String.check(
|
|
601
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
602
|
+
expected: "a string with at most 5000 code points",
|
|
603
|
+
}),
|
|
604
|
+
),
|
|
605
|
+
transit_number: Schema.String.check(
|
|
606
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
607
|
+
expected: "a string with at most 5000 code points",
|
|
608
|
+
}),
|
|
609
|
+
),
|
|
610
|
+
}),
|
|
611
|
+
[
|
|
612
|
+
Schema.Record(
|
|
613
|
+
Schema.String,
|
|
614
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
615
|
+
),
|
|
616
|
+
],
|
|
617
|
+
).annotate({
|
|
618
|
+
title: "payment_method_param",
|
|
619
|
+
description:
|
|
620
|
+
"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.",
|
|
621
|
+
}),
|
|
622
|
+
),
|
|
623
|
+
affirm: Schema.optionalKey(
|
|
624
|
+
Schema.Record(
|
|
625
|
+
Schema.String,
|
|
626
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
627
|
+
).annotate({
|
|
628
|
+
title: "param",
|
|
629
|
+
description:
|
|
630
|
+
"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.",
|
|
631
|
+
}),
|
|
632
|
+
),
|
|
633
|
+
afterpay_clearpay: Schema.optionalKey(
|
|
634
|
+
Schema.Record(
|
|
635
|
+
Schema.String,
|
|
636
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
637
|
+
).annotate({
|
|
638
|
+
title: "param",
|
|
639
|
+
description:
|
|
640
|
+
"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.",
|
|
641
|
+
}),
|
|
642
|
+
),
|
|
643
|
+
alipay: Schema.optionalKey(
|
|
644
|
+
Schema.Record(
|
|
645
|
+
Schema.String,
|
|
646
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
647
|
+
).annotate({
|
|
648
|
+
title: "param",
|
|
649
|
+
description:
|
|
650
|
+
"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.",
|
|
651
|
+
}),
|
|
652
|
+
),
|
|
653
|
+
allow_redisplay: Schema.optionalKey(
|
|
654
|
+
Schema.Literals(["always", "limited", "unspecified"]).annotate({
|
|
655
|
+
description:
|
|
656
|
+
"This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.",
|
|
657
|
+
}),
|
|
658
|
+
),
|
|
659
|
+
alma: Schema.optionalKey(
|
|
660
|
+
Schema.Record(
|
|
661
|
+
Schema.String,
|
|
662
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
663
|
+
).annotate({
|
|
664
|
+
title: "param",
|
|
665
|
+
description:
|
|
666
|
+
"If this is an Alma PaymentMethod, this hash contains details about the Alma payment method.",
|
|
667
|
+
}),
|
|
668
|
+
),
|
|
669
|
+
amazon_pay: Schema.optionalKey(
|
|
670
|
+
Schema.Record(
|
|
671
|
+
Schema.String,
|
|
672
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
673
|
+
).annotate({
|
|
674
|
+
title: "param",
|
|
675
|
+
description:
|
|
676
|
+
"If this is an AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.",
|
|
677
|
+
}),
|
|
678
|
+
),
|
|
679
|
+
au_becs_debit: Schema.optionalKey(
|
|
680
|
+
Schema.StructWithRest(
|
|
681
|
+
Schema.Struct({
|
|
682
|
+
account_number: Schema.String.check(
|
|
683
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
684
|
+
expected: "a string with at most 5000 code points",
|
|
685
|
+
}),
|
|
686
|
+
),
|
|
687
|
+
bsb_number: Schema.String.check(
|
|
688
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
689
|
+
expected: "a string with at most 5000 code points",
|
|
690
|
+
}),
|
|
691
|
+
),
|
|
692
|
+
}),
|
|
693
|
+
[
|
|
694
|
+
Schema.Record(
|
|
695
|
+
Schema.String,
|
|
696
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
697
|
+
),
|
|
698
|
+
],
|
|
699
|
+
).annotate({
|
|
700
|
+
title: "param",
|
|
701
|
+
description:
|
|
702
|
+
"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.",
|
|
703
|
+
}),
|
|
704
|
+
),
|
|
705
|
+
bacs_debit: Schema.optionalKey(
|
|
706
|
+
Schema.StructWithRest(
|
|
707
|
+
Schema.Struct({
|
|
708
|
+
account_number: Schema.optionalKey(
|
|
709
|
+
Schema.String.check(
|
|
710
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
711
|
+
expected: "a string with at most 5000 code points",
|
|
712
|
+
}),
|
|
713
|
+
),
|
|
714
|
+
),
|
|
715
|
+
sort_code: Schema.optionalKey(
|
|
716
|
+
Schema.String.check(
|
|
717
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
718
|
+
expected: "a string with at most 5000 code points",
|
|
719
|
+
}),
|
|
720
|
+
),
|
|
721
|
+
),
|
|
722
|
+
}),
|
|
723
|
+
[
|
|
724
|
+
Schema.Record(
|
|
725
|
+
Schema.String,
|
|
726
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
727
|
+
),
|
|
728
|
+
],
|
|
729
|
+
).annotate({
|
|
730
|
+
title: "param",
|
|
731
|
+
description:
|
|
732
|
+
"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.",
|
|
733
|
+
}),
|
|
734
|
+
),
|
|
735
|
+
bancontact: Schema.optionalKey(
|
|
736
|
+
Schema.Record(
|
|
737
|
+
Schema.String,
|
|
738
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
739
|
+
).annotate({
|
|
740
|
+
title: "param",
|
|
741
|
+
description:
|
|
742
|
+
"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.",
|
|
743
|
+
}),
|
|
744
|
+
),
|
|
745
|
+
billie: Schema.optionalKey(
|
|
746
|
+
Schema.Record(
|
|
747
|
+
Schema.String,
|
|
748
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
749
|
+
).annotate({
|
|
750
|
+
title: "param",
|
|
751
|
+
description:
|
|
752
|
+
"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.",
|
|
753
|
+
}),
|
|
754
|
+
),
|
|
755
|
+
billing_details: Schema.optionalKey(
|
|
756
|
+
Schema.StructWithRest(
|
|
757
|
+
Schema.Struct({
|
|
758
|
+
address: Schema.optionalKey(
|
|
759
|
+
Schema.Union([
|
|
760
|
+
Schema.StructWithRest(
|
|
761
|
+
Schema.Struct({
|
|
762
|
+
city: Schema.optionalKey(
|
|
763
|
+
Schema.String.check(
|
|
764
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
765
|
+
expected: "a string with at most 5000 code points",
|
|
766
|
+
}),
|
|
767
|
+
),
|
|
768
|
+
),
|
|
769
|
+
country: Schema.optionalKey(
|
|
770
|
+
Schema.String.check(
|
|
771
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
772
|
+
expected: "a string with at most 5000 code points",
|
|
773
|
+
}),
|
|
774
|
+
),
|
|
775
|
+
),
|
|
776
|
+
line1: Schema.optionalKey(
|
|
777
|
+
Schema.String.check(
|
|
778
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
779
|
+
expected: "a string with at most 5000 code points",
|
|
780
|
+
}),
|
|
781
|
+
),
|
|
782
|
+
),
|
|
783
|
+
line2: Schema.optionalKey(
|
|
784
|
+
Schema.String.check(
|
|
785
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
786
|
+
expected: "a string with at most 5000 code points",
|
|
787
|
+
}),
|
|
788
|
+
),
|
|
789
|
+
),
|
|
790
|
+
postal_code: Schema.optionalKey(
|
|
791
|
+
Schema.String.check(
|
|
792
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
793
|
+
expected: "a string with at most 5000 code points",
|
|
794
|
+
}),
|
|
795
|
+
),
|
|
796
|
+
),
|
|
797
|
+
state: Schema.optionalKey(
|
|
798
|
+
Schema.String.check(
|
|
799
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
800
|
+
expected: "a string with at most 5000 code points",
|
|
801
|
+
}),
|
|
802
|
+
),
|
|
803
|
+
),
|
|
804
|
+
}),
|
|
805
|
+
[
|
|
806
|
+
Schema.Record(
|
|
807
|
+
Schema.String,
|
|
808
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
809
|
+
),
|
|
810
|
+
],
|
|
811
|
+
).annotate({ title: "billing_details_address" }),
|
|
812
|
+
Schema.Literal(""),
|
|
813
|
+
]),
|
|
814
|
+
),
|
|
815
|
+
email: Schema.optionalKey(
|
|
816
|
+
Schema.Union([
|
|
817
|
+
Schema.String.check(
|
|
818
|
+
Schema.isMaxCodePoints(800).annotate({
|
|
819
|
+
expected: "a string with at most 800 code points",
|
|
820
|
+
}),
|
|
821
|
+
),
|
|
822
|
+
Schema.Literal(""),
|
|
823
|
+
]),
|
|
824
|
+
),
|
|
825
|
+
name: Schema.optionalKey(
|
|
826
|
+
Schema.Union([
|
|
827
|
+
Schema.String.check(
|
|
828
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
829
|
+
expected: "a string with at most 5000 code points",
|
|
830
|
+
}),
|
|
831
|
+
),
|
|
832
|
+
Schema.Literal(""),
|
|
833
|
+
]),
|
|
834
|
+
),
|
|
835
|
+
phone: Schema.optionalKey(
|
|
836
|
+
Schema.Union([
|
|
837
|
+
Schema.String.check(
|
|
838
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
839
|
+
expected: "a string with at most 5000 code points",
|
|
840
|
+
}),
|
|
841
|
+
),
|
|
842
|
+
Schema.Literal(""),
|
|
843
|
+
]),
|
|
844
|
+
),
|
|
845
|
+
tax_id: Schema.optionalKey(
|
|
846
|
+
Schema.String.check(
|
|
847
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
848
|
+
expected: "a string with at most 5000 code points",
|
|
849
|
+
}),
|
|
850
|
+
),
|
|
851
|
+
),
|
|
852
|
+
}),
|
|
853
|
+
[
|
|
854
|
+
Schema.Record(
|
|
855
|
+
Schema.String,
|
|
856
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
857
|
+
),
|
|
858
|
+
],
|
|
859
|
+
).annotate({
|
|
860
|
+
title: "billing_details_inner_params",
|
|
861
|
+
description:
|
|
862
|
+
"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
|
|
863
|
+
}),
|
|
864
|
+
),
|
|
865
|
+
bizum: Schema.optionalKey(
|
|
866
|
+
Schema.Record(
|
|
867
|
+
Schema.String,
|
|
868
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
869
|
+
).annotate({
|
|
870
|
+
title: "param",
|
|
871
|
+
description:
|
|
872
|
+
"If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method.",
|
|
873
|
+
}),
|
|
874
|
+
),
|
|
875
|
+
blik: Schema.optionalKey(
|
|
876
|
+
Schema.Record(
|
|
877
|
+
Schema.String,
|
|
878
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
879
|
+
).annotate({
|
|
880
|
+
title: "param",
|
|
881
|
+
description:
|
|
882
|
+
"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.",
|
|
883
|
+
}),
|
|
884
|
+
),
|
|
885
|
+
boleto: Schema.optionalKey(
|
|
886
|
+
Schema.StructWithRest(
|
|
887
|
+
Schema.Struct({
|
|
888
|
+
tax_id: Schema.String.check(
|
|
889
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
890
|
+
expected: "a string with at most 5000 code points",
|
|
891
|
+
}),
|
|
892
|
+
),
|
|
893
|
+
}),
|
|
894
|
+
[
|
|
895
|
+
Schema.Record(
|
|
896
|
+
Schema.String,
|
|
897
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
898
|
+
),
|
|
899
|
+
],
|
|
900
|
+
).annotate({
|
|
901
|
+
title: "param",
|
|
902
|
+
description:
|
|
903
|
+
"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.",
|
|
904
|
+
}),
|
|
905
|
+
),
|
|
906
|
+
card: Schema.optionalKey(
|
|
907
|
+
Schema.Union([
|
|
908
|
+
Schema.StructWithRest(
|
|
909
|
+
Schema.Struct({
|
|
910
|
+
cvc: Schema.optionalKey(
|
|
911
|
+
Schema.String.check(
|
|
912
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
913
|
+
expected: "a string with at most 5000 code points",
|
|
914
|
+
}),
|
|
915
|
+
),
|
|
916
|
+
),
|
|
917
|
+
exp_month: Schema.Int,
|
|
918
|
+
exp_year: Schema.Int,
|
|
919
|
+
networks: Schema.optionalKey(
|
|
920
|
+
Schema.StructWithRest(
|
|
921
|
+
Schema.Struct({
|
|
922
|
+
preferred: Schema.optionalKey(
|
|
923
|
+
Schema.Literals(["cartes_bancaires", "mastercard", "visa"]),
|
|
924
|
+
),
|
|
925
|
+
}),
|
|
926
|
+
[
|
|
927
|
+
Schema.Record(
|
|
928
|
+
Schema.String,
|
|
929
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
930
|
+
),
|
|
931
|
+
],
|
|
932
|
+
).annotate({ title: "networks_params" }),
|
|
933
|
+
),
|
|
934
|
+
number: Schema.String.check(
|
|
935
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
936
|
+
expected: "a string with at most 5000 code points",
|
|
937
|
+
}),
|
|
938
|
+
),
|
|
939
|
+
}),
|
|
940
|
+
[
|
|
941
|
+
Schema.Record(
|
|
942
|
+
Schema.String,
|
|
943
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
944
|
+
),
|
|
945
|
+
],
|
|
946
|
+
).annotate({ title: "card_details_params" }),
|
|
947
|
+
Schema.StructWithRest(
|
|
948
|
+
Schema.Struct({
|
|
949
|
+
token: Schema.String.check(
|
|
950
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
951
|
+
expected: "a string with at most 5000 code points",
|
|
952
|
+
}),
|
|
953
|
+
),
|
|
954
|
+
}),
|
|
955
|
+
[
|
|
956
|
+
Schema.Record(
|
|
957
|
+
Schema.String,
|
|
958
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
959
|
+
),
|
|
960
|
+
],
|
|
961
|
+
).annotate({ title: "token_params" }),
|
|
962
|
+
]).annotate({
|
|
963
|
+
description:
|
|
964
|
+
'If this is a `card` PaymentMethod, this hash contains the user\'s card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: "tok_visa"}`. When providing a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly.',
|
|
965
|
+
}),
|
|
966
|
+
),
|
|
967
|
+
cashapp: Schema.optionalKey(
|
|
968
|
+
Schema.Record(
|
|
969
|
+
Schema.String,
|
|
970
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
971
|
+
).annotate({
|
|
972
|
+
title: "param",
|
|
973
|
+
description:
|
|
974
|
+
"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.",
|
|
975
|
+
}),
|
|
976
|
+
),
|
|
977
|
+
crypto: Schema.optionalKey(
|
|
978
|
+
Schema.Record(
|
|
979
|
+
Schema.String,
|
|
980
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
981
|
+
).annotate({
|
|
982
|
+
title: "param",
|
|
983
|
+
description:
|
|
984
|
+
"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.",
|
|
985
|
+
}),
|
|
986
|
+
),
|
|
987
|
+
custom: Schema.optionalKey(
|
|
988
|
+
Schema.StructWithRest(
|
|
989
|
+
Schema.Struct({
|
|
990
|
+
type: Schema.String.check(
|
|
991
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
992
|
+
expected: "a string with at most 5000 code points",
|
|
993
|
+
}),
|
|
994
|
+
),
|
|
995
|
+
}),
|
|
996
|
+
[
|
|
997
|
+
Schema.Record(
|
|
998
|
+
Schema.String,
|
|
999
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1000
|
+
),
|
|
1001
|
+
],
|
|
1002
|
+
).annotate({
|
|
1003
|
+
title: "create_param",
|
|
1004
|
+
description:
|
|
1005
|
+
"If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method.",
|
|
1006
|
+
}),
|
|
1007
|
+
),
|
|
1008
|
+
customer: Schema.optionalKey(
|
|
1009
|
+
Schema.String.annotate({
|
|
1010
|
+
description:
|
|
1011
|
+
"The `Customer` to whom the original PaymentMethod is attached.",
|
|
1012
|
+
}).check(
|
|
1013
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1014
|
+
expected: "a string with at most 5000 code points",
|
|
1015
|
+
}),
|
|
1016
|
+
),
|
|
1017
|
+
),
|
|
1018
|
+
customer_balance: Schema.optionalKey(
|
|
1019
|
+
Schema.Record(
|
|
1020
|
+
Schema.String,
|
|
1021
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1022
|
+
).annotate({
|
|
1023
|
+
title: "param",
|
|
1024
|
+
description:
|
|
1025
|
+
"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.",
|
|
1026
|
+
}),
|
|
1027
|
+
),
|
|
1028
|
+
eps: Schema.optionalKey(
|
|
1029
|
+
Schema.StructWithRest(
|
|
1030
|
+
Schema.Struct({
|
|
1031
|
+
bank: Schema.optionalKey(
|
|
1032
|
+
Schema.Literals([
|
|
1033
|
+
"arzte_und_apotheker_bank",
|
|
1034
|
+
"austrian_anadi_bank_ag",
|
|
1035
|
+
"bank_austria",
|
|
1036
|
+
"bankhaus_carl_spangler",
|
|
1037
|
+
"bankhaus_schelhammer_und_schattera_ag",
|
|
1038
|
+
"bawag_psk_ag",
|
|
1039
|
+
"bks_bank_ag",
|
|
1040
|
+
"brull_kallmus_bank_ag",
|
|
1041
|
+
"btv_vier_lander_bank",
|
|
1042
|
+
"capital_bank_grawe_gruppe_ag",
|
|
1043
|
+
"deutsche_bank_ag",
|
|
1044
|
+
"dolomitenbank",
|
|
1045
|
+
"easybank_ag",
|
|
1046
|
+
"erste_bank_und_sparkassen",
|
|
1047
|
+
"hypo_alpeadriabank_international_ag",
|
|
1048
|
+
"hypo_bank_burgenland_aktiengesellschaft",
|
|
1049
|
+
"hypo_noe_lb_fur_niederosterreich_u_wien",
|
|
1050
|
+
"hypo_oberosterreich_salzburg_steiermark",
|
|
1051
|
+
"hypo_tirol_bank_ag",
|
|
1052
|
+
"hypo_vorarlberg_bank_ag",
|
|
1053
|
+
"marchfelder_bank",
|
|
1054
|
+
"oberbank_ag",
|
|
1055
|
+
"raiffeisen_bankengruppe_osterreich",
|
|
1056
|
+
"schoellerbank_ag",
|
|
1057
|
+
"sparda_bank_wien",
|
|
1058
|
+
"volksbank_gruppe",
|
|
1059
|
+
"volkskreditbank_ag",
|
|
1060
|
+
"vr_bank_braunau",
|
|
1061
|
+
]),
|
|
1062
|
+
),
|
|
1063
|
+
}),
|
|
1064
|
+
[
|
|
1065
|
+
Schema.Record(
|
|
1066
|
+
Schema.String,
|
|
1067
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1068
|
+
),
|
|
1069
|
+
],
|
|
1070
|
+
).annotate({
|
|
1071
|
+
title: "param",
|
|
1072
|
+
description:
|
|
1073
|
+
"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.",
|
|
1074
|
+
}),
|
|
1075
|
+
),
|
|
1076
|
+
expand: Schema.optionalKey(
|
|
1077
|
+
Schema.Array(
|
|
1078
|
+
Schema.String.check(
|
|
1079
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1080
|
+
expected: "a string with at most 5000 code points",
|
|
1081
|
+
}),
|
|
1082
|
+
),
|
|
1083
|
+
).annotate({
|
|
1084
|
+
description: "Specifies which fields in the response should be expanded.",
|
|
1085
|
+
}),
|
|
1086
|
+
),
|
|
1087
|
+
fpx: Schema.optionalKey(
|
|
1088
|
+
Schema.StructWithRest(
|
|
1089
|
+
Schema.Struct({
|
|
1090
|
+
bank: Schema.Literals([
|
|
1091
|
+
"affin_bank",
|
|
1092
|
+
"agrobank",
|
|
1093
|
+
"alliance_bank",
|
|
1094
|
+
"ambank",
|
|
1095
|
+
"bank_islam",
|
|
1096
|
+
"bank_muamalat",
|
|
1097
|
+
"bank_of_china",
|
|
1098
|
+
"bank_rakyat",
|
|
1099
|
+
"bnp_paribas",
|
|
1100
|
+
"bsn",
|
|
1101
|
+
"cimb",
|
|
1102
|
+
"citibank",
|
|
1103
|
+
"deutsche_bank",
|
|
1104
|
+
"hong_leong_bank",
|
|
1105
|
+
"hsbc",
|
|
1106
|
+
"kfh",
|
|
1107
|
+
"maybank2e",
|
|
1108
|
+
"maybank2u",
|
|
1109
|
+
"mbsb_bank",
|
|
1110
|
+
"ocbc",
|
|
1111
|
+
"pb_enterprise",
|
|
1112
|
+
"public_bank",
|
|
1113
|
+
"rhb",
|
|
1114
|
+
"standard_chartered",
|
|
1115
|
+
"uob",
|
|
1116
|
+
]),
|
|
1117
|
+
}),
|
|
1118
|
+
[
|
|
1119
|
+
Schema.Record(
|
|
1120
|
+
Schema.String,
|
|
1121
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1122
|
+
),
|
|
1123
|
+
],
|
|
1124
|
+
).annotate({
|
|
1125
|
+
title: "param",
|
|
1126
|
+
description:
|
|
1127
|
+
"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.",
|
|
1128
|
+
}),
|
|
1129
|
+
),
|
|
1130
|
+
giropay: Schema.optionalKey(
|
|
1131
|
+
Schema.Record(
|
|
1132
|
+
Schema.String,
|
|
1133
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1134
|
+
).annotate({
|
|
1135
|
+
title: "param",
|
|
1136
|
+
description:
|
|
1137
|
+
"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.",
|
|
1138
|
+
}),
|
|
1139
|
+
),
|
|
1140
|
+
grabpay: Schema.optionalKey(
|
|
1141
|
+
Schema.Record(
|
|
1142
|
+
Schema.String,
|
|
1143
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1144
|
+
).annotate({
|
|
1145
|
+
title: "param",
|
|
1146
|
+
description:
|
|
1147
|
+
"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.",
|
|
1148
|
+
}),
|
|
1149
|
+
),
|
|
1150
|
+
ideal: Schema.optionalKey(
|
|
1151
|
+
Schema.StructWithRest(
|
|
1152
|
+
Schema.Struct({
|
|
1153
|
+
bank: Schema.optionalKey(
|
|
1154
|
+
Schema.Literals([
|
|
1155
|
+
"abn_amro",
|
|
1156
|
+
"adyen",
|
|
1157
|
+
"asn_bank",
|
|
1158
|
+
"bunq",
|
|
1159
|
+
"buut",
|
|
1160
|
+
"finom",
|
|
1161
|
+
"handelsbanken",
|
|
1162
|
+
"ing",
|
|
1163
|
+
"knab",
|
|
1164
|
+
"mollie",
|
|
1165
|
+
"moneyou",
|
|
1166
|
+
"n26",
|
|
1167
|
+
"nn",
|
|
1168
|
+
"rabobank",
|
|
1169
|
+
"regiobank",
|
|
1170
|
+
"revolut",
|
|
1171
|
+
"sns_bank",
|
|
1172
|
+
"triodos_bank",
|
|
1173
|
+
"van_lanschot",
|
|
1174
|
+
"yoursafe",
|
|
1175
|
+
]),
|
|
1176
|
+
),
|
|
1177
|
+
}),
|
|
1178
|
+
[
|
|
1179
|
+
Schema.Record(
|
|
1180
|
+
Schema.String,
|
|
1181
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1182
|
+
),
|
|
1183
|
+
],
|
|
1184
|
+
).annotate({
|
|
1185
|
+
title: "param",
|
|
1186
|
+
description:
|
|
1187
|
+
"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.",
|
|
1188
|
+
}),
|
|
1189
|
+
),
|
|
1190
|
+
interac_present: Schema.optionalKey(
|
|
1191
|
+
Schema.Record(
|
|
1192
|
+
Schema.String,
|
|
1193
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1194
|
+
).annotate({
|
|
1195
|
+
title: "param",
|
|
1196
|
+
description:
|
|
1197
|
+
"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.",
|
|
1198
|
+
}),
|
|
1199
|
+
),
|
|
1200
|
+
kakao_pay: Schema.optionalKey(
|
|
1201
|
+
Schema.Record(
|
|
1202
|
+
Schema.String,
|
|
1203
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1204
|
+
).annotate({
|
|
1205
|
+
title: "param",
|
|
1206
|
+
description:
|
|
1207
|
+
"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.",
|
|
1208
|
+
}),
|
|
1209
|
+
),
|
|
1210
|
+
klarna: Schema.optionalKey(
|
|
1211
|
+
Schema.StructWithRest(
|
|
1212
|
+
Schema.Struct({
|
|
1213
|
+
dob: Schema.optionalKey(
|
|
1214
|
+
Schema.StructWithRest(
|
|
1215
|
+
Schema.Struct({
|
|
1216
|
+
day: Schema.Int,
|
|
1217
|
+
month: Schema.Int,
|
|
1218
|
+
year: Schema.Int,
|
|
1219
|
+
}),
|
|
1220
|
+
[
|
|
1221
|
+
Schema.Record(
|
|
1222
|
+
Schema.String,
|
|
1223
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1224
|
+
),
|
|
1225
|
+
],
|
|
1226
|
+
).annotate({ title: "date_of_birth" }),
|
|
1227
|
+
),
|
|
1228
|
+
}),
|
|
1229
|
+
[
|
|
1230
|
+
Schema.Record(
|
|
1231
|
+
Schema.String,
|
|
1232
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1233
|
+
),
|
|
1234
|
+
],
|
|
1235
|
+
).annotate({
|
|
1236
|
+
title: "param",
|
|
1237
|
+
description:
|
|
1238
|
+
"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.",
|
|
1239
|
+
}),
|
|
1240
|
+
),
|
|
1241
|
+
konbini: Schema.optionalKey(
|
|
1242
|
+
Schema.Record(
|
|
1243
|
+
Schema.String,
|
|
1244
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1245
|
+
).annotate({
|
|
1246
|
+
title: "param",
|
|
1247
|
+
description:
|
|
1248
|
+
"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.",
|
|
1249
|
+
}),
|
|
1250
|
+
),
|
|
1251
|
+
kr_card: Schema.optionalKey(
|
|
1252
|
+
Schema.Record(
|
|
1253
|
+
Schema.String,
|
|
1254
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1255
|
+
).annotate({
|
|
1256
|
+
title: "param",
|
|
1257
|
+
description:
|
|
1258
|
+
"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.",
|
|
1259
|
+
}),
|
|
1260
|
+
),
|
|
1261
|
+
link: Schema.optionalKey(
|
|
1262
|
+
Schema.Record(
|
|
1263
|
+
Schema.String,
|
|
1264
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1265
|
+
).annotate({
|
|
1266
|
+
title: "param",
|
|
1267
|
+
description:
|
|
1268
|
+
"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method (Link is also known as Onelink in the UK).",
|
|
1269
|
+
}),
|
|
1270
|
+
),
|
|
1271
|
+
mb_way: Schema.optionalKey(
|
|
1272
|
+
Schema.Record(
|
|
1273
|
+
Schema.String,
|
|
1274
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1275
|
+
).annotate({
|
|
1276
|
+
title: "param",
|
|
1277
|
+
description:
|
|
1278
|
+
"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.",
|
|
1279
|
+
}),
|
|
1280
|
+
),
|
|
1281
|
+
metadata: Schema.optionalKey(
|
|
1282
|
+
Schema.Record(Schema.String, Schema.String).annotate({
|
|
1283
|
+
description:
|
|
1284
|
+
"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`.",
|
|
1285
|
+
}),
|
|
1286
|
+
),
|
|
1287
|
+
mobilepay: Schema.optionalKey(
|
|
1288
|
+
Schema.Record(
|
|
1289
|
+
Schema.String,
|
|
1290
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1291
|
+
).annotate({
|
|
1292
|
+
title: "param",
|
|
1293
|
+
description:
|
|
1294
|
+
"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.",
|
|
1295
|
+
}),
|
|
1296
|
+
),
|
|
1297
|
+
multibanco: Schema.optionalKey(
|
|
1298
|
+
Schema.Record(
|
|
1299
|
+
Schema.String,
|
|
1300
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1301
|
+
).annotate({
|
|
1302
|
+
title: "param",
|
|
1303
|
+
description:
|
|
1304
|
+
"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.",
|
|
1305
|
+
}),
|
|
1306
|
+
),
|
|
1307
|
+
naver_pay: Schema.optionalKey(
|
|
1308
|
+
Schema.StructWithRest(
|
|
1309
|
+
Schema.Struct({
|
|
1310
|
+
funding: Schema.optionalKey(Schema.Literals(["card", "points"])),
|
|
1311
|
+
}),
|
|
1312
|
+
[
|
|
1313
|
+
Schema.Record(
|
|
1314
|
+
Schema.String,
|
|
1315
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1316
|
+
),
|
|
1317
|
+
],
|
|
1318
|
+
).annotate({
|
|
1319
|
+
title: "param",
|
|
1320
|
+
description:
|
|
1321
|
+
"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.",
|
|
1322
|
+
}),
|
|
1323
|
+
),
|
|
1324
|
+
nz_bank_account: Schema.optionalKey(
|
|
1325
|
+
Schema.StructWithRest(
|
|
1326
|
+
Schema.Struct({
|
|
1327
|
+
account_holder_name: Schema.optionalKey(
|
|
1328
|
+
Schema.String.check(
|
|
1329
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1330
|
+
expected: "a string with at most 5000 code points",
|
|
1331
|
+
}),
|
|
1332
|
+
),
|
|
1333
|
+
),
|
|
1334
|
+
account_number: Schema.String.check(
|
|
1335
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1336
|
+
expected: "a string with at most 5000 code points",
|
|
1337
|
+
}),
|
|
1338
|
+
),
|
|
1339
|
+
bank_code: Schema.String.check(
|
|
1340
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1341
|
+
expected: "a string with at most 5000 code points",
|
|
1342
|
+
}),
|
|
1343
|
+
),
|
|
1344
|
+
branch_code: Schema.String.check(
|
|
1345
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1346
|
+
expected: "a string with at most 5000 code points",
|
|
1347
|
+
}),
|
|
1348
|
+
),
|
|
1349
|
+
reference: Schema.optionalKey(
|
|
1350
|
+
Schema.String.check(
|
|
1351
|
+
Schema.isMaxCodePoints(128).annotate({
|
|
1352
|
+
expected: "a string with at most 128 code points",
|
|
1353
|
+
}),
|
|
1354
|
+
),
|
|
1355
|
+
),
|
|
1356
|
+
suffix: Schema.String.check(
|
|
1357
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1358
|
+
expected: "a string with at most 5000 code points",
|
|
1359
|
+
}),
|
|
1360
|
+
),
|
|
1361
|
+
}),
|
|
1362
|
+
[
|
|
1363
|
+
Schema.Record(
|
|
1364
|
+
Schema.String,
|
|
1365
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1366
|
+
),
|
|
1367
|
+
],
|
|
1368
|
+
).annotate({
|
|
1369
|
+
title: "param",
|
|
1370
|
+
description:
|
|
1371
|
+
"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.",
|
|
1372
|
+
}),
|
|
1373
|
+
),
|
|
1374
|
+
oxxo: Schema.optionalKey(
|
|
1375
|
+
Schema.Record(
|
|
1376
|
+
Schema.String,
|
|
1377
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1378
|
+
).annotate({
|
|
1379
|
+
title: "param",
|
|
1380
|
+
description:
|
|
1381
|
+
"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.",
|
|
1382
|
+
}),
|
|
1383
|
+
),
|
|
1384
|
+
p24: Schema.optionalKey(
|
|
1385
|
+
Schema.StructWithRest(
|
|
1386
|
+
Schema.Struct({
|
|
1387
|
+
bank: Schema.optionalKey(
|
|
1388
|
+
Schema.Literals([
|
|
1389
|
+
"alior_bank",
|
|
1390
|
+
"bank_millennium",
|
|
1391
|
+
"bank_nowy_bfg_sa",
|
|
1392
|
+
"bank_pekao_sa",
|
|
1393
|
+
"banki_spbdzielcze",
|
|
1394
|
+
"blik",
|
|
1395
|
+
"bnp_paribas",
|
|
1396
|
+
"boz",
|
|
1397
|
+
"citi_handlowy",
|
|
1398
|
+
"credit_agricole",
|
|
1399
|
+
"envelobank",
|
|
1400
|
+
"etransfer_pocztowy24",
|
|
1401
|
+
"getin_bank",
|
|
1402
|
+
"ideabank",
|
|
1403
|
+
"ing",
|
|
1404
|
+
"inteligo",
|
|
1405
|
+
"mbank_mtransfer",
|
|
1406
|
+
"nest_przelew",
|
|
1407
|
+
"noble_pay",
|
|
1408
|
+
"pbac_z_ipko",
|
|
1409
|
+
"plus_bank",
|
|
1410
|
+
"santander_przelew24",
|
|
1411
|
+
"tmobile_usbugi_bankowe",
|
|
1412
|
+
"toyota_bank",
|
|
1413
|
+
"velobank",
|
|
1414
|
+
"volkswagen_bank",
|
|
1415
|
+
]),
|
|
1416
|
+
),
|
|
1417
|
+
}),
|
|
1418
|
+
[
|
|
1419
|
+
Schema.Record(
|
|
1420
|
+
Schema.String,
|
|
1421
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1422
|
+
),
|
|
1423
|
+
],
|
|
1424
|
+
).annotate({
|
|
1425
|
+
title: "param",
|
|
1426
|
+
description:
|
|
1427
|
+
"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.",
|
|
1428
|
+
}),
|
|
1429
|
+
),
|
|
1430
|
+
pay_by_bank: Schema.optionalKey(
|
|
1431
|
+
Schema.Record(
|
|
1432
|
+
Schema.String,
|
|
1433
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1434
|
+
).annotate({
|
|
1435
|
+
title: "param",
|
|
1436
|
+
description:
|
|
1437
|
+
"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.",
|
|
1438
|
+
}),
|
|
1439
|
+
),
|
|
1440
|
+
payco: Schema.optionalKey(
|
|
1441
|
+
Schema.Record(
|
|
1442
|
+
Schema.String,
|
|
1443
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1444
|
+
).annotate({
|
|
1445
|
+
title: "param",
|
|
1446
|
+
description:
|
|
1447
|
+
"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.",
|
|
1448
|
+
}),
|
|
1449
|
+
),
|
|
1450
|
+
payment_method: Schema.optionalKey(
|
|
1451
|
+
Schema.String.annotate({
|
|
1452
|
+
description: "The PaymentMethod to share.",
|
|
1453
|
+
}).check(
|
|
1454
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1455
|
+
expected: "a string with at most 5000 code points",
|
|
1456
|
+
}),
|
|
1457
|
+
),
|
|
1458
|
+
),
|
|
1459
|
+
paynow: Schema.optionalKey(
|
|
1460
|
+
Schema.Record(
|
|
1461
|
+
Schema.String,
|
|
1462
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1463
|
+
).annotate({
|
|
1464
|
+
title: "param",
|
|
1465
|
+
description:
|
|
1466
|
+
"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.",
|
|
1467
|
+
}),
|
|
1468
|
+
),
|
|
1469
|
+
paypal: Schema.optionalKey(
|
|
1470
|
+
Schema.Record(
|
|
1471
|
+
Schema.String,
|
|
1472
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1473
|
+
).annotate({
|
|
1474
|
+
title: "param",
|
|
1475
|
+
description:
|
|
1476
|
+
"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.",
|
|
1477
|
+
}),
|
|
1478
|
+
),
|
|
1479
|
+
paypay: Schema.optionalKey(
|
|
1480
|
+
Schema.Record(
|
|
1481
|
+
Schema.String,
|
|
1482
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1483
|
+
).annotate({
|
|
1484
|
+
title: "param",
|
|
1485
|
+
description:
|
|
1486
|
+
"If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.",
|
|
1487
|
+
}),
|
|
1488
|
+
),
|
|
1489
|
+
payto: Schema.optionalKey(
|
|
1490
|
+
Schema.StructWithRest(
|
|
1491
|
+
Schema.Struct({
|
|
1492
|
+
account_number: Schema.optionalKey(
|
|
1493
|
+
Schema.String.check(
|
|
1494
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1495
|
+
expected: "a string with at most 5000 code points",
|
|
1496
|
+
}),
|
|
1497
|
+
),
|
|
1498
|
+
),
|
|
1499
|
+
bsb_number: Schema.optionalKey(
|
|
1500
|
+
Schema.String.check(
|
|
1501
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1502
|
+
expected: "a string with at most 5000 code points",
|
|
1503
|
+
}),
|
|
1504
|
+
),
|
|
1505
|
+
),
|
|
1506
|
+
pay_id: Schema.optionalKey(
|
|
1507
|
+
Schema.String.check(
|
|
1508
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1509
|
+
expected: "a string with at most 5000 code points",
|
|
1510
|
+
}),
|
|
1511
|
+
),
|
|
1512
|
+
),
|
|
1513
|
+
}),
|
|
1514
|
+
[
|
|
1515
|
+
Schema.Record(
|
|
1516
|
+
Schema.String,
|
|
1517
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1518
|
+
),
|
|
1519
|
+
],
|
|
1520
|
+
).annotate({
|
|
1521
|
+
title: "param",
|
|
1522
|
+
description:
|
|
1523
|
+
"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.",
|
|
1524
|
+
}),
|
|
1525
|
+
),
|
|
1526
|
+
pix: Schema.optionalKey(
|
|
1527
|
+
Schema.Record(
|
|
1528
|
+
Schema.String,
|
|
1529
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1530
|
+
).annotate({
|
|
1531
|
+
title: "param",
|
|
1532
|
+
description:
|
|
1533
|
+
"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.",
|
|
1534
|
+
}),
|
|
1535
|
+
),
|
|
1536
|
+
promptpay: Schema.optionalKey(
|
|
1537
|
+
Schema.Record(
|
|
1538
|
+
Schema.String,
|
|
1539
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1540
|
+
).annotate({
|
|
1541
|
+
title: "param",
|
|
1542
|
+
description:
|
|
1543
|
+
"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.",
|
|
1544
|
+
}),
|
|
1545
|
+
),
|
|
1546
|
+
radar_options: Schema.optionalKey(
|
|
1547
|
+
Schema.StructWithRest(
|
|
1548
|
+
Schema.Struct({
|
|
1549
|
+
session: Schema.optionalKey(
|
|
1550
|
+
Schema.String.check(
|
|
1551
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1552
|
+
expected: "a string with at most 5000 code points",
|
|
1553
|
+
}),
|
|
1554
|
+
),
|
|
1555
|
+
),
|
|
1556
|
+
}),
|
|
1557
|
+
[
|
|
1558
|
+
Schema.Record(
|
|
1559
|
+
Schema.String,
|
|
1560
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1561
|
+
),
|
|
1562
|
+
],
|
|
1563
|
+
).annotate({
|
|
1564
|
+
title: "radar_options_with_hidden_options",
|
|
1565
|
+
description:
|
|
1566
|
+
"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.",
|
|
1567
|
+
}),
|
|
1568
|
+
),
|
|
1569
|
+
revolut_pay: Schema.optionalKey(
|
|
1570
|
+
Schema.Record(
|
|
1571
|
+
Schema.String,
|
|
1572
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1573
|
+
).annotate({
|
|
1574
|
+
title: "param",
|
|
1575
|
+
description:
|
|
1576
|
+
"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.",
|
|
1577
|
+
}),
|
|
1578
|
+
),
|
|
1579
|
+
samsung_pay: Schema.optionalKey(
|
|
1580
|
+
Schema.Record(
|
|
1581
|
+
Schema.String,
|
|
1582
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1583
|
+
).annotate({
|
|
1584
|
+
title: "param",
|
|
1585
|
+
description:
|
|
1586
|
+
"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.",
|
|
1587
|
+
}),
|
|
1588
|
+
),
|
|
1589
|
+
satispay: Schema.optionalKey(
|
|
1590
|
+
Schema.Record(
|
|
1591
|
+
Schema.String,
|
|
1592
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1593
|
+
).annotate({
|
|
1594
|
+
title: "param",
|
|
1595
|
+
description:
|
|
1596
|
+
"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.",
|
|
1597
|
+
}),
|
|
1598
|
+
),
|
|
1599
|
+
scalapay: Schema.optionalKey(
|
|
1600
|
+
Schema.Record(
|
|
1601
|
+
Schema.String,
|
|
1602
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1603
|
+
).annotate({
|
|
1604
|
+
title: "param",
|
|
1605
|
+
description:
|
|
1606
|
+
"If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay payment method.",
|
|
1607
|
+
}),
|
|
1608
|
+
),
|
|
1609
|
+
sepa_debit: Schema.optionalKey(
|
|
1610
|
+
Schema.StructWithRest(
|
|
1611
|
+
Schema.Struct({
|
|
1612
|
+
iban: Schema.String.check(
|
|
1613
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1614
|
+
expected: "a string with at most 5000 code points",
|
|
1615
|
+
}),
|
|
1616
|
+
),
|
|
1617
|
+
}),
|
|
1618
|
+
[
|
|
1619
|
+
Schema.Record(
|
|
1620
|
+
Schema.String,
|
|
1621
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1622
|
+
),
|
|
1623
|
+
],
|
|
1624
|
+
).annotate({
|
|
1625
|
+
title: "param",
|
|
1626
|
+
description:
|
|
1627
|
+
"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.",
|
|
1628
|
+
}),
|
|
1629
|
+
),
|
|
1630
|
+
sequra: Schema.optionalKey(
|
|
1631
|
+
Schema.Record(
|
|
1632
|
+
Schema.String,
|
|
1633
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1634
|
+
).annotate({
|
|
1635
|
+
title: "param",
|
|
1636
|
+
description:
|
|
1637
|
+
"If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.",
|
|
1638
|
+
}),
|
|
1639
|
+
),
|
|
1640
|
+
sofort: Schema.optionalKey(
|
|
1641
|
+
Schema.StructWithRest(
|
|
1642
|
+
Schema.Struct({
|
|
1643
|
+
country: Schema.Literals(["AT", "BE", "DE", "ES", "IT", "NL"]),
|
|
1644
|
+
}),
|
|
1645
|
+
[
|
|
1646
|
+
Schema.Record(
|
|
1647
|
+
Schema.String,
|
|
1648
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1649
|
+
),
|
|
1650
|
+
],
|
|
1651
|
+
).annotate({
|
|
1652
|
+
title: "param",
|
|
1653
|
+
description:
|
|
1654
|
+
"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.",
|
|
1655
|
+
}),
|
|
1656
|
+
),
|
|
1657
|
+
sunbit: Schema.optionalKey(
|
|
1658
|
+
Schema.Record(
|
|
1659
|
+
Schema.String,
|
|
1660
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1661
|
+
).annotate({
|
|
1662
|
+
title: "param",
|
|
1663
|
+
description:
|
|
1664
|
+
"If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.",
|
|
1665
|
+
}),
|
|
1666
|
+
),
|
|
1667
|
+
swish: Schema.optionalKey(
|
|
1668
|
+
Schema.Record(
|
|
1669
|
+
Schema.String,
|
|
1670
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1671
|
+
).annotate({
|
|
1672
|
+
title: "param",
|
|
1673
|
+
description:
|
|
1674
|
+
"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.",
|
|
1675
|
+
}),
|
|
1676
|
+
),
|
|
1677
|
+
twint: Schema.optionalKey(
|
|
1678
|
+
Schema.Record(
|
|
1679
|
+
Schema.String,
|
|
1680
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1681
|
+
).annotate({
|
|
1682
|
+
title: "param",
|
|
1683
|
+
description:
|
|
1684
|
+
"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.",
|
|
1685
|
+
}),
|
|
1686
|
+
),
|
|
1687
|
+
type: Schema.optionalKey(
|
|
1688
|
+
Schema.Literals([
|
|
1689
|
+
"acss_debit",
|
|
1690
|
+
"affirm",
|
|
1691
|
+
"afterpay_clearpay",
|
|
1692
|
+
"alipay",
|
|
1693
|
+
"alma",
|
|
1694
|
+
"amazon_pay",
|
|
1695
|
+
"au_becs_debit",
|
|
1696
|
+
"bacs_debit",
|
|
1697
|
+
"bancontact",
|
|
1698
|
+
"billie",
|
|
1699
|
+
"bizum",
|
|
1700
|
+
"blik",
|
|
1701
|
+
"boleto",
|
|
1702
|
+
"card",
|
|
1703
|
+
"cashapp",
|
|
1704
|
+
"crypto",
|
|
1705
|
+
"custom",
|
|
1706
|
+
"customer_balance",
|
|
1707
|
+
"eps",
|
|
1708
|
+
"fpx",
|
|
1709
|
+
"giropay",
|
|
1710
|
+
"grabpay",
|
|
1711
|
+
"ideal",
|
|
1712
|
+
"kakao_pay",
|
|
1713
|
+
"klarna",
|
|
1714
|
+
"konbini",
|
|
1715
|
+
"kr_card",
|
|
1716
|
+
"link",
|
|
1717
|
+
"mb_way",
|
|
1718
|
+
"mobilepay",
|
|
1719
|
+
"multibanco",
|
|
1720
|
+
"naver_pay",
|
|
1721
|
+
"nz_bank_account",
|
|
1722
|
+
"oxxo",
|
|
1723
|
+
"p24",
|
|
1724
|
+
"pay_by_bank",
|
|
1725
|
+
"payco",
|
|
1726
|
+
"paynow",
|
|
1727
|
+
"paypal",
|
|
1728
|
+
"paypay",
|
|
1729
|
+
"payto",
|
|
1730
|
+
"pix",
|
|
1731
|
+
"promptpay",
|
|
1732
|
+
"revolut_pay",
|
|
1733
|
+
"samsung_pay",
|
|
1734
|
+
"satispay",
|
|
1735
|
+
"scalapay",
|
|
1736
|
+
"sepa_debit",
|
|
1737
|
+
"sequra",
|
|
1738
|
+
"sofort",
|
|
1739
|
+
"sunbit",
|
|
1740
|
+
"swish",
|
|
1741
|
+
"twint",
|
|
1742
|
+
"upi",
|
|
1743
|
+
"us_bank_account",
|
|
1744
|
+
"wechat_pay",
|
|
1745
|
+
"zip",
|
|
1746
|
+
]).annotate({
|
|
1747
|
+
description:
|
|
1748
|
+
"The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.",
|
|
1749
|
+
}),
|
|
1750
|
+
),
|
|
1751
|
+
upi: Schema.optionalKey(
|
|
1752
|
+
Schema.StructWithRest(
|
|
1753
|
+
Schema.Struct({
|
|
1754
|
+
mandate_options: Schema.optionalKey(
|
|
1755
|
+
Schema.StructWithRest(
|
|
1756
|
+
Schema.Struct({
|
|
1757
|
+
amount: Schema.optionalKey(Schema.Int),
|
|
1758
|
+
amount_type: Schema.optionalKey(
|
|
1759
|
+
Schema.Literals(["fixed", "maximum"]),
|
|
1760
|
+
),
|
|
1761
|
+
description: Schema.optionalKey(
|
|
1762
|
+
Schema.String.check(
|
|
1763
|
+
Schema.isMaxCodePoints(20).annotate({
|
|
1764
|
+
expected: "a string with at most 20 code points",
|
|
1765
|
+
}),
|
|
1766
|
+
),
|
|
1767
|
+
),
|
|
1768
|
+
end_date: Schema.optionalKey(
|
|
1769
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
1770
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
1771
|
+
),
|
|
1772
|
+
),
|
|
1773
|
+
}),
|
|
1774
|
+
[
|
|
1775
|
+
Schema.Record(
|
|
1776
|
+
Schema.String,
|
|
1777
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1778
|
+
),
|
|
1779
|
+
],
|
|
1780
|
+
).annotate({ title: "mandate_options" }),
|
|
1781
|
+
),
|
|
1782
|
+
}),
|
|
1783
|
+
[
|
|
1784
|
+
Schema.Record(
|
|
1785
|
+
Schema.String,
|
|
1786
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1787
|
+
),
|
|
1788
|
+
],
|
|
1789
|
+
).annotate({
|
|
1790
|
+
title: "param",
|
|
1791
|
+
description:
|
|
1792
|
+
"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.",
|
|
1793
|
+
}),
|
|
1794
|
+
),
|
|
1795
|
+
us_bank_account: Schema.optionalKey(
|
|
1796
|
+
Schema.StructWithRest(
|
|
1797
|
+
Schema.Struct({
|
|
1798
|
+
account_holder_type: Schema.optionalKey(
|
|
1799
|
+
Schema.Literals(["company", "individual"]),
|
|
1800
|
+
),
|
|
1801
|
+
account_number: Schema.optionalKey(
|
|
1802
|
+
Schema.String.check(
|
|
1803
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1804
|
+
expected: "a string with at most 5000 code points",
|
|
1805
|
+
}),
|
|
1806
|
+
),
|
|
1807
|
+
),
|
|
1808
|
+
account_type: Schema.optionalKey(
|
|
1809
|
+
Schema.Literals(["checking", "savings"]),
|
|
1810
|
+
),
|
|
1811
|
+
financial_connections_account: Schema.optionalKey(
|
|
1812
|
+
Schema.String.check(
|
|
1813
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1814
|
+
expected: "a string with at most 5000 code points",
|
|
1815
|
+
}),
|
|
1816
|
+
),
|
|
1817
|
+
),
|
|
1818
|
+
routing_number: Schema.optionalKey(
|
|
1819
|
+
Schema.String.check(
|
|
1820
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1821
|
+
expected: "a string with at most 5000 code points",
|
|
1822
|
+
}),
|
|
1823
|
+
),
|
|
1824
|
+
),
|
|
1825
|
+
}),
|
|
1826
|
+
[
|
|
1827
|
+
Schema.Record(
|
|
1828
|
+
Schema.String,
|
|
1829
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1830
|
+
),
|
|
1831
|
+
],
|
|
1832
|
+
).annotate({
|
|
1833
|
+
title: "payment_method_param",
|
|
1834
|
+
description:
|
|
1835
|
+
"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
|
|
1836
|
+
}),
|
|
1837
|
+
),
|
|
1838
|
+
wechat_pay: Schema.optionalKey(
|
|
1839
|
+
Schema.Record(
|
|
1840
|
+
Schema.String,
|
|
1841
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1842
|
+
).annotate({
|
|
1843
|
+
title: "param",
|
|
1844
|
+
description:
|
|
1845
|
+
"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.",
|
|
1846
|
+
}),
|
|
1847
|
+
),
|
|
1848
|
+
zip: Schema.optionalKey(
|
|
1849
|
+
Schema.Record(
|
|
1850
|
+
Schema.String,
|
|
1851
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1852
|
+
).annotate({
|
|
1853
|
+
title: "param",
|
|
1854
|
+
description:
|
|
1855
|
+
"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.",
|
|
1856
|
+
}),
|
|
1857
|
+
),
|
|
1858
|
+
});
|
|
1859
|
+
export const PostPaymentMethodsOutput = Stripepayment_method;
|
|
1860
|
+
export const PostPaymentMethodsError = Stripeerror;
|
|
1861
|
+
export const GetPaymentMethodsPaymentMethodInput = Schema.Struct({
|
|
1862
|
+
expand: Schema.optionalKey(
|
|
1863
|
+
Schema.Array(
|
|
1864
|
+
Schema.String.check(
|
|
1865
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1866
|
+
expected: "a string with at most 5000 code points",
|
|
1867
|
+
}),
|
|
1868
|
+
),
|
|
1869
|
+
),
|
|
1870
|
+
),
|
|
1871
|
+
payment_method: Schema.String.check(
|
|
1872
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1873
|
+
expected: "a string with at most 5000 code points",
|
|
1874
|
+
}),
|
|
1875
|
+
),
|
|
1876
|
+
});
|
|
1877
|
+
export const GetPaymentMethodsPaymentMethodOutput = Stripepayment_method;
|
|
1878
|
+
export const GetPaymentMethodsPaymentMethodError = Stripeerror;
|
|
1879
|
+
export const PostPaymentMethodsPaymentMethodInput = Schema.Struct({
|
|
1880
|
+
allow_redisplay: Schema.optionalKey(
|
|
1881
|
+
Schema.Literals(["always", "limited", "unspecified"]).annotate({
|
|
1882
|
+
description:
|
|
1883
|
+
"This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.",
|
|
1884
|
+
}),
|
|
1885
|
+
),
|
|
1886
|
+
billing_details: Schema.optionalKey(
|
|
1887
|
+
Schema.StructWithRest(
|
|
1888
|
+
Schema.Struct({
|
|
1889
|
+
address: Schema.optionalKey(
|
|
1890
|
+
Schema.Union([
|
|
1891
|
+
Schema.StructWithRest(
|
|
1892
|
+
Schema.Struct({
|
|
1893
|
+
city: Schema.optionalKey(
|
|
1894
|
+
Schema.String.check(
|
|
1895
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1896
|
+
expected: "a string with at most 5000 code points",
|
|
1897
|
+
}),
|
|
1898
|
+
),
|
|
1899
|
+
),
|
|
1900
|
+
country: Schema.optionalKey(
|
|
1901
|
+
Schema.String.check(
|
|
1902
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1903
|
+
expected: "a string with at most 5000 code points",
|
|
1904
|
+
}),
|
|
1905
|
+
),
|
|
1906
|
+
),
|
|
1907
|
+
line1: Schema.optionalKey(
|
|
1908
|
+
Schema.String.check(
|
|
1909
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1910
|
+
expected: "a string with at most 5000 code points",
|
|
1911
|
+
}),
|
|
1912
|
+
),
|
|
1913
|
+
),
|
|
1914
|
+
line2: Schema.optionalKey(
|
|
1915
|
+
Schema.String.check(
|
|
1916
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1917
|
+
expected: "a string with at most 5000 code points",
|
|
1918
|
+
}),
|
|
1919
|
+
),
|
|
1920
|
+
),
|
|
1921
|
+
postal_code: Schema.optionalKey(
|
|
1922
|
+
Schema.String.check(
|
|
1923
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1924
|
+
expected: "a string with at most 5000 code points",
|
|
1925
|
+
}),
|
|
1926
|
+
),
|
|
1927
|
+
),
|
|
1928
|
+
state: Schema.optionalKey(
|
|
1929
|
+
Schema.String.check(
|
|
1930
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1931
|
+
expected: "a string with at most 5000 code points",
|
|
1932
|
+
}),
|
|
1933
|
+
),
|
|
1934
|
+
),
|
|
1935
|
+
}),
|
|
1936
|
+
[
|
|
1937
|
+
Schema.Record(
|
|
1938
|
+
Schema.String,
|
|
1939
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1940
|
+
),
|
|
1941
|
+
],
|
|
1942
|
+
).annotate({ title: "billing_details_address" }),
|
|
1943
|
+
Schema.Literal(""),
|
|
1944
|
+
]),
|
|
1945
|
+
),
|
|
1946
|
+
email: Schema.optionalKey(
|
|
1947
|
+
Schema.Union([
|
|
1948
|
+
Schema.String.check(
|
|
1949
|
+
Schema.isMaxCodePoints(800).annotate({
|
|
1950
|
+
expected: "a string with at most 800 code points",
|
|
1951
|
+
}),
|
|
1952
|
+
),
|
|
1953
|
+
Schema.Literal(""),
|
|
1954
|
+
]),
|
|
1955
|
+
),
|
|
1956
|
+
name: Schema.optionalKey(
|
|
1957
|
+
Schema.Union([
|
|
1958
|
+
Schema.String.check(
|
|
1959
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1960
|
+
expected: "a string with at most 5000 code points",
|
|
1961
|
+
}),
|
|
1962
|
+
),
|
|
1963
|
+
Schema.Literal(""),
|
|
1964
|
+
]),
|
|
1965
|
+
),
|
|
1966
|
+
phone: Schema.optionalKey(
|
|
1967
|
+
Schema.Union([
|
|
1968
|
+
Schema.String.check(
|
|
1969
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1970
|
+
expected: "a string with at most 5000 code points",
|
|
1971
|
+
}),
|
|
1972
|
+
),
|
|
1973
|
+
Schema.Literal(""),
|
|
1974
|
+
]),
|
|
1975
|
+
),
|
|
1976
|
+
tax_id: Schema.optionalKey(
|
|
1977
|
+
Schema.String.check(
|
|
1978
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1979
|
+
expected: "a string with at most 5000 code points",
|
|
1980
|
+
}),
|
|
1981
|
+
),
|
|
1982
|
+
),
|
|
1983
|
+
}),
|
|
1984
|
+
[
|
|
1985
|
+
Schema.Record(
|
|
1986
|
+
Schema.String,
|
|
1987
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1988
|
+
),
|
|
1989
|
+
],
|
|
1990
|
+
).annotate({
|
|
1991
|
+
title: "billing_details_inner_params",
|
|
1992
|
+
description:
|
|
1993
|
+
"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.",
|
|
1994
|
+
}),
|
|
1995
|
+
),
|
|
1996
|
+
card: Schema.optionalKey(
|
|
1997
|
+
Schema.StructWithRest(
|
|
1998
|
+
Schema.Struct({
|
|
1999
|
+
exp_month: Schema.optionalKey(Schema.Int),
|
|
2000
|
+
exp_year: Schema.optionalKey(Schema.Int),
|
|
2001
|
+
networks: Schema.optionalKey(
|
|
2002
|
+
Schema.StructWithRest(
|
|
2003
|
+
Schema.Struct({
|
|
2004
|
+
preferred: Schema.optionalKey(
|
|
2005
|
+
Schema.Literals(["", "cartes_bancaires", "mastercard", "visa"]),
|
|
2006
|
+
),
|
|
2007
|
+
}),
|
|
2008
|
+
[
|
|
2009
|
+
Schema.Record(
|
|
2010
|
+
Schema.String,
|
|
2011
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2012
|
+
),
|
|
2013
|
+
],
|
|
2014
|
+
).annotate({ title: "networks_update_api_param" }),
|
|
2015
|
+
),
|
|
2016
|
+
}),
|
|
2017
|
+
[
|
|
2018
|
+
Schema.Record(
|
|
2019
|
+
Schema.String,
|
|
2020
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2021
|
+
),
|
|
2022
|
+
],
|
|
2023
|
+
).annotate({
|
|
2024
|
+
title: "update_api_param",
|
|
2025
|
+
description:
|
|
2026
|
+
"If this is a `card` PaymentMethod, this hash contains the user's card details.",
|
|
2027
|
+
}),
|
|
2028
|
+
),
|
|
2029
|
+
expand: Schema.optionalKey(
|
|
2030
|
+
Schema.Array(
|
|
2031
|
+
Schema.String.check(
|
|
2032
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2033
|
+
expected: "a string with at most 5000 code points",
|
|
2034
|
+
}),
|
|
2035
|
+
),
|
|
2036
|
+
).annotate({
|
|
2037
|
+
description: "Specifies which fields in the response should be expanded.",
|
|
2038
|
+
}),
|
|
2039
|
+
),
|
|
2040
|
+
metadata: Schema.optionalKey(
|
|
2041
|
+
Schema.Union([
|
|
2042
|
+
Schema.Record(Schema.String, Schema.String),
|
|
2043
|
+
Schema.Literal(""),
|
|
2044
|
+
]).annotate({
|
|
2045
|
+
description:
|
|
2046
|
+
"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`.",
|
|
2047
|
+
}),
|
|
2048
|
+
),
|
|
2049
|
+
us_bank_account: Schema.optionalKey(
|
|
2050
|
+
Schema.StructWithRest(
|
|
2051
|
+
Schema.Struct({
|
|
2052
|
+
account_holder_type: Schema.optionalKey(
|
|
2053
|
+
Schema.Literals(["company", "individual"]),
|
|
2054
|
+
),
|
|
2055
|
+
account_type: Schema.optionalKey(
|
|
2056
|
+
Schema.Literals(["checking", "savings"]),
|
|
2057
|
+
),
|
|
2058
|
+
}),
|
|
2059
|
+
[
|
|
2060
|
+
Schema.Record(
|
|
2061
|
+
Schema.String,
|
|
2062
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2063
|
+
),
|
|
2064
|
+
],
|
|
2065
|
+
).annotate({
|
|
2066
|
+
title: "update_param",
|
|
2067
|
+
description:
|
|
2068
|
+
"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.",
|
|
2069
|
+
}),
|
|
2070
|
+
),
|
|
2071
|
+
payment_method: Schema.String.check(
|
|
2072
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2073
|
+
expected: "a string with at most 5000 code points",
|
|
2074
|
+
}),
|
|
2075
|
+
),
|
|
2076
|
+
});
|
|
2077
|
+
export const PostPaymentMethodsPaymentMethodOutput = Stripepayment_method;
|
|
2078
|
+
export const PostPaymentMethodsPaymentMethodError = Stripeerror;
|
|
2079
|
+
export const PostPaymentMethodsPaymentMethodAttachInput = Schema.Struct({
|
|
2080
|
+
customer: Schema.optionalKey(
|
|
2081
|
+
Schema.String.annotate({
|
|
2082
|
+
description:
|
|
2083
|
+
"The ID of the customer to which to attach the PaymentMethod.",
|
|
2084
|
+
}).check(
|
|
2085
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2086
|
+
expected: "a string with at most 5000 code points",
|
|
2087
|
+
}),
|
|
2088
|
+
),
|
|
2089
|
+
),
|
|
2090
|
+
customer_account: Schema.optionalKey(
|
|
2091
|
+
Schema.String.annotate({
|
|
2092
|
+
description:
|
|
2093
|
+
"The ID of the Account representing the customer to which to attach the PaymentMethod.",
|
|
2094
|
+
}).check(
|
|
2095
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2096
|
+
expected: "a string with at most 5000 code points",
|
|
2097
|
+
}),
|
|
2098
|
+
),
|
|
2099
|
+
),
|
|
2100
|
+
expand: Schema.optionalKey(
|
|
2101
|
+
Schema.Array(
|
|
2102
|
+
Schema.String.check(
|
|
2103
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2104
|
+
expected: "a string with at most 5000 code points",
|
|
2105
|
+
}),
|
|
2106
|
+
),
|
|
2107
|
+
).annotate({
|
|
2108
|
+
description: "Specifies which fields in the response should be expanded.",
|
|
2109
|
+
}),
|
|
2110
|
+
),
|
|
2111
|
+
payment_method: Schema.String.check(
|
|
2112
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2113
|
+
expected: "a string with at most 5000 code points",
|
|
2114
|
+
}),
|
|
2115
|
+
),
|
|
2116
|
+
});
|
|
2117
|
+
export const PostPaymentMethodsPaymentMethodAttachOutput = Stripepayment_method;
|
|
2118
|
+
export const PostPaymentMethodsPaymentMethodAttachError = Stripeerror;
|
|
2119
|
+
export const PostPaymentMethodsPaymentMethodDetachInput = Schema.Struct({
|
|
2120
|
+
expand: Schema.optionalKey(
|
|
2121
|
+
Schema.Array(
|
|
2122
|
+
Schema.String.check(
|
|
2123
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2124
|
+
expected: "a string with at most 5000 code points",
|
|
2125
|
+
}),
|
|
2126
|
+
),
|
|
2127
|
+
).annotate({
|
|
2128
|
+
description: "Specifies which fields in the response should be expanded.",
|
|
2129
|
+
}),
|
|
2130
|
+
),
|
|
2131
|
+
payment_method: Schema.String.check(
|
|
2132
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2133
|
+
expected: "a string with at most 5000 code points",
|
|
2134
|
+
}),
|
|
2135
|
+
),
|
|
2136
|
+
});
|
|
2137
|
+
export const PostPaymentMethodsPaymentMethodDetachOutput = Stripepayment_method;
|
|
2138
|
+
export const PostPaymentMethodsPaymentMethodDetachError = Stripeerror;
|
|
2139
|
+
/**
|
|
2140
|
+
* The GetPaymentMethodsOperation value selects the schemas
|
|
2141
|
+
* that validate requests and decode responses for this API version.
|
|
2142
|
+
*/
|
|
2143
|
+
export const GetPaymentMethodsOperation: StripeOperation & {
|
|
2144
|
+
readonly input: typeof GetPaymentMethodsInput;
|
|
2145
|
+
readonly output: typeof GetPaymentMethodsOutput;
|
|
2146
|
+
readonly error: typeof GetPaymentMethodsError;
|
|
2147
|
+
} = {
|
|
2148
|
+
name: "GetPaymentMethods",
|
|
2149
|
+
method: "GET",
|
|
2150
|
+
path: "/v1/payment_methods",
|
|
2151
|
+
pathParameters: [],
|
|
2152
|
+
queryParameters: [
|
|
2153
|
+
"allow_redisplay",
|
|
2154
|
+
"customer",
|
|
2155
|
+
"customer_account",
|
|
2156
|
+
"ending_before",
|
|
2157
|
+
"expand",
|
|
2158
|
+
"limit",
|
|
2159
|
+
"starting_after",
|
|
2160
|
+
"type",
|
|
2161
|
+
],
|
|
2162
|
+
contentType: "application/x-www-form-urlencoded",
|
|
2163
|
+
apiVersion: stripeApiVersion,
|
|
2164
|
+
baseUrl: stripeApiBaseUrl,
|
|
2165
|
+
input: GetPaymentMethodsInput,
|
|
2166
|
+
output: GetPaymentMethodsOutput,
|
|
2167
|
+
error: GetPaymentMethodsError,
|
|
2168
|
+
};
|
|
2169
|
+
/**
|
|
2170
|
+
* The PostPaymentMethodsOperation value selects the schemas
|
|
2171
|
+
* that validate requests and decode responses for this API version.
|
|
2172
|
+
*/
|
|
2173
|
+
export const PostPaymentMethodsOperation: StripeOperation & {
|
|
2174
|
+
readonly input: typeof PostPaymentMethodsInput;
|
|
2175
|
+
readonly output: typeof PostPaymentMethodsOutput;
|
|
2176
|
+
readonly error: typeof PostPaymentMethodsError;
|
|
2177
|
+
} = {
|
|
2178
|
+
name: "PostPaymentMethods",
|
|
2179
|
+
method: "POST",
|
|
2180
|
+
path: "/v1/payment_methods",
|
|
2181
|
+
pathParameters: [],
|
|
2182
|
+
queryParameters: [],
|
|
2183
|
+
contentType: "application/x-www-form-urlencoded",
|
|
2184
|
+
apiVersion: stripeApiVersion,
|
|
2185
|
+
baseUrl: stripeApiBaseUrl,
|
|
2186
|
+
input: PostPaymentMethodsInput,
|
|
2187
|
+
output: PostPaymentMethodsOutput,
|
|
2188
|
+
error: PostPaymentMethodsError,
|
|
2189
|
+
};
|
|
2190
|
+
/**
|
|
2191
|
+
* The GetPaymentMethodsPaymentMethodOperation value selects the schemas
|
|
2192
|
+
* that validate requests and decode responses for this API version.
|
|
2193
|
+
*/
|
|
2194
|
+
export const GetPaymentMethodsPaymentMethodOperation: StripeOperation & {
|
|
2195
|
+
readonly input: typeof GetPaymentMethodsPaymentMethodInput;
|
|
2196
|
+
readonly output: typeof GetPaymentMethodsPaymentMethodOutput;
|
|
2197
|
+
readonly error: typeof GetPaymentMethodsPaymentMethodError;
|
|
2198
|
+
} = {
|
|
2199
|
+
name: "GetPaymentMethodsPaymentMethod",
|
|
2200
|
+
method: "GET",
|
|
2201
|
+
path: "/v1/payment_methods/{payment_method}",
|
|
2202
|
+
pathParameters: ["payment_method"],
|
|
2203
|
+
queryParameters: ["expand"],
|
|
2204
|
+
contentType: "application/x-www-form-urlencoded",
|
|
2205
|
+
apiVersion: stripeApiVersion,
|
|
2206
|
+
baseUrl: stripeApiBaseUrl,
|
|
2207
|
+
input: GetPaymentMethodsPaymentMethodInput,
|
|
2208
|
+
output: GetPaymentMethodsPaymentMethodOutput,
|
|
2209
|
+
error: GetPaymentMethodsPaymentMethodError,
|
|
2210
|
+
};
|
|
2211
|
+
/**
|
|
2212
|
+
* The PostPaymentMethodsPaymentMethodOperation value selects the schemas
|
|
2213
|
+
* that validate requests and decode responses for this API version.
|
|
2214
|
+
*/
|
|
2215
|
+
export const PostPaymentMethodsPaymentMethodOperation: StripeOperation & {
|
|
2216
|
+
readonly input: typeof PostPaymentMethodsPaymentMethodInput;
|
|
2217
|
+
readonly output: typeof PostPaymentMethodsPaymentMethodOutput;
|
|
2218
|
+
readonly error: typeof PostPaymentMethodsPaymentMethodError;
|
|
2219
|
+
} = {
|
|
2220
|
+
name: "PostPaymentMethodsPaymentMethod",
|
|
2221
|
+
method: "POST",
|
|
2222
|
+
path: "/v1/payment_methods/{payment_method}",
|
|
2223
|
+
pathParameters: ["payment_method"],
|
|
2224
|
+
queryParameters: [],
|
|
2225
|
+
contentType: "application/x-www-form-urlencoded",
|
|
2226
|
+
apiVersion: stripeApiVersion,
|
|
2227
|
+
baseUrl: stripeApiBaseUrl,
|
|
2228
|
+
input: PostPaymentMethodsPaymentMethodInput,
|
|
2229
|
+
output: PostPaymentMethodsPaymentMethodOutput,
|
|
2230
|
+
error: PostPaymentMethodsPaymentMethodError,
|
|
2231
|
+
};
|
|
2232
|
+
/**
|
|
2233
|
+
* The PostPaymentMethodsPaymentMethodAttachOperation value selects the schemas
|
|
2234
|
+
* that validate requests and decode responses for this API version.
|
|
2235
|
+
*/
|
|
2236
|
+
export const PostPaymentMethodsPaymentMethodAttachOperation: StripeOperation & {
|
|
2237
|
+
readonly input: typeof PostPaymentMethodsPaymentMethodAttachInput;
|
|
2238
|
+
readonly output: typeof PostPaymentMethodsPaymentMethodAttachOutput;
|
|
2239
|
+
readonly error: typeof PostPaymentMethodsPaymentMethodAttachError;
|
|
2240
|
+
} = {
|
|
2241
|
+
name: "PostPaymentMethodsPaymentMethodAttach",
|
|
2242
|
+
method: "POST",
|
|
2243
|
+
path: "/v1/payment_methods/{payment_method}/attach",
|
|
2244
|
+
pathParameters: ["payment_method"],
|
|
2245
|
+
queryParameters: [],
|
|
2246
|
+
contentType: "application/x-www-form-urlencoded",
|
|
2247
|
+
apiVersion: stripeApiVersion,
|
|
2248
|
+
baseUrl: stripeApiBaseUrl,
|
|
2249
|
+
input: PostPaymentMethodsPaymentMethodAttachInput,
|
|
2250
|
+
output: PostPaymentMethodsPaymentMethodAttachOutput,
|
|
2251
|
+
error: PostPaymentMethodsPaymentMethodAttachError,
|
|
2252
|
+
};
|
|
2253
|
+
/**
|
|
2254
|
+
* The PostPaymentMethodsPaymentMethodDetachOperation value selects the schemas
|
|
2255
|
+
* that validate requests and decode responses for this API version.
|
|
2256
|
+
*/
|
|
2257
|
+
export const PostPaymentMethodsPaymentMethodDetachOperation: StripeOperation & {
|
|
2258
|
+
readonly input: typeof PostPaymentMethodsPaymentMethodDetachInput;
|
|
2259
|
+
readonly output: typeof PostPaymentMethodsPaymentMethodDetachOutput;
|
|
2260
|
+
readonly error: typeof PostPaymentMethodsPaymentMethodDetachError;
|
|
2261
|
+
} = {
|
|
2262
|
+
name: "PostPaymentMethodsPaymentMethodDetach",
|
|
2263
|
+
method: "POST",
|
|
2264
|
+
path: "/v1/payment_methods/{payment_method}/detach",
|
|
2265
|
+
pathParameters: ["payment_method"],
|
|
2266
|
+
queryParameters: [],
|
|
2267
|
+
contentType: "application/x-www-form-urlencoded",
|
|
2268
|
+
apiVersion: stripeApiVersion,
|
|
2269
|
+
baseUrl: stripeApiBaseUrl,
|
|
2270
|
+
input: PostPaymentMethodsPaymentMethodDetachInput,
|
|
2271
|
+
output: PostPaymentMethodsPaymentMethodDetachOutput,
|
|
2272
|
+
error: PostPaymentMethodsPaymentMethodDetachError,
|
|
2273
|
+
};
|
|
2274
|
+
/**
|
|
2275
|
+
* The makePaymentMethodsClient Effect obtains the application's StripeClient service.
|
|
2276
|
+
* Its result exposes functions with the contracts fixed by this specification.
|
|
2277
|
+
*/
|
|
2278
|
+
export const makePaymentMethodsClient = Effect.gen(function* () {
|
|
2279
|
+
const client = yield* StripeClient;
|
|
2280
|
+
/**
|
|
2281
|
+
* The GetPaymentMethods function validates its request before it invokes Stripe.
|
|
2282
|
+
* The result is the decoded response. Failures in transport or validation
|
|
2283
|
+
* and modeled Stripe errors propagate to the caller.
|
|
2284
|
+
*/
|
|
2285
|
+
const GetPaymentMethods = Effect.fn("paymentMethods.GetPaymentMethods")(
|
|
2286
|
+
function* (input: GetPaymentMethodsInput) {
|
|
2287
|
+
const response: GetPaymentMethodsOutput = yield* client.invoke(
|
|
2288
|
+
GetPaymentMethodsOperation,
|
|
2289
|
+
input,
|
|
2290
|
+
);
|
|
2291
|
+
return response;
|
|
2292
|
+
},
|
|
2293
|
+
);
|
|
2294
|
+
/**
|
|
2295
|
+
* The PostPaymentMethods function validates its request before it invokes Stripe.
|
|
2296
|
+
* The result is the decoded response. Failures in transport or validation
|
|
2297
|
+
* and modeled Stripe errors propagate to the caller.
|
|
2298
|
+
*/
|
|
2299
|
+
const PostPaymentMethods = Effect.fn("paymentMethods.PostPaymentMethods")(
|
|
2300
|
+
function* (input: PostPaymentMethodsInput) {
|
|
2301
|
+
const response: PostPaymentMethodsOutput = yield* client.invoke(
|
|
2302
|
+
PostPaymentMethodsOperation,
|
|
2303
|
+
input,
|
|
2304
|
+
);
|
|
2305
|
+
return response;
|
|
2306
|
+
},
|
|
2307
|
+
);
|
|
2308
|
+
/**
|
|
2309
|
+
* The GetPaymentMethodsPaymentMethod function validates its request before it invokes Stripe.
|
|
2310
|
+
* The result is the decoded response. Failures in transport or validation
|
|
2311
|
+
* and modeled Stripe errors propagate to the caller.
|
|
2312
|
+
*/
|
|
2313
|
+
const GetPaymentMethodsPaymentMethod = Effect.fn(
|
|
2314
|
+
"paymentMethods.GetPaymentMethodsPaymentMethod",
|
|
2315
|
+
)(function* (input: GetPaymentMethodsPaymentMethodInput) {
|
|
2316
|
+
const response: GetPaymentMethodsPaymentMethodOutput = yield* client.invoke(
|
|
2317
|
+
GetPaymentMethodsPaymentMethodOperation,
|
|
2318
|
+
input,
|
|
2319
|
+
);
|
|
2320
|
+
return response;
|
|
2321
|
+
});
|
|
2322
|
+
/**
|
|
2323
|
+
* The PostPaymentMethodsPaymentMethod function validates its request before it invokes Stripe.
|
|
2324
|
+
* The result is the decoded response. Failures in transport or validation
|
|
2325
|
+
* and modeled Stripe errors propagate to the caller.
|
|
2326
|
+
*/
|
|
2327
|
+
const PostPaymentMethodsPaymentMethod = Effect.fn(
|
|
2328
|
+
"paymentMethods.PostPaymentMethodsPaymentMethod",
|
|
2329
|
+
)(function* (input: PostPaymentMethodsPaymentMethodInput) {
|
|
2330
|
+
const response: PostPaymentMethodsPaymentMethodOutput =
|
|
2331
|
+
yield* client.invoke(PostPaymentMethodsPaymentMethodOperation, input);
|
|
2332
|
+
return response;
|
|
2333
|
+
});
|
|
2334
|
+
/**
|
|
2335
|
+
* The PostPaymentMethodsPaymentMethodAttach function validates its request before it invokes Stripe.
|
|
2336
|
+
* The result is the decoded response. Failures in transport or validation
|
|
2337
|
+
* and modeled Stripe errors propagate to the caller.
|
|
2338
|
+
*/
|
|
2339
|
+
const PostPaymentMethodsPaymentMethodAttach = Effect.fn(
|
|
2340
|
+
"paymentMethods.PostPaymentMethodsPaymentMethodAttach",
|
|
2341
|
+
)(function* (input: PostPaymentMethodsPaymentMethodAttachInput) {
|
|
2342
|
+
const response: PostPaymentMethodsPaymentMethodAttachOutput =
|
|
2343
|
+
yield* client.invoke(
|
|
2344
|
+
PostPaymentMethodsPaymentMethodAttachOperation,
|
|
2345
|
+
input,
|
|
2346
|
+
);
|
|
2347
|
+
return response;
|
|
2348
|
+
});
|
|
2349
|
+
/**
|
|
2350
|
+
* The PostPaymentMethodsPaymentMethodDetach function validates its request before it invokes Stripe.
|
|
2351
|
+
* The result is the decoded response. Failures in transport or validation
|
|
2352
|
+
* and modeled Stripe errors propagate to the caller.
|
|
2353
|
+
*/
|
|
2354
|
+
const PostPaymentMethodsPaymentMethodDetach = Effect.fn(
|
|
2355
|
+
"paymentMethods.PostPaymentMethodsPaymentMethodDetach",
|
|
2356
|
+
)(function* (input: PostPaymentMethodsPaymentMethodDetachInput) {
|
|
2357
|
+
const response: PostPaymentMethodsPaymentMethodDetachOutput =
|
|
2358
|
+
yield* client.invoke(
|
|
2359
|
+
PostPaymentMethodsPaymentMethodDetachOperation,
|
|
2360
|
+
input,
|
|
2361
|
+
);
|
|
2362
|
+
return response;
|
|
2363
|
+
});
|
|
2364
|
+
return {
|
|
2365
|
+
GetPaymentMethods,
|
|
2366
|
+
PostPaymentMethods,
|
|
2367
|
+
GetPaymentMethodsPaymentMethod,
|
|
2368
|
+
PostPaymentMethodsPaymentMethod,
|
|
2369
|
+
PostPaymentMethodsPaymentMethodAttach,
|
|
2370
|
+
PostPaymentMethodsPaymentMethodDetach,
|
|
2371
|
+
};
|
|
2372
|
+
});
|