nomoss 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +62 -26
- package/ROADMAP.md +17 -0
- package/docs/README.md +19 -0
- package/docs/application/aws-resource-lifecycle-management.md +57 -0
- package/docs/application/cli-workflow.md +111 -0
- package/docs/application/engine-design.md +43 -0
- package/docs/application/generation-architecture.md +320 -0
- package/docs/application/resource-command-policy-stage.md +37 -0
- package/docs/application/resource-graph.md +45 -0
- package/docs/application/resource-lifecycle-tracker.md +51 -0
- package/docs/application/resource-mapping.md +117 -0
- package/docs/application/resource-operations.md +39 -0
- package/docs/application/resource-outputs.md +66 -0
- package/docs/application/tracing.md +31 -0
- package/docs/development/code-documentation.md +52 -0
- package/docs/development/commit-message-spec.md +9 -0
- package/docs/development/effect-native-development.md +45 -0
- package/docs/development/linting.md +39 -0
- package/docs/development/resource-graph-testing-approach.md +9 -0
- package/docs/development/review-code.md +57 -0
- package/docs/development/review-docs.md +27 -0
- package/docs/development/review-remediation-spec.md +49 -0
- package/docs/development/spec-writing.md +35 -0
- package/docs/development/testing.md +111 -0
- package/docs/development/unslop.md +55 -0
- package/docs/operations/observability-sop.md +38 -0
- package/docs/operations/releasing.md +5 -0
- package/examples/README.md +34 -0
- package/examples/cli.ts +15 -0
- package/examples/commands.ts +66 -0
- package/examples/http-echo/application.ts +87 -0
- package/examples/http-echo/index.ts +54 -0
- package/examples/queue/application.ts +31 -0
- package/examples/state-machine/application.ts +55 -0
- package/examples/stripe-billing/application.ts +56 -0
- package/media/nomoss-http-demo.gif +0 -0
- package/package.json +63 -18
- package/src/cli.ts +31 -13
- package/src/cliCommand.ts +207 -170
- package/src/cliDiagnostics.ts +104 -0
- package/src/core/asset.ts +350 -0
- package/src/core/index.ts +61 -17
- package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
- package/src/core/resource/model.ts +1168 -0
- package/src/core/resource/resourceCommandPolicy.ts +68 -0
- package/src/core/resource/resourceGraphBuilder.ts +319 -0
- package/src/core/resource/resourceGraphStore.ts +373 -0
- package/src/core/resource/resourceOutputBinding.ts +113 -0
- package/src/core/resource/resourceOutputResolver.ts +365 -0
- package/src/core/resource/resourceRequest.ts +186 -0
- package/src/core/runtime/stackRuntimeLayer.ts +16 -0
- package/src/core/runtime/tracing.ts +43 -0
- package/src/core/stack/planner.ts +654 -0
- package/src/core/stack/resourceDisplay.ts +213 -0
- package/src/core/stack/resourceStackDefinition.ts +32 -0
- package/src/core/stack/resourceStackLifecycle.ts +1196 -0
- package/src/core/stack/resourceStackOperations.ts +642 -0
- package/src/core/stack/resourceStackProgress.ts +169 -0
- package/src/core/stack/stackWorkflowRenderer.ts +756 -0
- package/src/core/state/localState.ts +18 -0
- package/src/core/state/resourceState.ts +75 -0
- package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
- package/src/core/state/stateStore.ts +553 -0
- package/src/providers/aws/client/awsClient.ts +418 -0
- package/src/providers/aws/client/awsClientConfig.ts +133 -0
- package/src/providers/aws/client/awsClientModel.ts +119 -0
- package/src/providers/aws/client/awsHttpOperation.ts +153 -0
- package/src/providers/aws/client/awsQueryOperation.ts +149 -0
- package/src/providers/aws/client/awsRequestSigner.ts +115 -0
- package/src/providers/aws/client/awsResponseDecoder.ts +135 -0
- package/src/providers/aws/client/awsRetryPolicy.ts +62 -0
- package/src/providers/aws/client/generated/apiGatewayV2.ts +3025 -0
- package/src/providers/aws/client/generated/cloudControl.ts +5746 -0
- package/src/providers/aws/client/generated/iam.ts +10892 -0
- package/src/providers/aws/client/generated/lambda.ts +5403 -0
- package/src/providers/aws/client/generated/sqs.ts +3769 -0
- package/src/providers/aws/client/generated/stepFunctions.ts +1726 -0
- package/src/providers/aws/client/openapi/cloudControl/CancelResourceRequest.json +579 -0
- package/src/providers/aws/client/openapi/cloudControl/CreateResource.json +1019 -0
- package/src/providers/aws/client/openapi/cloudControl/DeleteResource.json +1018 -0
- package/src/providers/aws/client/openapi/cloudControl/GetResource.json +883 -0
- package/src/providers/aws/client/openapi/cloudControl/GetResourceRequestStatus.json +655 -0
- package/src/providers/aws/client/openapi/cloudControl/ListResourceRequests.json +566 -0
- package/src/providers/aws/client/openapi/cloudControl/ListResources.json +913 -0
- package/src/providers/aws/client/openapi/cloudControl/UpdateResource.json +1027 -0
- package/src/providers/aws/cloudControl/client.ts +69 -0
- package/src/providers/aws/cloudControl/requestTracker.ts +138 -0
- package/src/providers/aws/cloudControl/resourceCommandPolicyLayer.ts +63 -0
- package/src/providers/aws/cloudControl/resourceLifecycle.ts +479 -0
- package/src/providers/aws/cloudControl/resources/generated/certificatemanager/certificate/index.ts +179 -0
- package/src/providers/aws/cloudControl/resources/generated/kms/key/index.ts +362 -0
- package/src/providers/aws/cloudControl/resources/generated/s3/bucket/index.ts +2364 -0
- package/src/providers/aws/cloudControl/resources/generated/sns/topic/index.ts +326 -0
- package/src/providers/aws/cloudControl/resources/generated/sqs/queue/index.ts +307 -0
- package/src/providers/aws/cloudControl/resources/generated/sqs/queueinlinepolicy/index.ts +108 -0
- package/src/providers/aws/cloudControl/runtime.ts +127 -0
- package/src/providers/aws/management/resourceConfiguration.ts +121 -0
- package/src/providers/aws/management/resourceMapping.ts +343 -0
- package/src/providers/aws/management/resourceOperation.ts +57 -0
- package/src/providers/aws/management/resourcePolicy.ts +549 -0
- package/src/providers/aws/management/resourceRegistration.ts +294 -0
- package/src/providers/aws/resources/apiGatewayV2/httpApi.ts +327 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/api/index.ts +565 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/integration/index.ts +583 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/route/index.ts +438 -0
- package/src/providers/aws/resources/generated/native/apigatewayv2/stage/index.ts +391 -0
- package/src/providers/aws/resources/generated/native/iam/group/index.ts +319 -0
- package/src/providers/aws/resources/generated/native/iam/grouppolicy/index.ts +274 -0
- package/src/providers/aws/resources/generated/native/iam/instanceprofile/index.ts +277 -0
- package/src/providers/aws/resources/generated/native/iam/managedpolicy/index.ts +600 -0
- package/src/providers/aws/resources/generated/native/iam/policy/index.ts +279 -0
- package/src/providers/aws/resources/generated/native/iam/role/index.ts +478 -0
- package/src/providers/aws/resources/generated/native/iam/rolepolicy/index.ts +272 -0
- package/src/providers/aws/resources/generated/native/iam/user/index.ts +460 -0
- package/src/providers/aws/resources/generated/native/iam/userpolicy/index.ts +272 -0
- package/src/providers/aws/resources/generated/native/iam/usertogroupaddition/index.ts +226 -0
- package/src/providers/aws/resources/generated/native/kms/key/index.ts +580 -0
- package/src/providers/aws/resources/generated/native/lambda/function/index.ts +1974 -0
- package/src/providers/aws/resources/generated/native/lambda/permission/index.ts +955 -0
- package/src/providers/aws/resources/generated/native/resourceCommands.ts +152 -0
- package/src/providers/aws/resources/generated/native/s3/bucket/index.ts +3415 -0
- package/src/providers/aws/resources/generated/native/sns/topic/index.ts +551 -0
- package/src/providers/aws/resources/generated/native/sqs/queue/index.ts +500 -0
- package/src/providers/aws/resources/generated/native/stepfunctions/statemachine/index.ts +763 -0
- package/src/providers/aws/resources/iam/grant.ts +150 -0
- package/src/providers/aws/resources/iam/grantCommands.ts +283 -0
- package/src/providers/aws/resources/iam/policyDocument.ts +30 -0
- package/src/providers/aws/resources/iam/policyStatement.ts +59 -0
- package/src/providers/aws/resources/iam/role.ts +426 -0
- package/src/providers/aws/resources/iam/roleDeclaration.ts +105 -0
- package/src/providers/aws/resources/lambda/function.ts +403 -0
- package/src/providers/aws/resources/lambda/functionDeclaration.ts +234 -0
- package/src/providers/aws/resources/lambda/permission.ts +363 -0
- package/src/providers/aws/resources/stepFunctions/stateMachine.ts +95 -0
- package/src/providers/aws/runtime.ts +70 -0
- package/src/providers/file/jsonFile.ts +94 -0
- package/src/providers/file/model.ts +29 -0
- package/src/providers/file/resourcePolicy.ts +270 -0
- package/src/providers/index.ts +0 -2
- package/src/providers/providerRuntimeLayer.ts +24 -113
- package/src/providers/resourceCommandPolicyLayer.ts +77 -206
- package/src/providers/stripe/client/generated/LICENSE +21 -0
- package/src/providers/stripe/client/generated/accounts.ts +14360 -0
- package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
- package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
- package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
- package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
- package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
- package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
- package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
- package/src/providers/stripe/client/generated/catalog.ts +18881 -0
- package/src/providers/stripe/client/generated/charges.ts +2637 -0
- package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
- package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
- package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
- package/src/providers/stripe/client/generated/configuration.ts +3 -0
- package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
- package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
- package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
- package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
- package/src/providers/stripe/client/generated/coupons.ts +562 -0
- package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
- package/src/providers/stripe/client/generated/customers.ts +10712 -0
- package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
- package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
- package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
- package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
- package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
- package/src/providers/stripe/client/generated/index.ts +330 -0
- package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
- package/src/providers/stripe/client/generated/invoices.ts +8412 -0
- package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
- package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
- package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
- package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
- package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
- package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
- package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
- package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
- package/src/providers/stripe/client/generated/models/common.ts +25024 -0
- package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
- package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
- package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
- package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
- package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
- package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
- package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
- package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
- package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
- package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
- package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
- package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
- package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
- package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
- package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
- package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
- package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
- package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
- package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
- package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
- package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
- package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
- package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
- package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
- package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
- package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
- package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
- package/src/providers/stripe/client/generated/payouts.ts +589 -0
- package/src/providers/stripe/client/generated/plans.ts +712 -0
- package/src/providers/stripe/client/generated/prices.ts +1045 -0
- package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
- package/src/providers/stripe/client/generated/products.ts +1370 -0
- package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
- package/src/providers/stripe/client/generated/quotes.ts +1874 -0
- package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
- package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
- package/src/providers/stripe/client/generated/refunds.ts +493 -0
- package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
- package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
- package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
- package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
- package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
- package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
- package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
- package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
- package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
- package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
- package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
- package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
- package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
- package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
- package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
- package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
- package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
- package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
- package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
- package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
- package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
- package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
- package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
- package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
- package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
- package/src/providers/stripe/client/generated/sources.ts +1482 -0
- package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
- package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
- package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
- package/src/providers/stripe/client/generated/taxIds.ts +644 -0
- package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
- package/src/providers/stripe/client/generated/taxRates.ts +620 -0
- package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
- package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
- package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
- package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
- package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
- package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
- package/src/providers/stripe/client/generated/tokens.ts +2498 -0
- package/src/providers/stripe/client/generated/topups.ts +556 -0
- package/src/providers/stripe/client/generated/transfers.ts +786 -0
- package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
- package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
- package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
- package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
- package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
- package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
- package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
- package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
- package/src/providers/stripe/client/stripeClient.ts +212 -0
- package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
- package/src/providers/stripe/client/stripeClientModel.ts +40 -0
- package/src/providers/stripe/index.ts +8 -15
- package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
- package/src/providers/stripe/management/resourcePolicy.ts +489 -0
- package/src/providers/stripe/management/resources.ts +36 -0
- package/src/providers/stripe/runtime.ts +74 -0
- package/bin/nomoss +0 -13
- package/docs/code-documentation.md +0 -36
- package/docs/effect-native-development.md +0 -55
- package/docs/engine-design.md +0 -93
- package/docs/linting.md +0 -88
- package/docs/releasing.md +0 -13
- package/docs/resource-command-policy-stage.md +0 -71
- package/docs/resource-graph-mvp.md +0 -31
- package/docs/resource-graph-testing-approach.md +0 -11
- package/docs/resource-lifecycle-tracker.md +0 -93
- package/docs/testing.md +0 -86
- package/examples/upload-events/README.md +0 -41
- package/src/cliRuntimeLayer.ts +0 -49
- package/src/core/model.ts +0 -229
- package/src/core/physicalNameStore.ts +0 -226
- package/src/core/planner.ts +0 -645
- package/src/core/resourceCommandPolicy.ts +0 -79
- package/src/core/resourceGraphBuilder.ts +0 -167
- package/src/core/resourceGraphStore.ts +0 -288
- package/src/core/resourceOutputResolver.ts +0 -185
- package/src/core/resourcePolicy.ts +0 -77
- package/src/core/resourceStackDefinition.ts +0 -17
- package/src/core/resourceStackLifecycle.ts +0 -456
- package/src/core/resourceStackOperations.ts +0 -129
- package/src/core/runtimeLayer.ts +0 -73
- package/src/core/stackWorkflowRenderer.ts +0 -239
- package/src/core/stateStore.ts +0 -652
- package/src/core/tracing.ts +0 -26
- package/src/providers/aws/awsApply.ts +0 -132
- package/src/providers/aws/awsBucket.ts +0 -329
- package/src/providers/aws/awsBucketNotification.ts +0 -351
- package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
- package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
- package/src/providers/aws/awsProviderLayer.ts +0 -274
- package/src/providers/aws/awsQueue.ts +0 -346
- package/src/providers/aws/awsQueuePolicy.ts +0 -419
- package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
- package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
- package/src/providers/aws/awsReconciliation.ts +0 -92
- package/src/providers/aws/awsRefresh.ts +0 -50
- package/src/providers/aws/awsResourceLifecycle.ts +0 -118
- package/src/providers/aws/awsResourcePolicy.ts +0 -83
- package/src/providers/aws/awsResources.ts +0 -274
- package/src/providers/aws/awsRuntimeLayer.ts +0 -21
- package/src/providers/aws/awsSqsTransport.ts +0 -33
- package/src/providers/aws/awsStackLifecycle.ts +0 -272
- package/src/providers/aws/awsTagging.ts +0 -186
- package/src/providers/aws/constants.ts +0 -3
- package/src/providers/aws/index.ts +0 -22
- package/src/providers/aws/sampleStack.ts +0 -65
- package/src/providers/aws/stackWorkflow.ts +0 -443
- package/src/providers/stripe/stripeAccount.ts +0 -139
- package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
- package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
- package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
- package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
- package/src/providers/stripe/stripeCustomer.ts +0 -148
- package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
- package/src/providers/stripe/stripePrice.ts +0 -218
- package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
- package/src/providers/stripe/stripeProduct.ts +0 -171
- package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
- package/src/providers/stripe/stripeResources.ts +0 -454
- package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
- package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
- package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts
ADDED
|
@@ -0,0 +1,3438 @@
|
|
|
1
|
+
// This schema module comes from the selected resource contracts. Do not edit.
|
|
2
|
+
|
|
3
|
+
// biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's compiled regular expressions.
|
|
4
|
+
import { Schema } from "effect";
|
|
5
|
+
import {
|
|
6
|
+
annotateResourceSchema,
|
|
7
|
+
type ResourceInputJson,
|
|
8
|
+
ResourceInputJsonSchema,
|
|
9
|
+
} from "../../../../../core/resource/model.js";
|
|
10
|
+
import { StripeResourceEntityInputProperties } from "./StripeResourceEntityInputProperties.js";
|
|
11
|
+
import { StripeResourceEntityInputProperties_2 } from "./StripeResourceEntityInputProperties_2.js";
|
|
12
|
+
import { StripeResourceEntityInputProperties_5 } from "./StripeResourceEntityInputProperties_5.js";
|
|
13
|
+
import { StripeV1AccountResourceSchema } from "./StripeV1AccountPropsSchema.js";
|
|
14
|
+
|
|
15
|
+
export type StripeV1AccountPropsEntity = {
|
|
16
|
+
readonly account_token?: string;
|
|
17
|
+
readonly bank_account?:
|
|
18
|
+
| ({
|
|
19
|
+
readonly account_holder_name?: string;
|
|
20
|
+
readonly account_holder_type?: "company" | "individual";
|
|
21
|
+
readonly account_number: string;
|
|
22
|
+
readonly account_type?: "checking" | "futsu" | "savings" | "toza";
|
|
23
|
+
readonly country: string;
|
|
24
|
+
readonly currency?: string;
|
|
25
|
+
readonly documents?: {
|
|
26
|
+
readonly bank_account_ownership_verification?: {
|
|
27
|
+
readonly files?: ReadonlyArray<string>;
|
|
28
|
+
} & { readonly [x: string]: Schema.Json };
|
|
29
|
+
} & { readonly [x: string]: Schema.Json };
|
|
30
|
+
readonly object?: "bank_account";
|
|
31
|
+
readonly routing_number?: string;
|
|
32
|
+
} & { readonly [x: string]: Schema.Json })
|
|
33
|
+
| string;
|
|
34
|
+
readonly business_profile?: {
|
|
35
|
+
readonly annual_revenue?: {
|
|
36
|
+
readonly amount: number;
|
|
37
|
+
readonly currency: string;
|
|
38
|
+
readonly fiscal_year_end: string;
|
|
39
|
+
} & { readonly [x: string]: Schema.Json };
|
|
40
|
+
readonly estimated_worker_count?: number;
|
|
41
|
+
readonly mcc?: string;
|
|
42
|
+
readonly minority_owned_business_designation?: ReadonlyArray<
|
|
43
|
+
| "lgbtqi_owned_business"
|
|
44
|
+
| "minority_owned_business"
|
|
45
|
+
| "none_of_these_apply"
|
|
46
|
+
| "prefer_not_to_answer"
|
|
47
|
+
| "women_owned_business"
|
|
48
|
+
>;
|
|
49
|
+
readonly monthly_estimated_revenue?: {
|
|
50
|
+
readonly amount: number;
|
|
51
|
+
readonly currency: string;
|
|
52
|
+
} & { readonly [x: string]: Schema.Json };
|
|
53
|
+
readonly name?: string;
|
|
54
|
+
readonly product_description?: string;
|
|
55
|
+
readonly specified_commercial_transactions_act_url?: string | "";
|
|
56
|
+
readonly support_address?: {
|
|
57
|
+
readonly city?: string;
|
|
58
|
+
readonly country?: string;
|
|
59
|
+
readonly line1?: string;
|
|
60
|
+
readonly line2?: string;
|
|
61
|
+
readonly postal_code?: string;
|
|
62
|
+
readonly state?: string;
|
|
63
|
+
} & { readonly [x: string]: Schema.Json };
|
|
64
|
+
readonly support_email?: string;
|
|
65
|
+
readonly support_phone?: string;
|
|
66
|
+
readonly support_url?: string | "";
|
|
67
|
+
readonly url?: string;
|
|
68
|
+
} & { readonly [x: string]: Schema.Json };
|
|
69
|
+
readonly business_type?:
|
|
70
|
+
| "company"
|
|
71
|
+
| "government_entity"
|
|
72
|
+
| "individual"
|
|
73
|
+
| "non_profit";
|
|
74
|
+
readonly capabilities?: {
|
|
75
|
+
readonly acss_debit_payments?: { readonly requested?: boolean } & {
|
|
76
|
+
readonly [x: string]: Schema.Json;
|
|
77
|
+
};
|
|
78
|
+
readonly affirm_payments?: { readonly requested?: boolean } & {
|
|
79
|
+
readonly [x: string]: Schema.Json;
|
|
80
|
+
};
|
|
81
|
+
readonly afterpay_clearpay_payments?: { readonly requested?: boolean } & {
|
|
82
|
+
readonly [x: string]: Schema.Json;
|
|
83
|
+
};
|
|
84
|
+
readonly alma_payments?: { readonly requested?: boolean } & {
|
|
85
|
+
readonly [x: string]: Schema.Json;
|
|
86
|
+
};
|
|
87
|
+
readonly amazon_pay_payments?: { readonly requested?: boolean } & {
|
|
88
|
+
readonly [x: string]: Schema.Json;
|
|
89
|
+
};
|
|
90
|
+
readonly app_distribution?: { readonly requested?: boolean } & {
|
|
91
|
+
readonly [x: string]: Schema.Json;
|
|
92
|
+
};
|
|
93
|
+
readonly au_becs_debit_payments?: { readonly requested?: boolean } & {
|
|
94
|
+
readonly [x: string]: Schema.Json;
|
|
95
|
+
};
|
|
96
|
+
readonly bacs_debit_payments?: { readonly requested?: boolean } & {
|
|
97
|
+
readonly [x: string]: Schema.Json;
|
|
98
|
+
};
|
|
99
|
+
readonly bancontact_payments?: { readonly requested?: boolean } & {
|
|
100
|
+
readonly [x: string]: Schema.Json;
|
|
101
|
+
};
|
|
102
|
+
readonly bank_transfer_payments?: { readonly requested?: boolean } & {
|
|
103
|
+
readonly [x: string]: Schema.Json;
|
|
104
|
+
};
|
|
105
|
+
readonly billie_payments?: { readonly requested?: boolean } & {
|
|
106
|
+
readonly [x: string]: Schema.Json;
|
|
107
|
+
};
|
|
108
|
+
readonly bizum_payments?: { readonly requested?: boolean } & {
|
|
109
|
+
readonly [x: string]: Schema.Json;
|
|
110
|
+
};
|
|
111
|
+
readonly blik_payments?: { readonly requested?: boolean } & {
|
|
112
|
+
readonly [x: string]: Schema.Json;
|
|
113
|
+
};
|
|
114
|
+
readonly blik_recurring_payments?: { readonly requested?: boolean } & {
|
|
115
|
+
readonly [x: string]: Schema.Json;
|
|
116
|
+
};
|
|
117
|
+
readonly boleto_payments?: { readonly requested?: boolean } & {
|
|
118
|
+
readonly [x: string]: Schema.Json;
|
|
119
|
+
};
|
|
120
|
+
readonly card_issuing?: { readonly requested?: boolean } & {
|
|
121
|
+
readonly [x: string]: Schema.Json;
|
|
122
|
+
};
|
|
123
|
+
readonly card_payments?: { readonly requested?: boolean } & {
|
|
124
|
+
readonly [x: string]: Schema.Json;
|
|
125
|
+
};
|
|
126
|
+
readonly cartes_bancaires_payments?: { readonly requested?: boolean } & {
|
|
127
|
+
readonly [x: string]: Schema.Json;
|
|
128
|
+
};
|
|
129
|
+
readonly cashapp_payments?: { readonly requested?: boolean } & {
|
|
130
|
+
readonly [x: string]: Schema.Json;
|
|
131
|
+
};
|
|
132
|
+
readonly crypto_payments?: { readonly requested?: boolean } & {
|
|
133
|
+
readonly [x: string]: Schema.Json;
|
|
134
|
+
};
|
|
135
|
+
readonly eps_payments?: { readonly requested?: boolean } & {
|
|
136
|
+
readonly [x: string]: Schema.Json;
|
|
137
|
+
};
|
|
138
|
+
readonly fpx_payments?: { readonly requested?: boolean } & {
|
|
139
|
+
readonly [x: string]: Schema.Json;
|
|
140
|
+
};
|
|
141
|
+
readonly gb_bank_transfer_payments?: { readonly requested?: boolean } & {
|
|
142
|
+
readonly [x: string]: Schema.Json;
|
|
143
|
+
};
|
|
144
|
+
readonly giropay_payments?: { readonly requested?: boolean } & {
|
|
145
|
+
readonly [x: string]: Schema.Json;
|
|
146
|
+
};
|
|
147
|
+
readonly grabpay_payments?: { readonly requested?: boolean } & {
|
|
148
|
+
readonly [x: string]: Schema.Json;
|
|
149
|
+
};
|
|
150
|
+
readonly ideal_payments?: { readonly requested?: boolean } & {
|
|
151
|
+
readonly [x: string]: Schema.Json;
|
|
152
|
+
};
|
|
153
|
+
readonly india_international_payments?: { readonly requested?: boolean } & {
|
|
154
|
+
readonly [x: string]: Schema.Json;
|
|
155
|
+
};
|
|
156
|
+
readonly jcb_payments?: { readonly requested?: boolean } & {
|
|
157
|
+
readonly [x: string]: Schema.Json;
|
|
158
|
+
};
|
|
159
|
+
readonly jp_bank_transfer_payments?: { readonly requested?: boolean } & {
|
|
160
|
+
readonly [x: string]: Schema.Json;
|
|
161
|
+
};
|
|
162
|
+
readonly kakao_pay_payments?: { readonly requested?: boolean } & {
|
|
163
|
+
readonly [x: string]: Schema.Json;
|
|
164
|
+
};
|
|
165
|
+
readonly klarna_payments?: { readonly requested?: boolean } & {
|
|
166
|
+
readonly [x: string]: Schema.Json;
|
|
167
|
+
};
|
|
168
|
+
readonly konbini_payments?: { readonly requested?: boolean } & {
|
|
169
|
+
readonly [x: string]: Schema.Json;
|
|
170
|
+
};
|
|
171
|
+
readonly kr_card_payments?: { readonly requested?: boolean } & {
|
|
172
|
+
readonly [x: string]: Schema.Json;
|
|
173
|
+
};
|
|
174
|
+
readonly legacy_payments?: { readonly requested?: boolean } & {
|
|
175
|
+
readonly [x: string]: Schema.Json;
|
|
176
|
+
};
|
|
177
|
+
readonly link_payments?: { readonly requested?: boolean } & {
|
|
178
|
+
readonly [x: string]: Schema.Json;
|
|
179
|
+
};
|
|
180
|
+
readonly mb_way_payments?: { readonly requested?: boolean } & {
|
|
181
|
+
readonly [x: string]: Schema.Json;
|
|
182
|
+
};
|
|
183
|
+
readonly mobilepay_payments?: { readonly requested?: boolean } & {
|
|
184
|
+
readonly [x: string]: Schema.Json;
|
|
185
|
+
};
|
|
186
|
+
readonly multibanco_payments?: { readonly requested?: boolean } & {
|
|
187
|
+
readonly [x: string]: Schema.Json;
|
|
188
|
+
};
|
|
189
|
+
readonly mx_bank_transfer_payments?: { readonly requested?: boolean } & {
|
|
190
|
+
readonly [x: string]: Schema.Json;
|
|
191
|
+
};
|
|
192
|
+
readonly naver_pay_payments?: { readonly requested?: boolean } & {
|
|
193
|
+
readonly [x: string]: Schema.Json;
|
|
194
|
+
};
|
|
195
|
+
readonly nz_bank_account_becs_debit_payments?: {
|
|
196
|
+
readonly requested?: boolean;
|
|
197
|
+
} & { readonly [x: string]: Schema.Json };
|
|
198
|
+
readonly oxxo_payments?: { readonly requested?: boolean } & {
|
|
199
|
+
readonly [x: string]: Schema.Json;
|
|
200
|
+
};
|
|
201
|
+
readonly p24_payments?: { readonly requested?: boolean } & {
|
|
202
|
+
readonly [x: string]: Schema.Json;
|
|
203
|
+
};
|
|
204
|
+
readonly pay_by_bank_payments?: { readonly requested?: boolean } & {
|
|
205
|
+
readonly [x: string]: Schema.Json;
|
|
206
|
+
};
|
|
207
|
+
readonly payco_payments?: { readonly requested?: boolean } & {
|
|
208
|
+
readonly [x: string]: Schema.Json;
|
|
209
|
+
};
|
|
210
|
+
readonly paynow_payments?: { readonly requested?: boolean } & {
|
|
211
|
+
readonly [x: string]: Schema.Json;
|
|
212
|
+
};
|
|
213
|
+
readonly paypay_payments?: { readonly requested?: boolean } & {
|
|
214
|
+
readonly [x: string]: Schema.Json;
|
|
215
|
+
};
|
|
216
|
+
readonly payto_payments?: { readonly requested?: boolean } & {
|
|
217
|
+
readonly [x: string]: Schema.Json;
|
|
218
|
+
};
|
|
219
|
+
readonly pix_payments?: { readonly requested?: boolean } & {
|
|
220
|
+
readonly [x: string]: Schema.Json;
|
|
221
|
+
};
|
|
222
|
+
readonly promptpay_payments?: { readonly requested?: boolean } & {
|
|
223
|
+
readonly [x: string]: Schema.Json;
|
|
224
|
+
};
|
|
225
|
+
readonly revolut_pay_payments?: { readonly requested?: boolean } & {
|
|
226
|
+
readonly [x: string]: Schema.Json;
|
|
227
|
+
};
|
|
228
|
+
readonly samsung_pay_payments?: { readonly requested?: boolean } & {
|
|
229
|
+
readonly [x: string]: Schema.Json;
|
|
230
|
+
};
|
|
231
|
+
readonly satispay_payments?: { readonly requested?: boolean } & {
|
|
232
|
+
readonly [x: string]: Schema.Json;
|
|
233
|
+
};
|
|
234
|
+
readonly scalapay_payments?: { readonly requested?: boolean } & {
|
|
235
|
+
readonly [x: string]: Schema.Json;
|
|
236
|
+
};
|
|
237
|
+
readonly sepa_bank_transfer_payments?: { readonly requested?: boolean } & {
|
|
238
|
+
readonly [x: string]: Schema.Json;
|
|
239
|
+
};
|
|
240
|
+
readonly sepa_debit_payments?: { readonly requested?: boolean } & {
|
|
241
|
+
readonly [x: string]: Schema.Json;
|
|
242
|
+
};
|
|
243
|
+
readonly sequra_payments?: { readonly requested?: boolean } & {
|
|
244
|
+
readonly [x: string]: Schema.Json;
|
|
245
|
+
};
|
|
246
|
+
readonly sofort_payments?: { readonly requested?: boolean } & {
|
|
247
|
+
readonly [x: string]: Schema.Json;
|
|
248
|
+
};
|
|
249
|
+
readonly sunbit_payments?: { readonly requested?: boolean } & {
|
|
250
|
+
readonly [x: string]: Schema.Json;
|
|
251
|
+
};
|
|
252
|
+
readonly swish_payments?: { readonly requested?: boolean } & {
|
|
253
|
+
readonly [x: string]: Schema.Json;
|
|
254
|
+
};
|
|
255
|
+
readonly tax_reporting_us_1099_k?: { readonly requested?: boolean } & {
|
|
256
|
+
readonly [x: string]: Schema.Json;
|
|
257
|
+
};
|
|
258
|
+
readonly tax_reporting_us_1099_misc?: { readonly requested?: boolean } & {
|
|
259
|
+
readonly [x: string]: Schema.Json;
|
|
260
|
+
};
|
|
261
|
+
readonly transfers?: { readonly requested?: boolean } & {
|
|
262
|
+
readonly [x: string]: Schema.Json;
|
|
263
|
+
};
|
|
264
|
+
readonly treasury?: { readonly requested?: boolean } & {
|
|
265
|
+
readonly [x: string]: Schema.Json;
|
|
266
|
+
};
|
|
267
|
+
readonly twint_payments?: { readonly requested?: boolean } & {
|
|
268
|
+
readonly [x: string]: Schema.Json;
|
|
269
|
+
};
|
|
270
|
+
readonly upi_payments?: { readonly requested?: boolean } & {
|
|
271
|
+
readonly [x: string]: Schema.Json;
|
|
272
|
+
};
|
|
273
|
+
readonly us_bank_account_ach_payments?: { readonly requested?: boolean } & {
|
|
274
|
+
readonly [x: string]: Schema.Json;
|
|
275
|
+
};
|
|
276
|
+
readonly us_bank_transfer_payments?: { readonly requested?: boolean } & {
|
|
277
|
+
readonly [x: string]: Schema.Json;
|
|
278
|
+
};
|
|
279
|
+
readonly wero_payments?: { readonly requested?: boolean } & {
|
|
280
|
+
readonly [x: string]: Schema.Json;
|
|
281
|
+
};
|
|
282
|
+
readonly zip_payments?: { readonly requested?: boolean } & {
|
|
283
|
+
readonly [x: string]: Schema.Json;
|
|
284
|
+
};
|
|
285
|
+
} & { readonly [x: string]: Schema.Json };
|
|
286
|
+
readonly company?: {
|
|
287
|
+
readonly address?: {
|
|
288
|
+
readonly city?: string;
|
|
289
|
+
readonly country?: string;
|
|
290
|
+
readonly line1?: string;
|
|
291
|
+
readonly line2?: string;
|
|
292
|
+
readonly postal_code?: string;
|
|
293
|
+
readonly state?: string;
|
|
294
|
+
} & { readonly [x: string]: Schema.Json };
|
|
295
|
+
readonly address_kana?: {
|
|
296
|
+
readonly city?: string;
|
|
297
|
+
readonly country?: string;
|
|
298
|
+
readonly line1?: string;
|
|
299
|
+
readonly line2?: string;
|
|
300
|
+
readonly postal_code?: string;
|
|
301
|
+
readonly state?: string;
|
|
302
|
+
readonly town?: string;
|
|
303
|
+
} & { readonly [x: string]: Schema.Json };
|
|
304
|
+
readonly address_kanji?: {
|
|
305
|
+
readonly city?: string;
|
|
306
|
+
readonly country?: string;
|
|
307
|
+
readonly line1?: string;
|
|
308
|
+
readonly line2?: string;
|
|
309
|
+
readonly postal_code?: string;
|
|
310
|
+
readonly state?: string;
|
|
311
|
+
readonly town?: string;
|
|
312
|
+
} & { readonly [x: string]: Schema.Json };
|
|
313
|
+
readonly administrative_address?: {
|
|
314
|
+
readonly city?: string;
|
|
315
|
+
readonly country?: string;
|
|
316
|
+
readonly line1?: string;
|
|
317
|
+
readonly line2?: string;
|
|
318
|
+
readonly postal_code?: string;
|
|
319
|
+
readonly state?: string;
|
|
320
|
+
} & { readonly [x: string]: Schema.Json };
|
|
321
|
+
readonly directors_provided?: boolean;
|
|
322
|
+
readonly directorship_declaration?: {
|
|
323
|
+
readonly date?: number;
|
|
324
|
+
readonly ip?: string;
|
|
325
|
+
readonly user_agent?: string;
|
|
326
|
+
} & { readonly [x: string]: Schema.Json };
|
|
327
|
+
readonly executives_provided?: boolean;
|
|
328
|
+
readonly export_license_id?: string;
|
|
329
|
+
readonly export_purpose_code?: string;
|
|
330
|
+
readonly name?: string;
|
|
331
|
+
readonly name_kana?: string;
|
|
332
|
+
readonly name_kanji?: string;
|
|
333
|
+
readonly owners_provided?: boolean;
|
|
334
|
+
readonly ownership_declaration?: {
|
|
335
|
+
readonly date?: number;
|
|
336
|
+
readonly ip?: string;
|
|
337
|
+
readonly user_agent?: string;
|
|
338
|
+
} & { readonly [x: string]: Schema.Json };
|
|
339
|
+
readonly ownership_exemption_reason?:
|
|
340
|
+
| ""
|
|
341
|
+
| "qualified_entity_exceeds_ownership_threshold"
|
|
342
|
+
| "qualifies_as_financial_institution";
|
|
343
|
+
readonly phone?: string;
|
|
344
|
+
readonly physical_address?: {
|
|
345
|
+
readonly city?: string;
|
|
346
|
+
readonly country?: string;
|
|
347
|
+
readonly line1?: string;
|
|
348
|
+
readonly line2?: string;
|
|
349
|
+
readonly postal_code?: string;
|
|
350
|
+
readonly state?: string;
|
|
351
|
+
} & { readonly [x: string]: Schema.Json };
|
|
352
|
+
readonly principal_place_of_business?: {
|
|
353
|
+
readonly city?: string;
|
|
354
|
+
readonly country?: string;
|
|
355
|
+
readonly line1?: string;
|
|
356
|
+
readonly line2?: string;
|
|
357
|
+
readonly postal_code?: string;
|
|
358
|
+
readonly state?: string;
|
|
359
|
+
} & { readonly [x: string]: Schema.Json };
|
|
360
|
+
readonly registration_date?:
|
|
361
|
+
| ({
|
|
362
|
+
readonly day: number;
|
|
363
|
+
readonly month: number;
|
|
364
|
+
readonly year: number;
|
|
365
|
+
} & { readonly [x: string]: Schema.Json })
|
|
366
|
+
| "";
|
|
367
|
+
readonly registration_number?: string;
|
|
368
|
+
readonly representative_declaration?: {
|
|
369
|
+
readonly date?: number;
|
|
370
|
+
readonly ip?: string;
|
|
371
|
+
readonly user_agent?: string;
|
|
372
|
+
} & { readonly [x: string]: Schema.Json };
|
|
373
|
+
readonly structure?:
|
|
374
|
+
| ""
|
|
375
|
+
| "free_zone_establishment"
|
|
376
|
+
| "free_zone_llc"
|
|
377
|
+
| "government_instrumentality"
|
|
378
|
+
| "governmental_unit"
|
|
379
|
+
| "incorporated_non_profit"
|
|
380
|
+
| "incorporated_partnership"
|
|
381
|
+
| "limited_liability_partnership"
|
|
382
|
+
| "llc"
|
|
383
|
+
| "multi_member_llc"
|
|
384
|
+
| "private_company"
|
|
385
|
+
| "private_corporation"
|
|
386
|
+
| "private_partnership"
|
|
387
|
+
| "public_company"
|
|
388
|
+
| "public_corporation"
|
|
389
|
+
| "public_partnership"
|
|
390
|
+
| "registered_charity"
|
|
391
|
+
| "single_member_llc"
|
|
392
|
+
| "sole_establishment"
|
|
393
|
+
| "sole_proprietorship"
|
|
394
|
+
| "tax_exempt_government_instrumentality"
|
|
395
|
+
| "unincorporated_association"
|
|
396
|
+
| "unincorporated_non_profit"
|
|
397
|
+
| "unincorporated_partnership";
|
|
398
|
+
readonly tax_id?: string;
|
|
399
|
+
readonly tax_id_registrar?: string;
|
|
400
|
+
readonly vat_id?: string;
|
|
401
|
+
readonly verification?: StripeResourceEntityInputProperties;
|
|
402
|
+
} & {
|
|
403
|
+
readonly [x: string]:
|
|
404
|
+
| ResourceInputJson
|
|
405
|
+
| StripeResourceEntityInputProperties;
|
|
406
|
+
};
|
|
407
|
+
readonly controller?: {
|
|
408
|
+
readonly fees?: { readonly payer?: "account" | "application" } & {
|
|
409
|
+
readonly [x: string]: Schema.Json;
|
|
410
|
+
};
|
|
411
|
+
readonly losses?: { readonly payments?: "application" | "stripe" } & {
|
|
412
|
+
readonly [x: string]: Schema.Json;
|
|
413
|
+
};
|
|
414
|
+
readonly requirement_collection?: "application" | "stripe";
|
|
415
|
+
readonly stripe_dashboard?: {
|
|
416
|
+
readonly type?: "express" | "full" | "none";
|
|
417
|
+
} & { readonly [x: string]: Schema.Json };
|
|
418
|
+
} & { readonly [x: string]: Schema.Json };
|
|
419
|
+
readonly country?: string;
|
|
420
|
+
readonly default_currency?: string;
|
|
421
|
+
readonly documents?: {
|
|
422
|
+
readonly bank_account_ownership_verification?: {
|
|
423
|
+
readonly files?: ReadonlyArray<string>;
|
|
424
|
+
} & { readonly [x: string]: Schema.Json };
|
|
425
|
+
readonly company_license?: { readonly files?: ReadonlyArray<string> } & {
|
|
426
|
+
readonly [x: string]: Schema.Json;
|
|
427
|
+
};
|
|
428
|
+
readonly company_memorandum_of_association?: {
|
|
429
|
+
readonly files?: ReadonlyArray<string>;
|
|
430
|
+
} & { readonly [x: string]: Schema.Json };
|
|
431
|
+
readonly company_ministerial_decree?: {
|
|
432
|
+
readonly files?: ReadonlyArray<string>;
|
|
433
|
+
} & { readonly [x: string]: Schema.Json };
|
|
434
|
+
readonly company_registration_verification?: {
|
|
435
|
+
readonly files?: ReadonlyArray<string>;
|
|
436
|
+
} & { readonly [x: string]: Schema.Json };
|
|
437
|
+
readonly company_tax_id_verification?: {
|
|
438
|
+
readonly files?: ReadonlyArray<string>;
|
|
439
|
+
} & { readonly [x: string]: Schema.Json };
|
|
440
|
+
readonly proof_of_address?: { readonly files?: ReadonlyArray<string> } & {
|
|
441
|
+
readonly [x: string]: Schema.Json;
|
|
442
|
+
};
|
|
443
|
+
readonly proof_of_business_presence?: {
|
|
444
|
+
readonly files?: ReadonlyArray<string>;
|
|
445
|
+
} & { readonly [x: string]: Schema.Json };
|
|
446
|
+
readonly proof_of_ultimate_beneficial_ownership?: {
|
|
447
|
+
readonly files?: ReadonlyArray<string>;
|
|
448
|
+
readonly signer?: { readonly person?: string } & {
|
|
449
|
+
readonly [x: string]: Schema.Json;
|
|
450
|
+
};
|
|
451
|
+
} & { readonly [x: string]: Schema.Json };
|
|
452
|
+
} & { readonly [x: string]: Schema.Json };
|
|
453
|
+
readonly email?: string;
|
|
454
|
+
readonly expand?: ReadonlyArray<string>;
|
|
455
|
+
readonly external_account?: string;
|
|
456
|
+
readonly groups?: { readonly payments_pricing?: string | "" } & {
|
|
457
|
+
readonly [x: string]: Schema.Json;
|
|
458
|
+
};
|
|
459
|
+
readonly individual?: {
|
|
460
|
+
readonly address?: {
|
|
461
|
+
readonly city?: string;
|
|
462
|
+
readonly country?: string;
|
|
463
|
+
readonly line1?: string;
|
|
464
|
+
readonly line2?: string;
|
|
465
|
+
readonly postal_code?: string;
|
|
466
|
+
readonly state?: string;
|
|
467
|
+
} & { readonly [x: string]: Schema.Json };
|
|
468
|
+
readonly address_kana?: {
|
|
469
|
+
readonly city?: string;
|
|
470
|
+
readonly country?: string;
|
|
471
|
+
readonly line1?: string;
|
|
472
|
+
readonly line2?: string;
|
|
473
|
+
readonly postal_code?: string;
|
|
474
|
+
readonly state?: string;
|
|
475
|
+
readonly town?: string;
|
|
476
|
+
} & { readonly [x: string]: Schema.Json };
|
|
477
|
+
readonly address_kanji?: {
|
|
478
|
+
readonly city?: string;
|
|
479
|
+
readonly country?: string;
|
|
480
|
+
readonly line1?: string;
|
|
481
|
+
readonly line2?: string;
|
|
482
|
+
readonly postal_code?: string;
|
|
483
|
+
readonly state?: string;
|
|
484
|
+
readonly town?: string;
|
|
485
|
+
} & { readonly [x: string]: Schema.Json };
|
|
486
|
+
readonly dob?:
|
|
487
|
+
| ({
|
|
488
|
+
readonly day: number;
|
|
489
|
+
readonly month: number;
|
|
490
|
+
readonly year: number;
|
|
491
|
+
} & { readonly [x: string]: Schema.Json })
|
|
492
|
+
| "";
|
|
493
|
+
readonly email?: string;
|
|
494
|
+
readonly first_name?: string;
|
|
495
|
+
readonly first_name_kana?: string;
|
|
496
|
+
readonly first_name_kanji?: string;
|
|
497
|
+
readonly full_name_aliases?: ReadonlyArray<string> | "";
|
|
498
|
+
readonly gender?: string;
|
|
499
|
+
readonly id_number?: string;
|
|
500
|
+
readonly id_number_secondary?: string;
|
|
501
|
+
readonly last_name?: string;
|
|
502
|
+
readonly last_name_kana?: string;
|
|
503
|
+
readonly last_name_kanji?: string;
|
|
504
|
+
readonly maiden_name?: string;
|
|
505
|
+
readonly metadata?: { readonly [x: string]: string } | "";
|
|
506
|
+
readonly phone?: string;
|
|
507
|
+
readonly political_exposure?: "existing" | "none";
|
|
508
|
+
readonly registered_address?: {
|
|
509
|
+
readonly city?: string;
|
|
510
|
+
readonly country?: string;
|
|
511
|
+
readonly line1?: string;
|
|
512
|
+
readonly line2?: string;
|
|
513
|
+
readonly postal_code?: string;
|
|
514
|
+
readonly state?: string;
|
|
515
|
+
} & { readonly [x: string]: Schema.Json };
|
|
516
|
+
readonly relationship?: {
|
|
517
|
+
readonly director?: boolean;
|
|
518
|
+
readonly executive?: boolean;
|
|
519
|
+
readonly owner?: boolean;
|
|
520
|
+
readonly percent_ownership?: number | "";
|
|
521
|
+
readonly title?: string;
|
|
522
|
+
} & { readonly [x: string]: Schema.Json };
|
|
523
|
+
readonly ssn_last_4?: string;
|
|
524
|
+
readonly verification?: StripeResourceEntityInputProperties_2;
|
|
525
|
+
} & {
|
|
526
|
+
readonly [x: string]:
|
|
527
|
+
| ResourceInputJson
|
|
528
|
+
| StripeResourceEntityInputProperties_2;
|
|
529
|
+
};
|
|
530
|
+
readonly metadata?: { readonly [x: string]: string } | "";
|
|
531
|
+
readonly settings?: {
|
|
532
|
+
readonly bacs_debit_payments?: { readonly display_name?: string } & {
|
|
533
|
+
readonly [x: string]: Schema.Json;
|
|
534
|
+
};
|
|
535
|
+
readonly branding?: StripeResourceEntityInputProperties_5;
|
|
536
|
+
readonly card_issuing?: {
|
|
537
|
+
readonly tos_acceptance?: {
|
|
538
|
+
readonly date?: number;
|
|
539
|
+
readonly ip?: string;
|
|
540
|
+
readonly user_agent?: string | "";
|
|
541
|
+
} & { readonly [x: string]: Schema.Json };
|
|
542
|
+
} & { readonly [x: string]: Schema.Json };
|
|
543
|
+
readonly card_payments?: {
|
|
544
|
+
readonly decline_on?: {
|
|
545
|
+
readonly avs_failure?: boolean;
|
|
546
|
+
readonly cvc_failure?: boolean;
|
|
547
|
+
} & { readonly [x: string]: Schema.Json };
|
|
548
|
+
readonly statement_descriptor_prefix?: string;
|
|
549
|
+
readonly statement_descriptor_prefix_kana?: string | "";
|
|
550
|
+
readonly statement_descriptor_prefix_kanji?: string | "";
|
|
551
|
+
} & { readonly [x: string]: Schema.Json };
|
|
552
|
+
readonly invoices?: {
|
|
553
|
+
readonly hosted_payment_method_save?: "always" | "never" | "offer";
|
|
554
|
+
} & { readonly [x: string]: Schema.Json };
|
|
555
|
+
readonly payments?: {
|
|
556
|
+
readonly statement_descriptor?: string;
|
|
557
|
+
readonly statement_descriptor_kana?: string;
|
|
558
|
+
readonly statement_descriptor_kanji?: string;
|
|
559
|
+
} & { readonly [x: string]: Schema.Json };
|
|
560
|
+
readonly payouts?: {
|
|
561
|
+
readonly debit_negative_balances?: boolean;
|
|
562
|
+
readonly schedule?: {
|
|
563
|
+
readonly delay_days?: "minimum" | number;
|
|
564
|
+
readonly interval?: "daily" | "manual" | "monthly" | "weekly";
|
|
565
|
+
readonly monthly_anchor?: number;
|
|
566
|
+
readonly monthly_payout_days?: ReadonlyArray<number>;
|
|
567
|
+
readonly weekly_anchor?:
|
|
568
|
+
| "friday"
|
|
569
|
+
| "monday"
|
|
570
|
+
| "saturday"
|
|
571
|
+
| "sunday"
|
|
572
|
+
| "thursday"
|
|
573
|
+
| "tuesday"
|
|
574
|
+
| "wednesday";
|
|
575
|
+
readonly weekly_payout_days?: ReadonlyArray<
|
|
576
|
+
"friday" | "monday" | "thursday" | "tuesday" | "wednesday"
|
|
577
|
+
>;
|
|
578
|
+
} & { readonly [x: string]: Schema.Json };
|
|
579
|
+
readonly statement_descriptor?: string;
|
|
580
|
+
} & { readonly [x: string]: Schema.Json };
|
|
581
|
+
readonly paypay_payments?: {
|
|
582
|
+
readonly additional_files?: ReadonlyArray<string>;
|
|
583
|
+
readonly goods_type?: "digital_content" | "other";
|
|
584
|
+
readonly site?: {
|
|
585
|
+
readonly accessible?: { readonly [x: string]: Schema.Json };
|
|
586
|
+
readonly in_development?: {
|
|
587
|
+
readonly password: string;
|
|
588
|
+
readonly username?: string;
|
|
589
|
+
} & { readonly [x: string]: Schema.Json };
|
|
590
|
+
readonly restricted?: { readonly payment_flow_file?: string } & {
|
|
591
|
+
readonly [x: string]: Schema.Json;
|
|
592
|
+
};
|
|
593
|
+
readonly type?: "accessible" | "in_development" | "restricted";
|
|
594
|
+
} & { readonly [x: string]: Schema.Json };
|
|
595
|
+
} & { readonly [x: string]: Schema.Json };
|
|
596
|
+
readonly sepa_debit_payments?: { readonly creditor_id?: string } & {
|
|
597
|
+
readonly [x: string]: Schema.Json;
|
|
598
|
+
};
|
|
599
|
+
readonly treasury?: {
|
|
600
|
+
readonly tos_acceptance?: {
|
|
601
|
+
readonly date?: number;
|
|
602
|
+
readonly ip?: string;
|
|
603
|
+
readonly user_agent?: string | "";
|
|
604
|
+
} & { readonly [x: string]: Schema.Json };
|
|
605
|
+
} & { readonly [x: string]: Schema.Json };
|
|
606
|
+
} & {
|
|
607
|
+
readonly [x: string]:
|
|
608
|
+
| ResourceInputJson
|
|
609
|
+
| StripeResourceEntityInputProperties_5;
|
|
610
|
+
};
|
|
611
|
+
readonly tos_acceptance?: {
|
|
612
|
+
readonly date?: number;
|
|
613
|
+
readonly ip?: string;
|
|
614
|
+
readonly service_agreement?: string;
|
|
615
|
+
readonly user_agent?: string;
|
|
616
|
+
} & { readonly [x: string]: Schema.Json };
|
|
617
|
+
readonly type?: "custom" | "express" | "standard";
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
export const StripeV1AccountPropsEntitySchema = annotateResourceSchema(
|
|
621
|
+
Schema.Struct({
|
|
622
|
+
account_token: Schema.optionalKey(
|
|
623
|
+
Schema.String.annotate({
|
|
624
|
+
description:
|
|
625
|
+
"An [account token](https://docs.stripe.com/api#create_account_token), used to securely provide details to the account.",
|
|
626
|
+
}).check(
|
|
627
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
628
|
+
expected: "a string with at most 5000 code points",
|
|
629
|
+
}),
|
|
630
|
+
),
|
|
631
|
+
),
|
|
632
|
+
bank_account: Schema.optionalKey(
|
|
633
|
+
Schema.Union([
|
|
634
|
+
Schema.StructWithRest(
|
|
635
|
+
Schema.Struct({
|
|
636
|
+
account_holder_name: Schema.optionalKey(
|
|
637
|
+
Schema.String.check(
|
|
638
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
639
|
+
expected: "a string with at most 5000 code points",
|
|
640
|
+
}),
|
|
641
|
+
),
|
|
642
|
+
),
|
|
643
|
+
account_holder_type: Schema.optionalKey(
|
|
644
|
+
Schema.Literals(["company", "individual"]),
|
|
645
|
+
),
|
|
646
|
+
account_number: Schema.String.check(
|
|
647
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
648
|
+
expected: "a string with at most 5000 code points",
|
|
649
|
+
}),
|
|
650
|
+
),
|
|
651
|
+
account_type: Schema.optionalKey(
|
|
652
|
+
Schema.Literals(["checking", "futsu", "savings", "toza"]),
|
|
653
|
+
),
|
|
654
|
+
country: Schema.String.check(
|
|
655
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
656
|
+
expected: "a string with at most 5000 code points",
|
|
657
|
+
}),
|
|
658
|
+
),
|
|
659
|
+
currency: Schema.optionalKey(
|
|
660
|
+
Schema.String.annotate({ format: "currency" }),
|
|
661
|
+
),
|
|
662
|
+
documents: Schema.optionalKey(
|
|
663
|
+
Schema.StructWithRest(
|
|
664
|
+
Schema.Struct({
|
|
665
|
+
bank_account_ownership_verification: Schema.optionalKey(
|
|
666
|
+
Schema.StructWithRest(
|
|
667
|
+
Schema.Struct({
|
|
668
|
+
files: Schema.optionalKey(
|
|
669
|
+
Schema.Array(
|
|
670
|
+
Schema.String.check(
|
|
671
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
672
|
+
expected:
|
|
673
|
+
"a string with at most 500 code points",
|
|
674
|
+
}),
|
|
675
|
+
),
|
|
676
|
+
),
|
|
677
|
+
),
|
|
678
|
+
}),
|
|
679
|
+
[
|
|
680
|
+
Schema.Record(
|
|
681
|
+
Schema.String,
|
|
682
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
683
|
+
),
|
|
684
|
+
],
|
|
685
|
+
).annotate({ title: "documents_param" }),
|
|
686
|
+
),
|
|
687
|
+
}),
|
|
688
|
+
[
|
|
689
|
+
Schema.Record(
|
|
690
|
+
Schema.String,
|
|
691
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
692
|
+
),
|
|
693
|
+
],
|
|
694
|
+
).annotate({ title: "external_account_documents_param" }),
|
|
695
|
+
),
|
|
696
|
+
object: Schema.optionalKey(Schema.Literal("bank_account")),
|
|
697
|
+
routing_number: Schema.optionalKey(
|
|
698
|
+
Schema.String.check(
|
|
699
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
700
|
+
expected: "a string with at most 5000 code points",
|
|
701
|
+
}),
|
|
702
|
+
),
|
|
703
|
+
),
|
|
704
|
+
}),
|
|
705
|
+
[
|
|
706
|
+
Schema.Record(
|
|
707
|
+
Schema.String,
|
|
708
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
709
|
+
),
|
|
710
|
+
],
|
|
711
|
+
).annotate({ title: "external_account_payout_bank_account" }),
|
|
712
|
+
Schema.String.check(
|
|
713
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
714
|
+
expected: "a string with at most 5000 code points",
|
|
715
|
+
}),
|
|
716
|
+
),
|
|
717
|
+
]).annotate({
|
|
718
|
+
description:
|
|
719
|
+
"Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/js), or a dictionary containing a user's bank account details.",
|
|
720
|
+
}),
|
|
721
|
+
),
|
|
722
|
+
business_profile: Schema.optionalKey(
|
|
723
|
+
Schema.StructWithRest(
|
|
724
|
+
Schema.Struct({
|
|
725
|
+
annual_revenue: Schema.optionalKey(
|
|
726
|
+
Schema.StructWithRest(
|
|
727
|
+
Schema.Struct({
|
|
728
|
+
amount: Schema.Int,
|
|
729
|
+
currency: Schema.String.annotate({ format: "currency" }),
|
|
730
|
+
fiscal_year_end: Schema.String.check(
|
|
731
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
732
|
+
expected: "a string with at most 5000 code points",
|
|
733
|
+
}),
|
|
734
|
+
),
|
|
735
|
+
}),
|
|
736
|
+
[
|
|
737
|
+
Schema.Record(
|
|
738
|
+
Schema.String,
|
|
739
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
740
|
+
),
|
|
741
|
+
],
|
|
742
|
+
).annotate({ title: "annual_revenue_specs" }),
|
|
743
|
+
),
|
|
744
|
+
estimated_worker_count: Schema.optionalKey(Schema.Int),
|
|
745
|
+
mcc: Schema.optionalKey(
|
|
746
|
+
Schema.String.check(
|
|
747
|
+
Schema.isMaxCodePoints(4).annotate({
|
|
748
|
+
expected: "a string with at most 4 code points",
|
|
749
|
+
}),
|
|
750
|
+
),
|
|
751
|
+
),
|
|
752
|
+
minority_owned_business_designation: Schema.optionalKey(
|
|
753
|
+
Schema.Array(
|
|
754
|
+
Schema.Literals([
|
|
755
|
+
"lgbtqi_owned_business",
|
|
756
|
+
"minority_owned_business",
|
|
757
|
+
"none_of_these_apply",
|
|
758
|
+
"prefer_not_to_answer",
|
|
759
|
+
"women_owned_business",
|
|
760
|
+
]),
|
|
761
|
+
),
|
|
762
|
+
),
|
|
763
|
+
monthly_estimated_revenue: Schema.optionalKey(
|
|
764
|
+
Schema.StructWithRest(
|
|
765
|
+
Schema.Struct({
|
|
766
|
+
amount: Schema.Int,
|
|
767
|
+
currency: Schema.String.annotate({ format: "currency" }),
|
|
768
|
+
}),
|
|
769
|
+
[
|
|
770
|
+
Schema.Record(
|
|
771
|
+
Schema.String,
|
|
772
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
773
|
+
),
|
|
774
|
+
],
|
|
775
|
+
).annotate({ title: "monthly_estimated_revenue_specs" }),
|
|
776
|
+
),
|
|
777
|
+
name: Schema.optionalKey(
|
|
778
|
+
Schema.String.check(
|
|
779
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
780
|
+
expected: "a string with at most 5000 code points",
|
|
781
|
+
}),
|
|
782
|
+
),
|
|
783
|
+
),
|
|
784
|
+
product_description: Schema.optionalKey(
|
|
785
|
+
Schema.String.check(
|
|
786
|
+
Schema.isMaxCodePoints(40000).annotate({
|
|
787
|
+
expected: "a string with at most 40000 code points",
|
|
788
|
+
}),
|
|
789
|
+
),
|
|
790
|
+
),
|
|
791
|
+
specified_commercial_transactions_act_url: Schema.optionalKey(
|
|
792
|
+
Schema.Union([Schema.String, Schema.Literal("")]),
|
|
793
|
+
),
|
|
794
|
+
support_address: Schema.optionalKey(
|
|
795
|
+
Schema.StructWithRest(
|
|
796
|
+
Schema.Struct({
|
|
797
|
+
city: Schema.optionalKey(
|
|
798
|
+
Schema.String.check(
|
|
799
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
800
|
+
expected: "a string with at most 100 code points",
|
|
801
|
+
}),
|
|
802
|
+
),
|
|
803
|
+
),
|
|
804
|
+
country: Schema.optionalKey(
|
|
805
|
+
Schema.String.check(
|
|
806
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
807
|
+
expected: "a string with at most 5000 code points",
|
|
808
|
+
}),
|
|
809
|
+
),
|
|
810
|
+
),
|
|
811
|
+
line1: Schema.optionalKey(
|
|
812
|
+
Schema.String.check(
|
|
813
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
814
|
+
expected: "a string with at most 200 code points",
|
|
815
|
+
}),
|
|
816
|
+
),
|
|
817
|
+
),
|
|
818
|
+
line2: Schema.optionalKey(
|
|
819
|
+
Schema.String.check(
|
|
820
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
821
|
+
expected: "a string with at most 200 code points",
|
|
822
|
+
}),
|
|
823
|
+
),
|
|
824
|
+
),
|
|
825
|
+
postal_code: Schema.optionalKey(
|
|
826
|
+
Schema.String.check(
|
|
827
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
828
|
+
expected: "a string with at most 5000 code points",
|
|
829
|
+
}),
|
|
830
|
+
),
|
|
831
|
+
),
|
|
832
|
+
state: Schema.optionalKey(
|
|
833
|
+
Schema.String.check(
|
|
834
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
835
|
+
expected: "a string with at most 5000 code points",
|
|
836
|
+
}),
|
|
837
|
+
),
|
|
838
|
+
),
|
|
839
|
+
}),
|
|
840
|
+
[
|
|
841
|
+
Schema.Record(
|
|
842
|
+
Schema.String,
|
|
843
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
844
|
+
),
|
|
845
|
+
],
|
|
846
|
+
).annotate({ title: "address_specs" }),
|
|
847
|
+
),
|
|
848
|
+
support_email: Schema.optionalKey(
|
|
849
|
+
Schema.String.check(
|
|
850
|
+
Schema.isMaxCodePoints(800).annotate({
|
|
851
|
+
expected: "a string with at most 800 code points",
|
|
852
|
+
}),
|
|
853
|
+
),
|
|
854
|
+
),
|
|
855
|
+
support_phone: Schema.optionalKey(
|
|
856
|
+
Schema.String.check(
|
|
857
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
858
|
+
expected: "a string with at most 5000 code points",
|
|
859
|
+
}),
|
|
860
|
+
),
|
|
861
|
+
),
|
|
862
|
+
support_url: Schema.optionalKey(
|
|
863
|
+
Schema.Union([Schema.String, Schema.Literal("")]),
|
|
864
|
+
),
|
|
865
|
+
url: Schema.optionalKey(Schema.String),
|
|
866
|
+
}),
|
|
867
|
+
[
|
|
868
|
+
Schema.Record(
|
|
869
|
+
Schema.String,
|
|
870
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
871
|
+
),
|
|
872
|
+
],
|
|
873
|
+
).annotate({
|
|
874
|
+
title: "business_profile_specs",
|
|
875
|
+
description: "Business information about the account.",
|
|
876
|
+
}),
|
|
877
|
+
),
|
|
878
|
+
business_type: Schema.optionalKey(
|
|
879
|
+
Schema.Literals([
|
|
880
|
+
"company",
|
|
881
|
+
"government_entity",
|
|
882
|
+
"individual",
|
|
883
|
+
"non_profit",
|
|
884
|
+
]).annotate({
|
|
885
|
+
description:
|
|
886
|
+
"The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
|
|
887
|
+
}),
|
|
888
|
+
),
|
|
889
|
+
capabilities: Schema.optionalKey(
|
|
890
|
+
Schema.StructWithRest(
|
|
891
|
+
Schema.Struct({
|
|
892
|
+
acss_debit_payments: Schema.optionalKey(
|
|
893
|
+
Schema.StructWithRest(
|
|
894
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
895
|
+
[
|
|
896
|
+
Schema.Record(
|
|
897
|
+
Schema.String,
|
|
898
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
899
|
+
),
|
|
900
|
+
],
|
|
901
|
+
).annotate({ title: "capability_param" }),
|
|
902
|
+
),
|
|
903
|
+
affirm_payments: Schema.optionalKey(
|
|
904
|
+
Schema.StructWithRest(
|
|
905
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
906
|
+
[
|
|
907
|
+
Schema.Record(
|
|
908
|
+
Schema.String,
|
|
909
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
910
|
+
),
|
|
911
|
+
],
|
|
912
|
+
).annotate({ title: "capability_param" }),
|
|
913
|
+
),
|
|
914
|
+
afterpay_clearpay_payments: Schema.optionalKey(
|
|
915
|
+
Schema.StructWithRest(
|
|
916
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
917
|
+
[
|
|
918
|
+
Schema.Record(
|
|
919
|
+
Schema.String,
|
|
920
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
921
|
+
),
|
|
922
|
+
],
|
|
923
|
+
).annotate({ title: "capability_param" }),
|
|
924
|
+
),
|
|
925
|
+
alma_payments: Schema.optionalKey(
|
|
926
|
+
Schema.StructWithRest(
|
|
927
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
928
|
+
[
|
|
929
|
+
Schema.Record(
|
|
930
|
+
Schema.String,
|
|
931
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
932
|
+
),
|
|
933
|
+
],
|
|
934
|
+
).annotate({ title: "capability_param" }),
|
|
935
|
+
),
|
|
936
|
+
amazon_pay_payments: Schema.optionalKey(
|
|
937
|
+
Schema.StructWithRest(
|
|
938
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
939
|
+
[
|
|
940
|
+
Schema.Record(
|
|
941
|
+
Schema.String,
|
|
942
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
943
|
+
),
|
|
944
|
+
],
|
|
945
|
+
).annotate({ title: "capability_param" }),
|
|
946
|
+
),
|
|
947
|
+
app_distribution: Schema.optionalKey(
|
|
948
|
+
Schema.StructWithRest(
|
|
949
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
950
|
+
[
|
|
951
|
+
Schema.Record(
|
|
952
|
+
Schema.String,
|
|
953
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
954
|
+
),
|
|
955
|
+
],
|
|
956
|
+
).annotate({ title: "capability_param" }),
|
|
957
|
+
),
|
|
958
|
+
au_becs_debit_payments: Schema.optionalKey(
|
|
959
|
+
Schema.StructWithRest(
|
|
960
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
961
|
+
[
|
|
962
|
+
Schema.Record(
|
|
963
|
+
Schema.String,
|
|
964
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
965
|
+
),
|
|
966
|
+
],
|
|
967
|
+
).annotate({ title: "capability_param" }),
|
|
968
|
+
),
|
|
969
|
+
bacs_debit_payments: Schema.optionalKey(
|
|
970
|
+
Schema.StructWithRest(
|
|
971
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
972
|
+
[
|
|
973
|
+
Schema.Record(
|
|
974
|
+
Schema.String,
|
|
975
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
976
|
+
),
|
|
977
|
+
],
|
|
978
|
+
).annotate({ title: "capability_param" }),
|
|
979
|
+
),
|
|
980
|
+
bancontact_payments: Schema.optionalKey(
|
|
981
|
+
Schema.StructWithRest(
|
|
982
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
983
|
+
[
|
|
984
|
+
Schema.Record(
|
|
985
|
+
Schema.String,
|
|
986
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
987
|
+
),
|
|
988
|
+
],
|
|
989
|
+
).annotate({ title: "capability_param" }),
|
|
990
|
+
),
|
|
991
|
+
bank_transfer_payments: Schema.optionalKey(
|
|
992
|
+
Schema.StructWithRest(
|
|
993
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
994
|
+
[
|
|
995
|
+
Schema.Record(
|
|
996
|
+
Schema.String,
|
|
997
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
998
|
+
),
|
|
999
|
+
],
|
|
1000
|
+
).annotate({ title: "capability_param" }),
|
|
1001
|
+
),
|
|
1002
|
+
billie_payments: Schema.optionalKey(
|
|
1003
|
+
Schema.StructWithRest(
|
|
1004
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1005
|
+
[
|
|
1006
|
+
Schema.Record(
|
|
1007
|
+
Schema.String,
|
|
1008
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1009
|
+
),
|
|
1010
|
+
],
|
|
1011
|
+
).annotate({ title: "capability_param" }),
|
|
1012
|
+
),
|
|
1013
|
+
bizum_payments: Schema.optionalKey(
|
|
1014
|
+
Schema.StructWithRest(
|
|
1015
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1016
|
+
[
|
|
1017
|
+
Schema.Record(
|
|
1018
|
+
Schema.String,
|
|
1019
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1020
|
+
),
|
|
1021
|
+
],
|
|
1022
|
+
).annotate({ title: "capability_param" }),
|
|
1023
|
+
),
|
|
1024
|
+
blik_payments: Schema.optionalKey(
|
|
1025
|
+
Schema.StructWithRest(
|
|
1026
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1027
|
+
[
|
|
1028
|
+
Schema.Record(
|
|
1029
|
+
Schema.String,
|
|
1030
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1031
|
+
),
|
|
1032
|
+
],
|
|
1033
|
+
).annotate({ title: "capability_param" }),
|
|
1034
|
+
),
|
|
1035
|
+
blik_recurring_payments: Schema.optionalKey(
|
|
1036
|
+
Schema.StructWithRest(
|
|
1037
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1038
|
+
[
|
|
1039
|
+
Schema.Record(
|
|
1040
|
+
Schema.String,
|
|
1041
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1042
|
+
),
|
|
1043
|
+
],
|
|
1044
|
+
).annotate({ title: "capability_param" }),
|
|
1045
|
+
),
|
|
1046
|
+
boleto_payments: Schema.optionalKey(
|
|
1047
|
+
Schema.StructWithRest(
|
|
1048
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1049
|
+
[
|
|
1050
|
+
Schema.Record(
|
|
1051
|
+
Schema.String,
|
|
1052
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1053
|
+
),
|
|
1054
|
+
],
|
|
1055
|
+
).annotate({ title: "capability_param" }),
|
|
1056
|
+
),
|
|
1057
|
+
card_issuing: Schema.optionalKey(
|
|
1058
|
+
Schema.StructWithRest(
|
|
1059
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1060
|
+
[
|
|
1061
|
+
Schema.Record(
|
|
1062
|
+
Schema.String,
|
|
1063
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1064
|
+
),
|
|
1065
|
+
],
|
|
1066
|
+
).annotate({ title: "capability_param" }),
|
|
1067
|
+
),
|
|
1068
|
+
card_payments: Schema.optionalKey(
|
|
1069
|
+
Schema.StructWithRest(
|
|
1070
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1071
|
+
[
|
|
1072
|
+
Schema.Record(
|
|
1073
|
+
Schema.String,
|
|
1074
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1075
|
+
),
|
|
1076
|
+
],
|
|
1077
|
+
).annotate({ title: "protectable_capability_param" }),
|
|
1078
|
+
),
|
|
1079
|
+
cartes_bancaires_payments: Schema.optionalKey(
|
|
1080
|
+
Schema.StructWithRest(
|
|
1081
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1082
|
+
[
|
|
1083
|
+
Schema.Record(
|
|
1084
|
+
Schema.String,
|
|
1085
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1086
|
+
),
|
|
1087
|
+
],
|
|
1088
|
+
).annotate({ title: "capability_param" }),
|
|
1089
|
+
),
|
|
1090
|
+
cashapp_payments: Schema.optionalKey(
|
|
1091
|
+
Schema.StructWithRest(
|
|
1092
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1093
|
+
[
|
|
1094
|
+
Schema.Record(
|
|
1095
|
+
Schema.String,
|
|
1096
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1097
|
+
),
|
|
1098
|
+
],
|
|
1099
|
+
).annotate({ title: "capability_param" }),
|
|
1100
|
+
),
|
|
1101
|
+
crypto_payments: Schema.optionalKey(
|
|
1102
|
+
Schema.StructWithRest(
|
|
1103
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1104
|
+
[
|
|
1105
|
+
Schema.Record(
|
|
1106
|
+
Schema.String,
|
|
1107
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1108
|
+
),
|
|
1109
|
+
],
|
|
1110
|
+
).annotate({ title: "capability_param" }),
|
|
1111
|
+
),
|
|
1112
|
+
eps_payments: Schema.optionalKey(
|
|
1113
|
+
Schema.StructWithRest(
|
|
1114
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1115
|
+
[
|
|
1116
|
+
Schema.Record(
|
|
1117
|
+
Schema.String,
|
|
1118
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1119
|
+
),
|
|
1120
|
+
],
|
|
1121
|
+
).annotate({ title: "capability_param" }),
|
|
1122
|
+
),
|
|
1123
|
+
fpx_payments: Schema.optionalKey(
|
|
1124
|
+
Schema.StructWithRest(
|
|
1125
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1126
|
+
[
|
|
1127
|
+
Schema.Record(
|
|
1128
|
+
Schema.String,
|
|
1129
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1130
|
+
),
|
|
1131
|
+
],
|
|
1132
|
+
).annotate({ title: "capability_param" }),
|
|
1133
|
+
),
|
|
1134
|
+
gb_bank_transfer_payments: Schema.optionalKey(
|
|
1135
|
+
Schema.StructWithRest(
|
|
1136
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1137
|
+
[
|
|
1138
|
+
Schema.Record(
|
|
1139
|
+
Schema.String,
|
|
1140
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1141
|
+
),
|
|
1142
|
+
],
|
|
1143
|
+
).annotate({ title: "capability_param" }),
|
|
1144
|
+
),
|
|
1145
|
+
giropay_payments: Schema.optionalKey(
|
|
1146
|
+
Schema.StructWithRest(
|
|
1147
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1148
|
+
[
|
|
1149
|
+
Schema.Record(
|
|
1150
|
+
Schema.String,
|
|
1151
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1152
|
+
),
|
|
1153
|
+
],
|
|
1154
|
+
).annotate({ title: "capability_param" }),
|
|
1155
|
+
),
|
|
1156
|
+
grabpay_payments: Schema.optionalKey(
|
|
1157
|
+
Schema.StructWithRest(
|
|
1158
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1159
|
+
[
|
|
1160
|
+
Schema.Record(
|
|
1161
|
+
Schema.String,
|
|
1162
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1163
|
+
),
|
|
1164
|
+
],
|
|
1165
|
+
).annotate({ title: "capability_param" }),
|
|
1166
|
+
),
|
|
1167
|
+
ideal_payments: Schema.optionalKey(
|
|
1168
|
+
Schema.StructWithRest(
|
|
1169
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1170
|
+
[
|
|
1171
|
+
Schema.Record(
|
|
1172
|
+
Schema.String,
|
|
1173
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1174
|
+
),
|
|
1175
|
+
],
|
|
1176
|
+
).annotate({ title: "capability_param" }),
|
|
1177
|
+
),
|
|
1178
|
+
india_international_payments: Schema.optionalKey(
|
|
1179
|
+
Schema.StructWithRest(
|
|
1180
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1181
|
+
[
|
|
1182
|
+
Schema.Record(
|
|
1183
|
+
Schema.String,
|
|
1184
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1185
|
+
),
|
|
1186
|
+
],
|
|
1187
|
+
).annotate({ title: "capability_param" }),
|
|
1188
|
+
),
|
|
1189
|
+
jcb_payments: Schema.optionalKey(
|
|
1190
|
+
Schema.StructWithRest(
|
|
1191
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1192
|
+
[
|
|
1193
|
+
Schema.Record(
|
|
1194
|
+
Schema.String,
|
|
1195
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1196
|
+
),
|
|
1197
|
+
],
|
|
1198
|
+
).annotate({ title: "capability_param" }),
|
|
1199
|
+
),
|
|
1200
|
+
jp_bank_transfer_payments: Schema.optionalKey(
|
|
1201
|
+
Schema.StructWithRest(
|
|
1202
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1203
|
+
[
|
|
1204
|
+
Schema.Record(
|
|
1205
|
+
Schema.String,
|
|
1206
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1207
|
+
),
|
|
1208
|
+
],
|
|
1209
|
+
).annotate({ title: "capability_param" }),
|
|
1210
|
+
),
|
|
1211
|
+
kakao_pay_payments: Schema.optionalKey(
|
|
1212
|
+
Schema.StructWithRest(
|
|
1213
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1214
|
+
[
|
|
1215
|
+
Schema.Record(
|
|
1216
|
+
Schema.String,
|
|
1217
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1218
|
+
),
|
|
1219
|
+
],
|
|
1220
|
+
).annotate({ title: "capability_param" }),
|
|
1221
|
+
),
|
|
1222
|
+
klarna_payments: Schema.optionalKey(
|
|
1223
|
+
Schema.StructWithRest(
|
|
1224
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1225
|
+
[
|
|
1226
|
+
Schema.Record(
|
|
1227
|
+
Schema.String,
|
|
1228
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1229
|
+
),
|
|
1230
|
+
],
|
|
1231
|
+
).annotate({ title: "capability_param" }),
|
|
1232
|
+
),
|
|
1233
|
+
konbini_payments: Schema.optionalKey(
|
|
1234
|
+
Schema.StructWithRest(
|
|
1235
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1236
|
+
[
|
|
1237
|
+
Schema.Record(
|
|
1238
|
+
Schema.String,
|
|
1239
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1240
|
+
),
|
|
1241
|
+
],
|
|
1242
|
+
).annotate({ title: "capability_param" }),
|
|
1243
|
+
),
|
|
1244
|
+
kr_card_payments: Schema.optionalKey(
|
|
1245
|
+
Schema.StructWithRest(
|
|
1246
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1247
|
+
[
|
|
1248
|
+
Schema.Record(
|
|
1249
|
+
Schema.String,
|
|
1250
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1251
|
+
),
|
|
1252
|
+
],
|
|
1253
|
+
).annotate({ title: "capability_param" }),
|
|
1254
|
+
),
|
|
1255
|
+
legacy_payments: Schema.optionalKey(
|
|
1256
|
+
Schema.StructWithRest(
|
|
1257
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1258
|
+
[
|
|
1259
|
+
Schema.Record(
|
|
1260
|
+
Schema.String,
|
|
1261
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1262
|
+
),
|
|
1263
|
+
],
|
|
1264
|
+
).annotate({ title: "capability_param" }),
|
|
1265
|
+
),
|
|
1266
|
+
link_payments: Schema.optionalKey(
|
|
1267
|
+
Schema.StructWithRest(
|
|
1268
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1269
|
+
[
|
|
1270
|
+
Schema.Record(
|
|
1271
|
+
Schema.String,
|
|
1272
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1273
|
+
),
|
|
1274
|
+
],
|
|
1275
|
+
).annotate({ title: "capability_param" }),
|
|
1276
|
+
),
|
|
1277
|
+
mb_way_payments: Schema.optionalKey(
|
|
1278
|
+
Schema.StructWithRest(
|
|
1279
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1280
|
+
[
|
|
1281
|
+
Schema.Record(
|
|
1282
|
+
Schema.String,
|
|
1283
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1284
|
+
),
|
|
1285
|
+
],
|
|
1286
|
+
).annotate({ title: "capability_param" }),
|
|
1287
|
+
),
|
|
1288
|
+
mobilepay_payments: Schema.optionalKey(
|
|
1289
|
+
Schema.StructWithRest(
|
|
1290
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1291
|
+
[
|
|
1292
|
+
Schema.Record(
|
|
1293
|
+
Schema.String,
|
|
1294
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1295
|
+
),
|
|
1296
|
+
],
|
|
1297
|
+
).annotate({ title: "capability_param" }),
|
|
1298
|
+
),
|
|
1299
|
+
multibanco_payments: Schema.optionalKey(
|
|
1300
|
+
Schema.StructWithRest(
|
|
1301
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1302
|
+
[
|
|
1303
|
+
Schema.Record(
|
|
1304
|
+
Schema.String,
|
|
1305
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1306
|
+
),
|
|
1307
|
+
],
|
|
1308
|
+
).annotate({ title: "capability_param" }),
|
|
1309
|
+
),
|
|
1310
|
+
mx_bank_transfer_payments: Schema.optionalKey(
|
|
1311
|
+
Schema.StructWithRest(
|
|
1312
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1313
|
+
[
|
|
1314
|
+
Schema.Record(
|
|
1315
|
+
Schema.String,
|
|
1316
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1317
|
+
),
|
|
1318
|
+
],
|
|
1319
|
+
).annotate({ title: "capability_param" }),
|
|
1320
|
+
),
|
|
1321
|
+
naver_pay_payments: Schema.optionalKey(
|
|
1322
|
+
Schema.StructWithRest(
|
|
1323
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1324
|
+
[
|
|
1325
|
+
Schema.Record(
|
|
1326
|
+
Schema.String,
|
|
1327
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1328
|
+
),
|
|
1329
|
+
],
|
|
1330
|
+
).annotate({ title: "capability_param" }),
|
|
1331
|
+
),
|
|
1332
|
+
nz_bank_account_becs_debit_payments: Schema.optionalKey(
|
|
1333
|
+
Schema.StructWithRest(
|
|
1334
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1335
|
+
[
|
|
1336
|
+
Schema.Record(
|
|
1337
|
+
Schema.String,
|
|
1338
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1339
|
+
),
|
|
1340
|
+
],
|
|
1341
|
+
).annotate({ title: "capability_param" }),
|
|
1342
|
+
),
|
|
1343
|
+
oxxo_payments: Schema.optionalKey(
|
|
1344
|
+
Schema.StructWithRest(
|
|
1345
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1346
|
+
[
|
|
1347
|
+
Schema.Record(
|
|
1348
|
+
Schema.String,
|
|
1349
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1350
|
+
),
|
|
1351
|
+
],
|
|
1352
|
+
).annotate({ title: "capability_param" }),
|
|
1353
|
+
),
|
|
1354
|
+
p24_payments: Schema.optionalKey(
|
|
1355
|
+
Schema.StructWithRest(
|
|
1356
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1357
|
+
[
|
|
1358
|
+
Schema.Record(
|
|
1359
|
+
Schema.String,
|
|
1360
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1361
|
+
),
|
|
1362
|
+
],
|
|
1363
|
+
).annotate({ title: "capability_param" }),
|
|
1364
|
+
),
|
|
1365
|
+
pay_by_bank_payments: Schema.optionalKey(
|
|
1366
|
+
Schema.StructWithRest(
|
|
1367
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1368
|
+
[
|
|
1369
|
+
Schema.Record(
|
|
1370
|
+
Schema.String,
|
|
1371
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1372
|
+
),
|
|
1373
|
+
],
|
|
1374
|
+
).annotate({ title: "capability_param" }),
|
|
1375
|
+
),
|
|
1376
|
+
payco_payments: Schema.optionalKey(
|
|
1377
|
+
Schema.StructWithRest(
|
|
1378
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1379
|
+
[
|
|
1380
|
+
Schema.Record(
|
|
1381
|
+
Schema.String,
|
|
1382
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1383
|
+
),
|
|
1384
|
+
],
|
|
1385
|
+
).annotate({ title: "capability_param" }),
|
|
1386
|
+
),
|
|
1387
|
+
paynow_payments: Schema.optionalKey(
|
|
1388
|
+
Schema.StructWithRest(
|
|
1389
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1390
|
+
[
|
|
1391
|
+
Schema.Record(
|
|
1392
|
+
Schema.String,
|
|
1393
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1394
|
+
),
|
|
1395
|
+
],
|
|
1396
|
+
).annotate({ title: "capability_param" }),
|
|
1397
|
+
),
|
|
1398
|
+
paypay_payments: Schema.optionalKey(
|
|
1399
|
+
Schema.StructWithRest(
|
|
1400
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1401
|
+
[
|
|
1402
|
+
Schema.Record(
|
|
1403
|
+
Schema.String,
|
|
1404
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1405
|
+
),
|
|
1406
|
+
],
|
|
1407
|
+
).annotate({ title: "capability_param" }),
|
|
1408
|
+
),
|
|
1409
|
+
payto_payments: Schema.optionalKey(
|
|
1410
|
+
Schema.StructWithRest(
|
|
1411
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1412
|
+
[
|
|
1413
|
+
Schema.Record(
|
|
1414
|
+
Schema.String,
|
|
1415
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1416
|
+
),
|
|
1417
|
+
],
|
|
1418
|
+
).annotate({ title: "capability_param" }),
|
|
1419
|
+
),
|
|
1420
|
+
pix_payments: Schema.optionalKey(
|
|
1421
|
+
Schema.StructWithRest(
|
|
1422
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1423
|
+
[
|
|
1424
|
+
Schema.Record(
|
|
1425
|
+
Schema.String,
|
|
1426
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1427
|
+
),
|
|
1428
|
+
],
|
|
1429
|
+
).annotate({ title: "capability_param" }),
|
|
1430
|
+
),
|
|
1431
|
+
promptpay_payments: Schema.optionalKey(
|
|
1432
|
+
Schema.StructWithRest(
|
|
1433
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1434
|
+
[
|
|
1435
|
+
Schema.Record(
|
|
1436
|
+
Schema.String,
|
|
1437
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1438
|
+
),
|
|
1439
|
+
],
|
|
1440
|
+
).annotate({ title: "capability_param" }),
|
|
1441
|
+
),
|
|
1442
|
+
revolut_pay_payments: Schema.optionalKey(
|
|
1443
|
+
Schema.StructWithRest(
|
|
1444
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1445
|
+
[
|
|
1446
|
+
Schema.Record(
|
|
1447
|
+
Schema.String,
|
|
1448
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1449
|
+
),
|
|
1450
|
+
],
|
|
1451
|
+
).annotate({ title: "capability_param" }),
|
|
1452
|
+
),
|
|
1453
|
+
samsung_pay_payments: Schema.optionalKey(
|
|
1454
|
+
Schema.StructWithRest(
|
|
1455
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1456
|
+
[
|
|
1457
|
+
Schema.Record(
|
|
1458
|
+
Schema.String,
|
|
1459
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1460
|
+
),
|
|
1461
|
+
],
|
|
1462
|
+
).annotate({ title: "capability_param" }),
|
|
1463
|
+
),
|
|
1464
|
+
satispay_payments: Schema.optionalKey(
|
|
1465
|
+
Schema.StructWithRest(
|
|
1466
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1467
|
+
[
|
|
1468
|
+
Schema.Record(
|
|
1469
|
+
Schema.String,
|
|
1470
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1471
|
+
),
|
|
1472
|
+
],
|
|
1473
|
+
).annotate({ title: "capability_param" }),
|
|
1474
|
+
),
|
|
1475
|
+
scalapay_payments: Schema.optionalKey(
|
|
1476
|
+
Schema.StructWithRest(
|
|
1477
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1478
|
+
[
|
|
1479
|
+
Schema.Record(
|
|
1480
|
+
Schema.String,
|
|
1481
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1482
|
+
),
|
|
1483
|
+
],
|
|
1484
|
+
).annotate({ title: "capability_param" }),
|
|
1485
|
+
),
|
|
1486
|
+
sepa_bank_transfer_payments: Schema.optionalKey(
|
|
1487
|
+
Schema.StructWithRest(
|
|
1488
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1489
|
+
[
|
|
1490
|
+
Schema.Record(
|
|
1491
|
+
Schema.String,
|
|
1492
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1493
|
+
),
|
|
1494
|
+
],
|
|
1495
|
+
).annotate({ title: "capability_param" }),
|
|
1496
|
+
),
|
|
1497
|
+
sepa_debit_payments: Schema.optionalKey(
|
|
1498
|
+
Schema.StructWithRest(
|
|
1499
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1500
|
+
[
|
|
1501
|
+
Schema.Record(
|
|
1502
|
+
Schema.String,
|
|
1503
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1504
|
+
),
|
|
1505
|
+
],
|
|
1506
|
+
).annotate({ title: "capability_param" }),
|
|
1507
|
+
),
|
|
1508
|
+
sequra_payments: Schema.optionalKey(
|
|
1509
|
+
Schema.StructWithRest(
|
|
1510
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1511
|
+
[
|
|
1512
|
+
Schema.Record(
|
|
1513
|
+
Schema.String,
|
|
1514
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1515
|
+
),
|
|
1516
|
+
],
|
|
1517
|
+
).annotate({ title: "capability_param" }),
|
|
1518
|
+
),
|
|
1519
|
+
sofort_payments: Schema.optionalKey(
|
|
1520
|
+
Schema.StructWithRest(
|
|
1521
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1522
|
+
[
|
|
1523
|
+
Schema.Record(
|
|
1524
|
+
Schema.String,
|
|
1525
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1526
|
+
),
|
|
1527
|
+
],
|
|
1528
|
+
).annotate({ title: "capability_param" }),
|
|
1529
|
+
),
|
|
1530
|
+
sunbit_payments: Schema.optionalKey(
|
|
1531
|
+
Schema.StructWithRest(
|
|
1532
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1533
|
+
[
|
|
1534
|
+
Schema.Record(
|
|
1535
|
+
Schema.String,
|
|
1536
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1537
|
+
),
|
|
1538
|
+
],
|
|
1539
|
+
).annotate({ title: "capability_param" }),
|
|
1540
|
+
),
|
|
1541
|
+
swish_payments: Schema.optionalKey(
|
|
1542
|
+
Schema.StructWithRest(
|
|
1543
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1544
|
+
[
|
|
1545
|
+
Schema.Record(
|
|
1546
|
+
Schema.String,
|
|
1547
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1548
|
+
),
|
|
1549
|
+
],
|
|
1550
|
+
).annotate({ title: "capability_param" }),
|
|
1551
|
+
),
|
|
1552
|
+
tax_reporting_us_1099_k: Schema.optionalKey(
|
|
1553
|
+
Schema.StructWithRest(
|
|
1554
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1555
|
+
[
|
|
1556
|
+
Schema.Record(
|
|
1557
|
+
Schema.String,
|
|
1558
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1559
|
+
),
|
|
1560
|
+
],
|
|
1561
|
+
).annotate({ title: "capability_param" }),
|
|
1562
|
+
),
|
|
1563
|
+
tax_reporting_us_1099_misc: Schema.optionalKey(
|
|
1564
|
+
Schema.StructWithRest(
|
|
1565
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1566
|
+
[
|
|
1567
|
+
Schema.Record(
|
|
1568
|
+
Schema.String,
|
|
1569
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1570
|
+
),
|
|
1571
|
+
],
|
|
1572
|
+
).annotate({ title: "capability_param" }),
|
|
1573
|
+
),
|
|
1574
|
+
transfers: Schema.optionalKey(
|
|
1575
|
+
Schema.StructWithRest(
|
|
1576
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1577
|
+
[
|
|
1578
|
+
Schema.Record(
|
|
1579
|
+
Schema.String,
|
|
1580
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1581
|
+
),
|
|
1582
|
+
],
|
|
1583
|
+
).annotate({ title: "capability_param" }),
|
|
1584
|
+
),
|
|
1585
|
+
treasury: Schema.optionalKey(
|
|
1586
|
+
Schema.StructWithRest(
|
|
1587
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1588
|
+
[
|
|
1589
|
+
Schema.Record(
|
|
1590
|
+
Schema.String,
|
|
1591
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1592
|
+
),
|
|
1593
|
+
],
|
|
1594
|
+
).annotate({ title: "capability_param" }),
|
|
1595
|
+
),
|
|
1596
|
+
twint_payments: Schema.optionalKey(
|
|
1597
|
+
Schema.StructWithRest(
|
|
1598
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1599
|
+
[
|
|
1600
|
+
Schema.Record(
|
|
1601
|
+
Schema.String,
|
|
1602
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1603
|
+
),
|
|
1604
|
+
],
|
|
1605
|
+
).annotate({ title: "capability_param" }),
|
|
1606
|
+
),
|
|
1607
|
+
upi_payments: Schema.optionalKey(
|
|
1608
|
+
Schema.StructWithRest(
|
|
1609
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1610
|
+
[
|
|
1611
|
+
Schema.Record(
|
|
1612
|
+
Schema.String,
|
|
1613
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1614
|
+
),
|
|
1615
|
+
],
|
|
1616
|
+
).annotate({ title: "capability_param" }),
|
|
1617
|
+
),
|
|
1618
|
+
us_bank_account_ach_payments: Schema.optionalKey(
|
|
1619
|
+
Schema.StructWithRest(
|
|
1620
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1621
|
+
[
|
|
1622
|
+
Schema.Record(
|
|
1623
|
+
Schema.String,
|
|
1624
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1625
|
+
),
|
|
1626
|
+
],
|
|
1627
|
+
).annotate({ title: "capability_param" }),
|
|
1628
|
+
),
|
|
1629
|
+
us_bank_transfer_payments: Schema.optionalKey(
|
|
1630
|
+
Schema.StructWithRest(
|
|
1631
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1632
|
+
[
|
|
1633
|
+
Schema.Record(
|
|
1634
|
+
Schema.String,
|
|
1635
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1636
|
+
),
|
|
1637
|
+
],
|
|
1638
|
+
).annotate({ title: "capability_param" }),
|
|
1639
|
+
),
|
|
1640
|
+
wero_payments: Schema.optionalKey(
|
|
1641
|
+
Schema.StructWithRest(
|
|
1642
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1643
|
+
[
|
|
1644
|
+
Schema.Record(
|
|
1645
|
+
Schema.String,
|
|
1646
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1647
|
+
),
|
|
1648
|
+
],
|
|
1649
|
+
).annotate({ title: "capability_param" }),
|
|
1650
|
+
),
|
|
1651
|
+
zip_payments: Schema.optionalKey(
|
|
1652
|
+
Schema.StructWithRest(
|
|
1653
|
+
Schema.Struct({ requested: Schema.optionalKey(Schema.Boolean) }),
|
|
1654
|
+
[
|
|
1655
|
+
Schema.Record(
|
|
1656
|
+
Schema.String,
|
|
1657
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1658
|
+
),
|
|
1659
|
+
],
|
|
1660
|
+
).annotate({ title: "capability_param" }),
|
|
1661
|
+
),
|
|
1662
|
+
}),
|
|
1663
|
+
[
|
|
1664
|
+
Schema.Record(
|
|
1665
|
+
Schema.String,
|
|
1666
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1667
|
+
),
|
|
1668
|
+
],
|
|
1669
|
+
).annotate({
|
|
1670
|
+
title: "capabilities_param",
|
|
1671
|
+
description:
|
|
1672
|
+
"Each key of the dictionary represents a capability, and each capability\nmaps to its settings (for example, whether it has been requested or not). Each\ncapability is inactive until you have provided its specific\nrequirements and Stripe has verified them. An account might have some\nof its requested capabilities be active and some be inactive.\n\nRequired when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)\nis `none`, which includes Custom accounts.",
|
|
1673
|
+
}),
|
|
1674
|
+
),
|
|
1675
|
+
company: Schema.optionalKey(
|
|
1676
|
+
Schema.StructWithRest(
|
|
1677
|
+
Schema.Struct({
|
|
1678
|
+
address: Schema.optionalKey(
|
|
1679
|
+
Schema.StructWithRest(
|
|
1680
|
+
Schema.Struct({
|
|
1681
|
+
city: Schema.optionalKey(
|
|
1682
|
+
Schema.String.check(
|
|
1683
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
1684
|
+
expected: "a string with at most 100 code points",
|
|
1685
|
+
}),
|
|
1686
|
+
),
|
|
1687
|
+
),
|
|
1688
|
+
country: Schema.optionalKey(
|
|
1689
|
+
Schema.String.check(
|
|
1690
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1691
|
+
expected: "a string with at most 5000 code points",
|
|
1692
|
+
}),
|
|
1693
|
+
),
|
|
1694
|
+
),
|
|
1695
|
+
line1: Schema.optionalKey(
|
|
1696
|
+
Schema.String.check(
|
|
1697
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1698
|
+
expected: "a string with at most 200 code points",
|
|
1699
|
+
}),
|
|
1700
|
+
),
|
|
1701
|
+
),
|
|
1702
|
+
line2: Schema.optionalKey(
|
|
1703
|
+
Schema.String.check(
|
|
1704
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1705
|
+
expected: "a string with at most 200 code points",
|
|
1706
|
+
}),
|
|
1707
|
+
),
|
|
1708
|
+
),
|
|
1709
|
+
postal_code: Schema.optionalKey(
|
|
1710
|
+
Schema.String.check(
|
|
1711
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1712
|
+
expected: "a string with at most 5000 code points",
|
|
1713
|
+
}),
|
|
1714
|
+
),
|
|
1715
|
+
),
|
|
1716
|
+
state: Schema.optionalKey(
|
|
1717
|
+
Schema.String.check(
|
|
1718
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1719
|
+
expected: "a string with at most 5000 code points",
|
|
1720
|
+
}),
|
|
1721
|
+
),
|
|
1722
|
+
),
|
|
1723
|
+
}),
|
|
1724
|
+
[
|
|
1725
|
+
Schema.Record(
|
|
1726
|
+
Schema.String,
|
|
1727
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1728
|
+
),
|
|
1729
|
+
],
|
|
1730
|
+
).annotate({ title: "legal_entity_and_kyc_address_specs" }),
|
|
1731
|
+
),
|
|
1732
|
+
address_kana: Schema.optionalKey(
|
|
1733
|
+
Schema.StructWithRest(
|
|
1734
|
+
Schema.Struct({
|
|
1735
|
+
city: Schema.optionalKey(
|
|
1736
|
+
Schema.String.check(
|
|
1737
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1738
|
+
expected: "a string with at most 5000 code points",
|
|
1739
|
+
}),
|
|
1740
|
+
),
|
|
1741
|
+
),
|
|
1742
|
+
country: Schema.optionalKey(
|
|
1743
|
+
Schema.String.check(
|
|
1744
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1745
|
+
expected: "a string with at most 5000 code points",
|
|
1746
|
+
}),
|
|
1747
|
+
),
|
|
1748
|
+
),
|
|
1749
|
+
line1: Schema.optionalKey(
|
|
1750
|
+
Schema.String.check(
|
|
1751
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1752
|
+
expected: "a string with at most 5000 code points",
|
|
1753
|
+
}),
|
|
1754
|
+
),
|
|
1755
|
+
),
|
|
1756
|
+
line2: Schema.optionalKey(
|
|
1757
|
+
Schema.String.check(
|
|
1758
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1759
|
+
expected: "a string with at most 5000 code points",
|
|
1760
|
+
}),
|
|
1761
|
+
),
|
|
1762
|
+
),
|
|
1763
|
+
postal_code: Schema.optionalKey(
|
|
1764
|
+
Schema.String.check(
|
|
1765
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1766
|
+
expected: "a string with at most 5000 code points",
|
|
1767
|
+
}),
|
|
1768
|
+
),
|
|
1769
|
+
),
|
|
1770
|
+
state: Schema.optionalKey(
|
|
1771
|
+
Schema.String.check(
|
|
1772
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1773
|
+
expected: "a string with at most 5000 code points",
|
|
1774
|
+
}),
|
|
1775
|
+
),
|
|
1776
|
+
),
|
|
1777
|
+
town: Schema.optionalKey(
|
|
1778
|
+
Schema.String.check(
|
|
1779
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1780
|
+
expected: "a string with at most 5000 code points",
|
|
1781
|
+
}),
|
|
1782
|
+
),
|
|
1783
|
+
),
|
|
1784
|
+
}),
|
|
1785
|
+
[
|
|
1786
|
+
Schema.Record(
|
|
1787
|
+
Schema.String,
|
|
1788
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1789
|
+
),
|
|
1790
|
+
],
|
|
1791
|
+
).annotate({ title: "japan_address_kana_specs" }),
|
|
1792
|
+
),
|
|
1793
|
+
address_kanji: Schema.optionalKey(
|
|
1794
|
+
Schema.StructWithRest(
|
|
1795
|
+
Schema.Struct({
|
|
1796
|
+
city: Schema.optionalKey(
|
|
1797
|
+
Schema.String.check(
|
|
1798
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1799
|
+
expected: "a string with at most 5000 code points",
|
|
1800
|
+
}),
|
|
1801
|
+
),
|
|
1802
|
+
),
|
|
1803
|
+
country: Schema.optionalKey(
|
|
1804
|
+
Schema.String.check(
|
|
1805
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1806
|
+
expected: "a string with at most 5000 code points",
|
|
1807
|
+
}),
|
|
1808
|
+
),
|
|
1809
|
+
),
|
|
1810
|
+
line1: Schema.optionalKey(
|
|
1811
|
+
Schema.String.check(
|
|
1812
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1813
|
+
expected: "a string with at most 5000 code points",
|
|
1814
|
+
}),
|
|
1815
|
+
),
|
|
1816
|
+
),
|
|
1817
|
+
line2: Schema.optionalKey(
|
|
1818
|
+
Schema.String.check(
|
|
1819
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1820
|
+
expected: "a string with at most 5000 code points",
|
|
1821
|
+
}),
|
|
1822
|
+
),
|
|
1823
|
+
),
|
|
1824
|
+
postal_code: Schema.optionalKey(
|
|
1825
|
+
Schema.String.check(
|
|
1826
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1827
|
+
expected: "a string with at most 5000 code points",
|
|
1828
|
+
}),
|
|
1829
|
+
),
|
|
1830
|
+
),
|
|
1831
|
+
state: Schema.optionalKey(
|
|
1832
|
+
Schema.String.check(
|
|
1833
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1834
|
+
expected: "a string with at most 5000 code points",
|
|
1835
|
+
}),
|
|
1836
|
+
),
|
|
1837
|
+
),
|
|
1838
|
+
town: Schema.optionalKey(
|
|
1839
|
+
Schema.String.check(
|
|
1840
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1841
|
+
expected: "a string with at most 5000 code points",
|
|
1842
|
+
}),
|
|
1843
|
+
),
|
|
1844
|
+
),
|
|
1845
|
+
}),
|
|
1846
|
+
[
|
|
1847
|
+
Schema.Record(
|
|
1848
|
+
Schema.String,
|
|
1849
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1850
|
+
),
|
|
1851
|
+
],
|
|
1852
|
+
).annotate({ title: "japan_address_kanji_specs" }),
|
|
1853
|
+
),
|
|
1854
|
+
administrative_address: Schema.optionalKey(
|
|
1855
|
+
Schema.StructWithRest(
|
|
1856
|
+
Schema.Struct({
|
|
1857
|
+
city: Schema.optionalKey(
|
|
1858
|
+
Schema.String.check(
|
|
1859
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
1860
|
+
expected: "a string with at most 100 code points",
|
|
1861
|
+
}),
|
|
1862
|
+
),
|
|
1863
|
+
),
|
|
1864
|
+
country: Schema.optionalKey(
|
|
1865
|
+
Schema.String.check(
|
|
1866
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1867
|
+
expected: "a string with at most 5000 code points",
|
|
1868
|
+
}),
|
|
1869
|
+
),
|
|
1870
|
+
),
|
|
1871
|
+
line1: Schema.optionalKey(
|
|
1872
|
+
Schema.String.check(
|
|
1873
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1874
|
+
expected: "a string with at most 200 code points",
|
|
1875
|
+
}),
|
|
1876
|
+
),
|
|
1877
|
+
),
|
|
1878
|
+
line2: Schema.optionalKey(
|
|
1879
|
+
Schema.String.check(
|
|
1880
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1881
|
+
expected: "a string with at most 200 code points",
|
|
1882
|
+
}),
|
|
1883
|
+
),
|
|
1884
|
+
),
|
|
1885
|
+
postal_code: Schema.optionalKey(
|
|
1886
|
+
Schema.String.check(
|
|
1887
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1888
|
+
expected: "a string with at most 5000 code points",
|
|
1889
|
+
}),
|
|
1890
|
+
),
|
|
1891
|
+
),
|
|
1892
|
+
state: Schema.optionalKey(
|
|
1893
|
+
Schema.String.check(
|
|
1894
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1895
|
+
expected: "a string with at most 5000 code points",
|
|
1896
|
+
}),
|
|
1897
|
+
),
|
|
1898
|
+
),
|
|
1899
|
+
}),
|
|
1900
|
+
[
|
|
1901
|
+
Schema.Record(
|
|
1902
|
+
Schema.String,
|
|
1903
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1904
|
+
),
|
|
1905
|
+
],
|
|
1906
|
+
).annotate({ title: "address_specs" }),
|
|
1907
|
+
),
|
|
1908
|
+
directors_provided: Schema.optionalKey(Schema.Boolean),
|
|
1909
|
+
directorship_declaration: Schema.optionalKey(
|
|
1910
|
+
Schema.StructWithRest(
|
|
1911
|
+
Schema.Struct({
|
|
1912
|
+
date: Schema.optionalKey(
|
|
1913
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
1914
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
1915
|
+
),
|
|
1916
|
+
),
|
|
1917
|
+
ip: Schema.optionalKey(Schema.String),
|
|
1918
|
+
user_agent: Schema.optionalKey(
|
|
1919
|
+
Schema.String.check(
|
|
1920
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1921
|
+
expected: "a string with at most 5000 code points",
|
|
1922
|
+
}),
|
|
1923
|
+
),
|
|
1924
|
+
),
|
|
1925
|
+
}),
|
|
1926
|
+
[
|
|
1927
|
+
Schema.Record(
|
|
1928
|
+
Schema.String,
|
|
1929
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1930
|
+
),
|
|
1931
|
+
],
|
|
1932
|
+
).annotate({ title: "company_directorship_declaration" }),
|
|
1933
|
+
),
|
|
1934
|
+
executives_provided: Schema.optionalKey(Schema.Boolean),
|
|
1935
|
+
export_license_id: Schema.optionalKey(
|
|
1936
|
+
Schema.String.check(
|
|
1937
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1938
|
+
expected: "a string with at most 5000 code points",
|
|
1939
|
+
}),
|
|
1940
|
+
),
|
|
1941
|
+
),
|
|
1942
|
+
export_purpose_code: Schema.optionalKey(
|
|
1943
|
+
Schema.String.check(
|
|
1944
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1945
|
+
expected: "a string with at most 5000 code points",
|
|
1946
|
+
}),
|
|
1947
|
+
),
|
|
1948
|
+
),
|
|
1949
|
+
name: Schema.optionalKey(
|
|
1950
|
+
Schema.String.check(
|
|
1951
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1952
|
+
expected: "a string with at most 200 code points",
|
|
1953
|
+
}),
|
|
1954
|
+
),
|
|
1955
|
+
),
|
|
1956
|
+
name_kana: Schema.optionalKey(
|
|
1957
|
+
Schema.String.check(
|
|
1958
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1959
|
+
expected: "a string with at most 200 code points",
|
|
1960
|
+
}),
|
|
1961
|
+
),
|
|
1962
|
+
),
|
|
1963
|
+
name_kanji: Schema.optionalKey(
|
|
1964
|
+
Schema.String.check(
|
|
1965
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
1966
|
+
expected: "a string with at most 200 code points",
|
|
1967
|
+
}),
|
|
1968
|
+
),
|
|
1969
|
+
),
|
|
1970
|
+
owners_provided: Schema.optionalKey(Schema.Boolean),
|
|
1971
|
+
ownership_declaration: Schema.optionalKey(
|
|
1972
|
+
Schema.StructWithRest(
|
|
1973
|
+
Schema.Struct({
|
|
1974
|
+
date: Schema.optionalKey(
|
|
1975
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
1976
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
1977
|
+
),
|
|
1978
|
+
),
|
|
1979
|
+
ip: Schema.optionalKey(Schema.String),
|
|
1980
|
+
user_agent: Schema.optionalKey(
|
|
1981
|
+
Schema.String.check(
|
|
1982
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
1983
|
+
expected: "a string with at most 5000 code points",
|
|
1984
|
+
}),
|
|
1985
|
+
),
|
|
1986
|
+
),
|
|
1987
|
+
}),
|
|
1988
|
+
[
|
|
1989
|
+
Schema.Record(
|
|
1990
|
+
Schema.String,
|
|
1991
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
1992
|
+
),
|
|
1993
|
+
],
|
|
1994
|
+
).annotate({ title: "company_ownership_declaration" }),
|
|
1995
|
+
),
|
|
1996
|
+
ownership_exemption_reason: Schema.optionalKey(
|
|
1997
|
+
Schema.Literals([
|
|
1998
|
+
"",
|
|
1999
|
+
"qualified_entity_exceeds_ownership_threshold",
|
|
2000
|
+
"qualifies_as_financial_institution",
|
|
2001
|
+
]),
|
|
2002
|
+
),
|
|
2003
|
+
phone: Schema.optionalKey(
|
|
2004
|
+
Schema.String.check(
|
|
2005
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2006
|
+
expected: "a string with at most 5000 code points",
|
|
2007
|
+
}),
|
|
2008
|
+
),
|
|
2009
|
+
),
|
|
2010
|
+
physical_address: Schema.optionalKey(
|
|
2011
|
+
Schema.StructWithRest(
|
|
2012
|
+
Schema.Struct({
|
|
2013
|
+
city: Schema.optionalKey(
|
|
2014
|
+
Schema.String.check(
|
|
2015
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2016
|
+
expected: "a string with at most 100 code points",
|
|
2017
|
+
}),
|
|
2018
|
+
),
|
|
2019
|
+
),
|
|
2020
|
+
country: Schema.optionalKey(
|
|
2021
|
+
Schema.String.check(
|
|
2022
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2023
|
+
expected: "a string with at most 5000 code points",
|
|
2024
|
+
}),
|
|
2025
|
+
),
|
|
2026
|
+
),
|
|
2027
|
+
line1: Schema.optionalKey(
|
|
2028
|
+
Schema.String.check(
|
|
2029
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2030
|
+
expected: "a string with at most 200 code points",
|
|
2031
|
+
}),
|
|
2032
|
+
),
|
|
2033
|
+
),
|
|
2034
|
+
line2: Schema.optionalKey(
|
|
2035
|
+
Schema.String.check(
|
|
2036
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2037
|
+
expected: "a string with at most 200 code points",
|
|
2038
|
+
}),
|
|
2039
|
+
),
|
|
2040
|
+
),
|
|
2041
|
+
postal_code: Schema.optionalKey(
|
|
2042
|
+
Schema.String.check(
|
|
2043
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2044
|
+
expected: "a string with at most 5000 code points",
|
|
2045
|
+
}),
|
|
2046
|
+
),
|
|
2047
|
+
),
|
|
2048
|
+
state: Schema.optionalKey(
|
|
2049
|
+
Schema.String.check(
|
|
2050
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2051
|
+
expected: "a string with at most 5000 code points",
|
|
2052
|
+
}),
|
|
2053
|
+
),
|
|
2054
|
+
),
|
|
2055
|
+
}),
|
|
2056
|
+
[
|
|
2057
|
+
Schema.Record(
|
|
2058
|
+
Schema.String,
|
|
2059
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2060
|
+
),
|
|
2061
|
+
],
|
|
2062
|
+
).annotate({ title: "address_specs" }),
|
|
2063
|
+
),
|
|
2064
|
+
principal_place_of_business: Schema.optionalKey(
|
|
2065
|
+
Schema.StructWithRest(
|
|
2066
|
+
Schema.Struct({
|
|
2067
|
+
city: Schema.optionalKey(
|
|
2068
|
+
Schema.String.check(
|
|
2069
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2070
|
+
expected: "a string with at most 100 code points",
|
|
2071
|
+
}),
|
|
2072
|
+
),
|
|
2073
|
+
),
|
|
2074
|
+
country: Schema.optionalKey(
|
|
2075
|
+
Schema.String.check(
|
|
2076
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2077
|
+
expected: "a string with at most 5000 code points",
|
|
2078
|
+
}),
|
|
2079
|
+
),
|
|
2080
|
+
),
|
|
2081
|
+
line1: Schema.optionalKey(
|
|
2082
|
+
Schema.String.check(
|
|
2083
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2084
|
+
expected: "a string with at most 200 code points",
|
|
2085
|
+
}),
|
|
2086
|
+
),
|
|
2087
|
+
),
|
|
2088
|
+
line2: Schema.optionalKey(
|
|
2089
|
+
Schema.String.check(
|
|
2090
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2091
|
+
expected: "a string with at most 200 code points",
|
|
2092
|
+
}),
|
|
2093
|
+
),
|
|
2094
|
+
),
|
|
2095
|
+
postal_code: Schema.optionalKey(
|
|
2096
|
+
Schema.String.check(
|
|
2097
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2098
|
+
expected: "a string with at most 5000 code points",
|
|
2099
|
+
}),
|
|
2100
|
+
),
|
|
2101
|
+
),
|
|
2102
|
+
state: Schema.optionalKey(
|
|
2103
|
+
Schema.String.check(
|
|
2104
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2105
|
+
expected: "a string with at most 5000 code points",
|
|
2106
|
+
}),
|
|
2107
|
+
),
|
|
2108
|
+
),
|
|
2109
|
+
}),
|
|
2110
|
+
[
|
|
2111
|
+
Schema.Record(
|
|
2112
|
+
Schema.String,
|
|
2113
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2114
|
+
),
|
|
2115
|
+
],
|
|
2116
|
+
).annotate({ title: "address_specs" }),
|
|
2117
|
+
),
|
|
2118
|
+
registration_date: Schema.optionalKey(
|
|
2119
|
+
Schema.Union([
|
|
2120
|
+
Schema.StructWithRest(
|
|
2121
|
+
Schema.Struct({
|
|
2122
|
+
day: Schema.Int,
|
|
2123
|
+
month: Schema.Int,
|
|
2124
|
+
year: Schema.Int,
|
|
2125
|
+
}),
|
|
2126
|
+
[
|
|
2127
|
+
Schema.Record(
|
|
2128
|
+
Schema.String,
|
|
2129
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2130
|
+
),
|
|
2131
|
+
],
|
|
2132
|
+
).annotate({ title: "registration_date_specs" }),
|
|
2133
|
+
Schema.Literal(""),
|
|
2134
|
+
]),
|
|
2135
|
+
),
|
|
2136
|
+
registration_number: Schema.optionalKey(
|
|
2137
|
+
Schema.String.check(
|
|
2138
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2139
|
+
expected: "a string with at most 5000 code points",
|
|
2140
|
+
}),
|
|
2141
|
+
),
|
|
2142
|
+
),
|
|
2143
|
+
representative_declaration: Schema.optionalKey(
|
|
2144
|
+
Schema.StructWithRest(
|
|
2145
|
+
Schema.Struct({
|
|
2146
|
+
date: Schema.optionalKey(
|
|
2147
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
2148
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
2149
|
+
),
|
|
2150
|
+
),
|
|
2151
|
+
ip: Schema.optionalKey(Schema.String),
|
|
2152
|
+
user_agent: Schema.optionalKey(
|
|
2153
|
+
Schema.String.check(
|
|
2154
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2155
|
+
expected: "a string with at most 5000 code points",
|
|
2156
|
+
}),
|
|
2157
|
+
),
|
|
2158
|
+
),
|
|
2159
|
+
}),
|
|
2160
|
+
[
|
|
2161
|
+
Schema.Record(
|
|
2162
|
+
Schema.String,
|
|
2163
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2164
|
+
),
|
|
2165
|
+
],
|
|
2166
|
+
).annotate({ title: "company_representative_declaration" }),
|
|
2167
|
+
),
|
|
2168
|
+
structure: Schema.optionalKey(
|
|
2169
|
+
Schema.Literals([
|
|
2170
|
+
"",
|
|
2171
|
+
"free_zone_establishment",
|
|
2172
|
+
"free_zone_llc",
|
|
2173
|
+
"government_instrumentality",
|
|
2174
|
+
"governmental_unit",
|
|
2175
|
+
"incorporated_non_profit",
|
|
2176
|
+
"incorporated_partnership",
|
|
2177
|
+
"limited_liability_partnership",
|
|
2178
|
+
"llc",
|
|
2179
|
+
"multi_member_llc",
|
|
2180
|
+
"private_company",
|
|
2181
|
+
"private_corporation",
|
|
2182
|
+
"private_partnership",
|
|
2183
|
+
"public_company",
|
|
2184
|
+
"public_corporation",
|
|
2185
|
+
"public_partnership",
|
|
2186
|
+
"registered_charity",
|
|
2187
|
+
"single_member_llc",
|
|
2188
|
+
"sole_establishment",
|
|
2189
|
+
"sole_proprietorship",
|
|
2190
|
+
"tax_exempt_government_instrumentality",
|
|
2191
|
+
"unincorporated_association",
|
|
2192
|
+
"unincorporated_non_profit",
|
|
2193
|
+
"unincorporated_partnership",
|
|
2194
|
+
]),
|
|
2195
|
+
),
|
|
2196
|
+
tax_id: Schema.optionalKey(
|
|
2197
|
+
Schema.String.check(
|
|
2198
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2199
|
+
expected: "a string with at most 5000 code points",
|
|
2200
|
+
}),
|
|
2201
|
+
),
|
|
2202
|
+
),
|
|
2203
|
+
tax_id_registrar: Schema.optionalKey(
|
|
2204
|
+
Schema.String.check(
|
|
2205
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2206
|
+
expected: "a string with at most 5000 code points",
|
|
2207
|
+
}),
|
|
2208
|
+
),
|
|
2209
|
+
),
|
|
2210
|
+
vat_id: Schema.optionalKey(
|
|
2211
|
+
Schema.String.check(
|
|
2212
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2213
|
+
expected: "a string with at most 5000 code points",
|
|
2214
|
+
}),
|
|
2215
|
+
),
|
|
2216
|
+
),
|
|
2217
|
+
verification: Schema.optionalKey(StripeResourceEntityInputProperties),
|
|
2218
|
+
}),
|
|
2219
|
+
[
|
|
2220
|
+
Schema.Record(
|
|
2221
|
+
Schema.String,
|
|
2222
|
+
Schema.Union([
|
|
2223
|
+
ResourceInputJsonSchema,
|
|
2224
|
+
StripeResourceEntityInputProperties,
|
|
2225
|
+
]),
|
|
2226
|
+
),
|
|
2227
|
+
],
|
|
2228
|
+
).annotate({
|
|
2229
|
+
title: "company_specs",
|
|
2230
|
+
description:
|
|
2231
|
+
"Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
|
|
2232
|
+
}),
|
|
2233
|
+
),
|
|
2234
|
+
controller: Schema.optionalKey(
|
|
2235
|
+
Schema.StructWithRest(
|
|
2236
|
+
Schema.Struct({
|
|
2237
|
+
fees: Schema.optionalKey(
|
|
2238
|
+
Schema.StructWithRest(
|
|
2239
|
+
Schema.Struct({
|
|
2240
|
+
payer: Schema.optionalKey(
|
|
2241
|
+
Schema.Literals(["account", "application"]),
|
|
2242
|
+
),
|
|
2243
|
+
}),
|
|
2244
|
+
[
|
|
2245
|
+
Schema.Record(
|
|
2246
|
+
Schema.String,
|
|
2247
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2248
|
+
),
|
|
2249
|
+
],
|
|
2250
|
+
).annotate({ title: "controller_fees_specs" }),
|
|
2251
|
+
),
|
|
2252
|
+
losses: Schema.optionalKey(
|
|
2253
|
+
Schema.StructWithRest(
|
|
2254
|
+
Schema.Struct({
|
|
2255
|
+
payments: Schema.optionalKey(
|
|
2256
|
+
Schema.Literals(["application", "stripe"]),
|
|
2257
|
+
),
|
|
2258
|
+
}),
|
|
2259
|
+
[
|
|
2260
|
+
Schema.Record(
|
|
2261
|
+
Schema.String,
|
|
2262
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2263
|
+
),
|
|
2264
|
+
],
|
|
2265
|
+
).annotate({ title: "controller_losses_specs" }),
|
|
2266
|
+
),
|
|
2267
|
+
requirement_collection: Schema.optionalKey(
|
|
2268
|
+
Schema.Literals(["application", "stripe"]),
|
|
2269
|
+
),
|
|
2270
|
+
stripe_dashboard: Schema.optionalKey(
|
|
2271
|
+
Schema.StructWithRest(
|
|
2272
|
+
Schema.Struct({
|
|
2273
|
+
type: Schema.optionalKey(
|
|
2274
|
+
Schema.Literals(["express", "full", "none"]),
|
|
2275
|
+
),
|
|
2276
|
+
}),
|
|
2277
|
+
[
|
|
2278
|
+
Schema.Record(
|
|
2279
|
+
Schema.String,
|
|
2280
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2281
|
+
),
|
|
2282
|
+
],
|
|
2283
|
+
).annotate({ title: "controller_dashboard_specs" }),
|
|
2284
|
+
),
|
|
2285
|
+
}),
|
|
2286
|
+
[
|
|
2287
|
+
Schema.Record(
|
|
2288
|
+
Schema.String,
|
|
2289
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2290
|
+
),
|
|
2291
|
+
],
|
|
2292
|
+
).annotate({
|
|
2293
|
+
title: "controller_specs",
|
|
2294
|
+
description:
|
|
2295
|
+
"Configures the account's Dashboard access, loss liability, requirements collection, and Stripe fee responsibility.",
|
|
2296
|
+
}),
|
|
2297
|
+
),
|
|
2298
|
+
country: Schema.optionalKey(
|
|
2299
|
+
Schema.String.annotate({
|
|
2300
|
+
description:
|
|
2301
|
+
"The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.",
|
|
2302
|
+
}).check(
|
|
2303
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2304
|
+
expected: "a string with at most 5000 code points",
|
|
2305
|
+
}),
|
|
2306
|
+
),
|
|
2307
|
+
),
|
|
2308
|
+
default_currency: Schema.optionalKey(
|
|
2309
|
+
Schema.String.annotate({
|
|
2310
|
+
description:
|
|
2311
|
+
"Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).",
|
|
2312
|
+
format: "currency",
|
|
2313
|
+
}),
|
|
2314
|
+
),
|
|
2315
|
+
documents: Schema.optionalKey(
|
|
2316
|
+
Schema.StructWithRest(
|
|
2317
|
+
Schema.Struct({
|
|
2318
|
+
bank_account_ownership_verification: Schema.optionalKey(
|
|
2319
|
+
Schema.StructWithRest(
|
|
2320
|
+
Schema.Struct({
|
|
2321
|
+
files: Schema.optionalKey(
|
|
2322
|
+
Schema.Array(
|
|
2323
|
+
Schema.String.check(
|
|
2324
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2325
|
+
expected: "a string with at most 500 code points",
|
|
2326
|
+
}),
|
|
2327
|
+
),
|
|
2328
|
+
),
|
|
2329
|
+
),
|
|
2330
|
+
}),
|
|
2331
|
+
[
|
|
2332
|
+
Schema.Record(
|
|
2333
|
+
Schema.String,
|
|
2334
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2335
|
+
),
|
|
2336
|
+
],
|
|
2337
|
+
).annotate({ title: "documents_param" }),
|
|
2338
|
+
),
|
|
2339
|
+
company_license: Schema.optionalKey(
|
|
2340
|
+
Schema.StructWithRest(
|
|
2341
|
+
Schema.Struct({
|
|
2342
|
+
files: Schema.optionalKey(
|
|
2343
|
+
Schema.Array(
|
|
2344
|
+
Schema.String.check(
|
|
2345
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2346
|
+
expected: "a string with at most 500 code points",
|
|
2347
|
+
}),
|
|
2348
|
+
),
|
|
2349
|
+
),
|
|
2350
|
+
),
|
|
2351
|
+
}),
|
|
2352
|
+
[
|
|
2353
|
+
Schema.Record(
|
|
2354
|
+
Schema.String,
|
|
2355
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2356
|
+
),
|
|
2357
|
+
],
|
|
2358
|
+
).annotate({ title: "documents_param" }),
|
|
2359
|
+
),
|
|
2360
|
+
company_memorandum_of_association: Schema.optionalKey(
|
|
2361
|
+
Schema.StructWithRest(
|
|
2362
|
+
Schema.Struct({
|
|
2363
|
+
files: Schema.optionalKey(
|
|
2364
|
+
Schema.Array(
|
|
2365
|
+
Schema.String.check(
|
|
2366
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2367
|
+
expected: "a string with at most 500 code points",
|
|
2368
|
+
}),
|
|
2369
|
+
),
|
|
2370
|
+
),
|
|
2371
|
+
),
|
|
2372
|
+
}),
|
|
2373
|
+
[
|
|
2374
|
+
Schema.Record(
|
|
2375
|
+
Schema.String,
|
|
2376
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2377
|
+
),
|
|
2378
|
+
],
|
|
2379
|
+
).annotate({ title: "documents_param" }),
|
|
2380
|
+
),
|
|
2381
|
+
company_ministerial_decree: Schema.optionalKey(
|
|
2382
|
+
Schema.StructWithRest(
|
|
2383
|
+
Schema.Struct({
|
|
2384
|
+
files: Schema.optionalKey(
|
|
2385
|
+
Schema.Array(
|
|
2386
|
+
Schema.String.check(
|
|
2387
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2388
|
+
expected: "a string with at most 500 code points",
|
|
2389
|
+
}),
|
|
2390
|
+
),
|
|
2391
|
+
),
|
|
2392
|
+
),
|
|
2393
|
+
}),
|
|
2394
|
+
[
|
|
2395
|
+
Schema.Record(
|
|
2396
|
+
Schema.String,
|
|
2397
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2398
|
+
),
|
|
2399
|
+
],
|
|
2400
|
+
).annotate({ title: "documents_param" }),
|
|
2401
|
+
),
|
|
2402
|
+
company_registration_verification: Schema.optionalKey(
|
|
2403
|
+
Schema.StructWithRest(
|
|
2404
|
+
Schema.Struct({
|
|
2405
|
+
files: Schema.optionalKey(
|
|
2406
|
+
Schema.Array(
|
|
2407
|
+
Schema.String.check(
|
|
2408
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2409
|
+
expected: "a string with at most 500 code points",
|
|
2410
|
+
}),
|
|
2411
|
+
),
|
|
2412
|
+
),
|
|
2413
|
+
),
|
|
2414
|
+
}),
|
|
2415
|
+
[
|
|
2416
|
+
Schema.Record(
|
|
2417
|
+
Schema.String,
|
|
2418
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2419
|
+
),
|
|
2420
|
+
],
|
|
2421
|
+
).annotate({ title: "documents_param" }),
|
|
2422
|
+
),
|
|
2423
|
+
company_tax_id_verification: Schema.optionalKey(
|
|
2424
|
+
Schema.StructWithRest(
|
|
2425
|
+
Schema.Struct({
|
|
2426
|
+
files: Schema.optionalKey(
|
|
2427
|
+
Schema.Array(
|
|
2428
|
+
Schema.String.check(
|
|
2429
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2430
|
+
expected: "a string with at most 500 code points",
|
|
2431
|
+
}),
|
|
2432
|
+
),
|
|
2433
|
+
),
|
|
2434
|
+
),
|
|
2435
|
+
}),
|
|
2436
|
+
[
|
|
2437
|
+
Schema.Record(
|
|
2438
|
+
Schema.String,
|
|
2439
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2440
|
+
),
|
|
2441
|
+
],
|
|
2442
|
+
).annotate({ title: "documents_param" }),
|
|
2443
|
+
),
|
|
2444
|
+
proof_of_address: Schema.optionalKey(
|
|
2445
|
+
Schema.StructWithRest(
|
|
2446
|
+
Schema.Struct({
|
|
2447
|
+
files: Schema.optionalKey(
|
|
2448
|
+
Schema.Array(
|
|
2449
|
+
Schema.String.check(
|
|
2450
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2451
|
+
expected: "a string with at most 500 code points",
|
|
2452
|
+
}),
|
|
2453
|
+
),
|
|
2454
|
+
),
|
|
2455
|
+
),
|
|
2456
|
+
}),
|
|
2457
|
+
[
|
|
2458
|
+
Schema.Record(
|
|
2459
|
+
Schema.String,
|
|
2460
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2461
|
+
),
|
|
2462
|
+
],
|
|
2463
|
+
).annotate({ title: "documents_param" }),
|
|
2464
|
+
),
|
|
2465
|
+
proof_of_business_presence: Schema.optionalKey(
|
|
2466
|
+
Schema.StructWithRest(
|
|
2467
|
+
Schema.Struct({
|
|
2468
|
+
files: Schema.optionalKey(
|
|
2469
|
+
Schema.Array(
|
|
2470
|
+
Schema.String.check(
|
|
2471
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2472
|
+
expected: "a string with at most 500 code points",
|
|
2473
|
+
}),
|
|
2474
|
+
),
|
|
2475
|
+
),
|
|
2476
|
+
),
|
|
2477
|
+
}),
|
|
2478
|
+
[
|
|
2479
|
+
Schema.Record(
|
|
2480
|
+
Schema.String,
|
|
2481
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2482
|
+
),
|
|
2483
|
+
],
|
|
2484
|
+
).annotate({ title: "documents_param" }),
|
|
2485
|
+
),
|
|
2486
|
+
proof_of_ultimate_beneficial_ownership: Schema.optionalKey(
|
|
2487
|
+
Schema.StructWithRest(
|
|
2488
|
+
Schema.Struct({
|
|
2489
|
+
files: Schema.optionalKey(
|
|
2490
|
+
Schema.Array(
|
|
2491
|
+
Schema.String.check(
|
|
2492
|
+
Schema.isMaxCodePoints(500).annotate({
|
|
2493
|
+
expected: "a string with at most 500 code points",
|
|
2494
|
+
}),
|
|
2495
|
+
),
|
|
2496
|
+
),
|
|
2497
|
+
),
|
|
2498
|
+
signer: Schema.optionalKey(
|
|
2499
|
+
Schema.StructWithRest(
|
|
2500
|
+
Schema.Struct({
|
|
2501
|
+
person: Schema.optionalKey(
|
|
2502
|
+
Schema.String.check(
|
|
2503
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2504
|
+
expected: "a string with at most 5000 code points",
|
|
2505
|
+
}),
|
|
2506
|
+
),
|
|
2507
|
+
),
|
|
2508
|
+
}),
|
|
2509
|
+
[
|
|
2510
|
+
Schema.Record(
|
|
2511
|
+
Schema.String,
|
|
2512
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2513
|
+
),
|
|
2514
|
+
],
|
|
2515
|
+
).annotate({ title: "signer_name_param" }),
|
|
2516
|
+
),
|
|
2517
|
+
}),
|
|
2518
|
+
[
|
|
2519
|
+
Schema.Record(
|
|
2520
|
+
Schema.String,
|
|
2521
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2522
|
+
),
|
|
2523
|
+
],
|
|
2524
|
+
).annotate({ title: "signer_param" }),
|
|
2525
|
+
),
|
|
2526
|
+
}),
|
|
2527
|
+
[
|
|
2528
|
+
Schema.Record(
|
|
2529
|
+
Schema.String,
|
|
2530
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2531
|
+
),
|
|
2532
|
+
],
|
|
2533
|
+
).annotate({
|
|
2534
|
+
title: "documents_specs",
|
|
2535
|
+
description:
|
|
2536
|
+
"Documents that may be submitted to satisfy various informational requests.",
|
|
2537
|
+
}),
|
|
2538
|
+
),
|
|
2539
|
+
email: Schema.optionalKey(
|
|
2540
|
+
Schema.String.annotate({
|
|
2541
|
+
description:
|
|
2542
|
+
"The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.",
|
|
2543
|
+
}).check(
|
|
2544
|
+
Schema.isMaxCodePoints(800).annotate({
|
|
2545
|
+
expected: "a string with at most 800 code points",
|
|
2546
|
+
}),
|
|
2547
|
+
),
|
|
2548
|
+
),
|
|
2549
|
+
expand: Schema.optionalKey(
|
|
2550
|
+
Schema.Array(
|
|
2551
|
+
Schema.String.check(
|
|
2552
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2553
|
+
expected: "a string with at most 5000 code points",
|
|
2554
|
+
}),
|
|
2555
|
+
),
|
|
2556
|
+
).annotate({
|
|
2557
|
+
description:
|
|
2558
|
+
"Specifies which fields in the response should be expanded.",
|
|
2559
|
+
}),
|
|
2560
|
+
),
|
|
2561
|
+
external_account: Schema.optionalKey(
|
|
2562
|
+
Schema.String.annotate({
|
|
2563
|
+
description:
|
|
2564
|
+
"A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
|
|
2565
|
+
}).check(
|
|
2566
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2567
|
+
expected: "a string with at most 5000 code points",
|
|
2568
|
+
}),
|
|
2569
|
+
),
|
|
2570
|
+
),
|
|
2571
|
+
groups: Schema.optionalKey(
|
|
2572
|
+
Schema.StructWithRest(
|
|
2573
|
+
Schema.Struct({
|
|
2574
|
+
payments_pricing: Schema.optionalKey(
|
|
2575
|
+
Schema.Union([
|
|
2576
|
+
Schema.String.check(
|
|
2577
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2578
|
+
expected: "a string with at most 5000 code points",
|
|
2579
|
+
}),
|
|
2580
|
+
),
|
|
2581
|
+
Schema.Literal(""),
|
|
2582
|
+
]),
|
|
2583
|
+
),
|
|
2584
|
+
}),
|
|
2585
|
+
[
|
|
2586
|
+
Schema.Record(
|
|
2587
|
+
Schema.String,
|
|
2588
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2589
|
+
),
|
|
2590
|
+
],
|
|
2591
|
+
).annotate({
|
|
2592
|
+
title: "account_groups_specs",
|
|
2593
|
+
description:
|
|
2594
|
+
"A hash of account group type to tokens. These are account groups this account should be added to.",
|
|
2595
|
+
}),
|
|
2596
|
+
),
|
|
2597
|
+
individual: Schema.optionalKey(
|
|
2598
|
+
Schema.StructWithRest(
|
|
2599
|
+
Schema.Struct({
|
|
2600
|
+
address: Schema.optionalKey(
|
|
2601
|
+
Schema.StructWithRest(
|
|
2602
|
+
Schema.Struct({
|
|
2603
|
+
city: Schema.optionalKey(
|
|
2604
|
+
Schema.String.check(
|
|
2605
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2606
|
+
expected: "a string with at most 100 code points",
|
|
2607
|
+
}),
|
|
2608
|
+
),
|
|
2609
|
+
),
|
|
2610
|
+
country: Schema.optionalKey(
|
|
2611
|
+
Schema.String.check(
|
|
2612
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2613
|
+
expected: "a string with at most 5000 code points",
|
|
2614
|
+
}),
|
|
2615
|
+
),
|
|
2616
|
+
),
|
|
2617
|
+
line1: Schema.optionalKey(
|
|
2618
|
+
Schema.String.check(
|
|
2619
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2620
|
+
expected: "a string with at most 200 code points",
|
|
2621
|
+
}),
|
|
2622
|
+
),
|
|
2623
|
+
),
|
|
2624
|
+
line2: Schema.optionalKey(
|
|
2625
|
+
Schema.String.check(
|
|
2626
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2627
|
+
expected: "a string with at most 200 code points",
|
|
2628
|
+
}),
|
|
2629
|
+
),
|
|
2630
|
+
),
|
|
2631
|
+
postal_code: Schema.optionalKey(
|
|
2632
|
+
Schema.String.check(
|
|
2633
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2634
|
+
expected: "a string with at most 5000 code points",
|
|
2635
|
+
}),
|
|
2636
|
+
),
|
|
2637
|
+
),
|
|
2638
|
+
state: Schema.optionalKey(
|
|
2639
|
+
Schema.String.check(
|
|
2640
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2641
|
+
expected: "a string with at most 5000 code points",
|
|
2642
|
+
}),
|
|
2643
|
+
),
|
|
2644
|
+
),
|
|
2645
|
+
}),
|
|
2646
|
+
[
|
|
2647
|
+
Schema.Record(
|
|
2648
|
+
Schema.String,
|
|
2649
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2650
|
+
),
|
|
2651
|
+
],
|
|
2652
|
+
).annotate({ title: "address_specs" }),
|
|
2653
|
+
),
|
|
2654
|
+
address_kana: Schema.optionalKey(
|
|
2655
|
+
Schema.StructWithRest(
|
|
2656
|
+
Schema.Struct({
|
|
2657
|
+
city: Schema.optionalKey(
|
|
2658
|
+
Schema.String.check(
|
|
2659
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2660
|
+
expected: "a string with at most 5000 code points",
|
|
2661
|
+
}),
|
|
2662
|
+
),
|
|
2663
|
+
),
|
|
2664
|
+
country: Schema.optionalKey(
|
|
2665
|
+
Schema.String.check(
|
|
2666
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2667
|
+
expected: "a string with at most 5000 code points",
|
|
2668
|
+
}),
|
|
2669
|
+
),
|
|
2670
|
+
),
|
|
2671
|
+
line1: Schema.optionalKey(
|
|
2672
|
+
Schema.String.check(
|
|
2673
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2674
|
+
expected: "a string with at most 5000 code points",
|
|
2675
|
+
}),
|
|
2676
|
+
),
|
|
2677
|
+
),
|
|
2678
|
+
line2: Schema.optionalKey(
|
|
2679
|
+
Schema.String.check(
|
|
2680
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2681
|
+
expected: "a string with at most 5000 code points",
|
|
2682
|
+
}),
|
|
2683
|
+
),
|
|
2684
|
+
),
|
|
2685
|
+
postal_code: Schema.optionalKey(
|
|
2686
|
+
Schema.String.check(
|
|
2687
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2688
|
+
expected: "a string with at most 5000 code points",
|
|
2689
|
+
}),
|
|
2690
|
+
),
|
|
2691
|
+
),
|
|
2692
|
+
state: Schema.optionalKey(
|
|
2693
|
+
Schema.String.check(
|
|
2694
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2695
|
+
expected: "a string with at most 5000 code points",
|
|
2696
|
+
}),
|
|
2697
|
+
),
|
|
2698
|
+
),
|
|
2699
|
+
town: Schema.optionalKey(
|
|
2700
|
+
Schema.String.check(
|
|
2701
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2702
|
+
expected: "a string with at most 5000 code points",
|
|
2703
|
+
}),
|
|
2704
|
+
),
|
|
2705
|
+
),
|
|
2706
|
+
}),
|
|
2707
|
+
[
|
|
2708
|
+
Schema.Record(
|
|
2709
|
+
Schema.String,
|
|
2710
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2711
|
+
),
|
|
2712
|
+
],
|
|
2713
|
+
).annotate({ title: "japan_address_kana_specs" }),
|
|
2714
|
+
),
|
|
2715
|
+
address_kanji: Schema.optionalKey(
|
|
2716
|
+
Schema.StructWithRest(
|
|
2717
|
+
Schema.Struct({
|
|
2718
|
+
city: Schema.optionalKey(
|
|
2719
|
+
Schema.String.check(
|
|
2720
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2721
|
+
expected: "a string with at most 5000 code points",
|
|
2722
|
+
}),
|
|
2723
|
+
),
|
|
2724
|
+
),
|
|
2725
|
+
country: Schema.optionalKey(
|
|
2726
|
+
Schema.String.check(
|
|
2727
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2728
|
+
expected: "a string with at most 5000 code points",
|
|
2729
|
+
}),
|
|
2730
|
+
),
|
|
2731
|
+
),
|
|
2732
|
+
line1: Schema.optionalKey(
|
|
2733
|
+
Schema.String.check(
|
|
2734
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2735
|
+
expected: "a string with at most 5000 code points",
|
|
2736
|
+
}),
|
|
2737
|
+
),
|
|
2738
|
+
),
|
|
2739
|
+
line2: Schema.optionalKey(
|
|
2740
|
+
Schema.String.check(
|
|
2741
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2742
|
+
expected: "a string with at most 5000 code points",
|
|
2743
|
+
}),
|
|
2744
|
+
),
|
|
2745
|
+
),
|
|
2746
|
+
postal_code: Schema.optionalKey(
|
|
2747
|
+
Schema.String.check(
|
|
2748
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2749
|
+
expected: "a string with at most 5000 code points",
|
|
2750
|
+
}),
|
|
2751
|
+
),
|
|
2752
|
+
),
|
|
2753
|
+
state: Schema.optionalKey(
|
|
2754
|
+
Schema.String.check(
|
|
2755
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2756
|
+
expected: "a string with at most 5000 code points",
|
|
2757
|
+
}),
|
|
2758
|
+
),
|
|
2759
|
+
),
|
|
2760
|
+
town: Schema.optionalKey(
|
|
2761
|
+
Schema.String.check(
|
|
2762
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2763
|
+
expected: "a string with at most 5000 code points",
|
|
2764
|
+
}),
|
|
2765
|
+
),
|
|
2766
|
+
),
|
|
2767
|
+
}),
|
|
2768
|
+
[
|
|
2769
|
+
Schema.Record(
|
|
2770
|
+
Schema.String,
|
|
2771
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2772
|
+
),
|
|
2773
|
+
],
|
|
2774
|
+
).annotate({ title: "japan_address_kanji_specs" }),
|
|
2775
|
+
),
|
|
2776
|
+
dob: Schema.optionalKey(
|
|
2777
|
+
Schema.Union([
|
|
2778
|
+
Schema.StructWithRest(
|
|
2779
|
+
Schema.Struct({
|
|
2780
|
+
day: Schema.Int,
|
|
2781
|
+
month: Schema.Int,
|
|
2782
|
+
year: Schema.Int,
|
|
2783
|
+
}),
|
|
2784
|
+
[
|
|
2785
|
+
Schema.Record(
|
|
2786
|
+
Schema.String,
|
|
2787
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2788
|
+
),
|
|
2789
|
+
],
|
|
2790
|
+
).annotate({ title: "date_of_birth_specs" }),
|
|
2791
|
+
Schema.Literal(""),
|
|
2792
|
+
]),
|
|
2793
|
+
),
|
|
2794
|
+
email: Schema.optionalKey(
|
|
2795
|
+
Schema.String.check(
|
|
2796
|
+
Schema.isMaxCodePoints(800).annotate({
|
|
2797
|
+
expected: "a string with at most 800 code points",
|
|
2798
|
+
}),
|
|
2799
|
+
),
|
|
2800
|
+
),
|
|
2801
|
+
first_name: Schema.optionalKey(
|
|
2802
|
+
Schema.String.check(
|
|
2803
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2804
|
+
expected: "a string with at most 100 code points",
|
|
2805
|
+
}),
|
|
2806
|
+
),
|
|
2807
|
+
),
|
|
2808
|
+
first_name_kana: Schema.optionalKey(
|
|
2809
|
+
Schema.String.check(
|
|
2810
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2811
|
+
expected: "a string with at most 5000 code points",
|
|
2812
|
+
}),
|
|
2813
|
+
),
|
|
2814
|
+
),
|
|
2815
|
+
first_name_kanji: Schema.optionalKey(
|
|
2816
|
+
Schema.String.check(
|
|
2817
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2818
|
+
expected: "a string with at most 5000 code points",
|
|
2819
|
+
}),
|
|
2820
|
+
),
|
|
2821
|
+
),
|
|
2822
|
+
full_name_aliases: Schema.optionalKey(
|
|
2823
|
+
Schema.Union([
|
|
2824
|
+
Schema.Array(
|
|
2825
|
+
Schema.String.check(
|
|
2826
|
+
Schema.isMaxCodePoints(300).annotate({
|
|
2827
|
+
expected: "a string with at most 300 code points",
|
|
2828
|
+
}),
|
|
2829
|
+
),
|
|
2830
|
+
),
|
|
2831
|
+
Schema.Literal(""),
|
|
2832
|
+
]),
|
|
2833
|
+
),
|
|
2834
|
+
gender: Schema.optionalKey(Schema.String),
|
|
2835
|
+
id_number: Schema.optionalKey(
|
|
2836
|
+
Schema.String.check(
|
|
2837
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2838
|
+
expected: "a string with at most 5000 code points",
|
|
2839
|
+
}),
|
|
2840
|
+
),
|
|
2841
|
+
),
|
|
2842
|
+
id_number_secondary: Schema.optionalKey(
|
|
2843
|
+
Schema.String.check(
|
|
2844
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2845
|
+
expected: "a string with at most 5000 code points",
|
|
2846
|
+
}),
|
|
2847
|
+
),
|
|
2848
|
+
),
|
|
2849
|
+
last_name: Schema.optionalKey(
|
|
2850
|
+
Schema.String.check(
|
|
2851
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2852
|
+
expected: "a string with at most 100 code points",
|
|
2853
|
+
}),
|
|
2854
|
+
),
|
|
2855
|
+
),
|
|
2856
|
+
last_name_kana: Schema.optionalKey(
|
|
2857
|
+
Schema.String.check(
|
|
2858
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2859
|
+
expected: "a string with at most 5000 code points",
|
|
2860
|
+
}),
|
|
2861
|
+
),
|
|
2862
|
+
),
|
|
2863
|
+
last_name_kanji: Schema.optionalKey(
|
|
2864
|
+
Schema.String.check(
|
|
2865
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2866
|
+
expected: "a string with at most 5000 code points",
|
|
2867
|
+
}),
|
|
2868
|
+
),
|
|
2869
|
+
),
|
|
2870
|
+
maiden_name: Schema.optionalKey(
|
|
2871
|
+
Schema.String.check(
|
|
2872
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2873
|
+
expected: "a string with at most 5000 code points",
|
|
2874
|
+
}),
|
|
2875
|
+
),
|
|
2876
|
+
),
|
|
2877
|
+
metadata: Schema.optionalKey(
|
|
2878
|
+
Schema.Union([
|
|
2879
|
+
Schema.Record(Schema.String, Schema.String),
|
|
2880
|
+
Schema.Literal(""),
|
|
2881
|
+
]),
|
|
2882
|
+
),
|
|
2883
|
+
phone: Schema.optionalKey(Schema.String),
|
|
2884
|
+
political_exposure: Schema.optionalKey(
|
|
2885
|
+
Schema.Literals(["existing", "none"]),
|
|
2886
|
+
),
|
|
2887
|
+
registered_address: Schema.optionalKey(
|
|
2888
|
+
Schema.StructWithRest(
|
|
2889
|
+
Schema.Struct({
|
|
2890
|
+
city: Schema.optionalKey(
|
|
2891
|
+
Schema.String.check(
|
|
2892
|
+
Schema.isMaxCodePoints(100).annotate({
|
|
2893
|
+
expected: "a string with at most 100 code points",
|
|
2894
|
+
}),
|
|
2895
|
+
),
|
|
2896
|
+
),
|
|
2897
|
+
country: Schema.optionalKey(
|
|
2898
|
+
Schema.String.check(
|
|
2899
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2900
|
+
expected: "a string with at most 5000 code points",
|
|
2901
|
+
}),
|
|
2902
|
+
),
|
|
2903
|
+
),
|
|
2904
|
+
line1: Schema.optionalKey(
|
|
2905
|
+
Schema.String.check(
|
|
2906
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2907
|
+
expected: "a string with at most 200 code points",
|
|
2908
|
+
}),
|
|
2909
|
+
),
|
|
2910
|
+
),
|
|
2911
|
+
line2: Schema.optionalKey(
|
|
2912
|
+
Schema.String.check(
|
|
2913
|
+
Schema.isMaxCodePoints(200).annotate({
|
|
2914
|
+
expected: "a string with at most 200 code points",
|
|
2915
|
+
}),
|
|
2916
|
+
),
|
|
2917
|
+
),
|
|
2918
|
+
postal_code: Schema.optionalKey(
|
|
2919
|
+
Schema.String.check(
|
|
2920
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2921
|
+
expected: "a string with at most 5000 code points",
|
|
2922
|
+
}),
|
|
2923
|
+
),
|
|
2924
|
+
),
|
|
2925
|
+
state: Schema.optionalKey(
|
|
2926
|
+
Schema.String.check(
|
|
2927
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2928
|
+
expected: "a string with at most 5000 code points",
|
|
2929
|
+
}),
|
|
2930
|
+
),
|
|
2931
|
+
),
|
|
2932
|
+
}),
|
|
2933
|
+
[
|
|
2934
|
+
Schema.Record(
|
|
2935
|
+
Schema.String,
|
|
2936
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2937
|
+
),
|
|
2938
|
+
],
|
|
2939
|
+
).annotate({ title: "address_specs" }),
|
|
2940
|
+
),
|
|
2941
|
+
relationship: Schema.optionalKey(
|
|
2942
|
+
Schema.StructWithRest(
|
|
2943
|
+
Schema.Struct({
|
|
2944
|
+
director: Schema.optionalKey(Schema.Boolean),
|
|
2945
|
+
executive: Schema.optionalKey(Schema.Boolean),
|
|
2946
|
+
owner: Schema.optionalKey(Schema.Boolean),
|
|
2947
|
+
percent_ownership: Schema.optionalKey(
|
|
2948
|
+
Schema.Union([Schema.Finite, Schema.Literal("")]),
|
|
2949
|
+
),
|
|
2950
|
+
title: Schema.optionalKey(
|
|
2951
|
+
Schema.String.check(
|
|
2952
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2953
|
+
expected: "a string with at most 5000 code points",
|
|
2954
|
+
}),
|
|
2955
|
+
),
|
|
2956
|
+
),
|
|
2957
|
+
}),
|
|
2958
|
+
[
|
|
2959
|
+
Schema.Record(
|
|
2960
|
+
Schema.String,
|
|
2961
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
2962
|
+
),
|
|
2963
|
+
],
|
|
2964
|
+
).annotate({ title: "individual_relationship_specs" }),
|
|
2965
|
+
),
|
|
2966
|
+
ssn_last_4: Schema.optionalKey(
|
|
2967
|
+
Schema.String.check(
|
|
2968
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
2969
|
+
expected: "a string with at most 5000 code points",
|
|
2970
|
+
}),
|
|
2971
|
+
),
|
|
2972
|
+
),
|
|
2973
|
+
verification: Schema.optionalKey(
|
|
2974
|
+
StripeResourceEntityInputProperties_2,
|
|
2975
|
+
),
|
|
2976
|
+
}),
|
|
2977
|
+
[
|
|
2978
|
+
Schema.Record(
|
|
2979
|
+
Schema.String,
|
|
2980
|
+
Schema.Union([
|
|
2981
|
+
ResourceInputJsonSchema,
|
|
2982
|
+
StripeResourceEntityInputProperties_2,
|
|
2983
|
+
]),
|
|
2984
|
+
),
|
|
2985
|
+
],
|
|
2986
|
+
).annotate({
|
|
2987
|
+
title: "individual_specs",
|
|
2988
|
+
description:
|
|
2989
|
+
"Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.",
|
|
2990
|
+
}),
|
|
2991
|
+
),
|
|
2992
|
+
metadata: Schema.optionalKey(
|
|
2993
|
+
Schema.Union([
|
|
2994
|
+
Schema.Record(Schema.String, Schema.String),
|
|
2995
|
+
Schema.Literal(""),
|
|
2996
|
+
]).annotate({
|
|
2997
|
+
description:
|
|
2998
|
+
"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`.",
|
|
2999
|
+
}),
|
|
3000
|
+
),
|
|
3001
|
+
settings: Schema.optionalKey(
|
|
3002
|
+
Schema.StructWithRest(
|
|
3003
|
+
Schema.Struct({
|
|
3004
|
+
bacs_debit_payments: Schema.optionalKey(
|
|
3005
|
+
Schema.StructWithRest(
|
|
3006
|
+
Schema.Struct({
|
|
3007
|
+
display_name: Schema.optionalKey(Schema.String),
|
|
3008
|
+
}),
|
|
3009
|
+
[
|
|
3010
|
+
Schema.Record(
|
|
3011
|
+
Schema.String,
|
|
3012
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3013
|
+
),
|
|
3014
|
+
],
|
|
3015
|
+
).annotate({ title: "bacs_debit_payments_specs" }),
|
|
3016
|
+
),
|
|
3017
|
+
branding: Schema.optionalKey(StripeResourceEntityInputProperties_5),
|
|
3018
|
+
card_issuing: Schema.optionalKey(
|
|
3019
|
+
Schema.StructWithRest(
|
|
3020
|
+
Schema.Struct({
|
|
3021
|
+
tos_acceptance: Schema.optionalKey(
|
|
3022
|
+
Schema.StructWithRest(
|
|
3023
|
+
Schema.Struct({
|
|
3024
|
+
date: Schema.optionalKey(
|
|
3025
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
3026
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
3027
|
+
),
|
|
3028
|
+
),
|
|
3029
|
+
ip: Schema.optionalKey(Schema.String),
|
|
3030
|
+
user_agent: Schema.optionalKey(
|
|
3031
|
+
Schema.Union([
|
|
3032
|
+
Schema.String.check(
|
|
3033
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3034
|
+
expected:
|
|
3035
|
+
"a string with at most 5000 code points",
|
|
3036
|
+
}),
|
|
3037
|
+
),
|
|
3038
|
+
Schema.Literal(""),
|
|
3039
|
+
]),
|
|
3040
|
+
),
|
|
3041
|
+
}),
|
|
3042
|
+
[
|
|
3043
|
+
Schema.Record(
|
|
3044
|
+
Schema.String,
|
|
3045
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3046
|
+
),
|
|
3047
|
+
],
|
|
3048
|
+
).annotate({ title: "settings_terms_of_service_specs" }),
|
|
3049
|
+
),
|
|
3050
|
+
}),
|
|
3051
|
+
[
|
|
3052
|
+
Schema.Record(
|
|
3053
|
+
Schema.String,
|
|
3054
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3055
|
+
),
|
|
3056
|
+
],
|
|
3057
|
+
).annotate({ title: "card_issuing_settings_specs" }),
|
|
3058
|
+
),
|
|
3059
|
+
card_payments: Schema.optionalKey(
|
|
3060
|
+
Schema.StructWithRest(
|
|
3061
|
+
Schema.Struct({
|
|
3062
|
+
decline_on: Schema.optionalKey(
|
|
3063
|
+
Schema.StructWithRest(
|
|
3064
|
+
Schema.Struct({
|
|
3065
|
+
avs_failure: Schema.optionalKey(Schema.Boolean),
|
|
3066
|
+
cvc_failure: Schema.optionalKey(Schema.Boolean),
|
|
3067
|
+
}),
|
|
3068
|
+
[
|
|
3069
|
+
Schema.Record(
|
|
3070
|
+
Schema.String,
|
|
3071
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3072
|
+
),
|
|
3073
|
+
],
|
|
3074
|
+
).annotate({ title: "decline_charge_on_specs" }),
|
|
3075
|
+
),
|
|
3076
|
+
statement_descriptor_prefix: Schema.optionalKey(
|
|
3077
|
+
Schema.String.check(
|
|
3078
|
+
Schema.isMaxCodePoints(10).annotate({
|
|
3079
|
+
expected: "a string with at most 10 code points",
|
|
3080
|
+
}),
|
|
3081
|
+
),
|
|
3082
|
+
),
|
|
3083
|
+
statement_descriptor_prefix_kana: Schema.optionalKey(
|
|
3084
|
+
Schema.Union([
|
|
3085
|
+
Schema.String.check(
|
|
3086
|
+
Schema.isMaxCodePoints(10).annotate({
|
|
3087
|
+
expected: "a string with at most 10 code points",
|
|
3088
|
+
}),
|
|
3089
|
+
),
|
|
3090
|
+
Schema.Literal(""),
|
|
3091
|
+
]),
|
|
3092
|
+
),
|
|
3093
|
+
statement_descriptor_prefix_kanji: Schema.optionalKey(
|
|
3094
|
+
Schema.Union([
|
|
3095
|
+
Schema.String.check(
|
|
3096
|
+
Schema.isMaxCodePoints(10).annotate({
|
|
3097
|
+
expected: "a string with at most 10 code points",
|
|
3098
|
+
}),
|
|
3099
|
+
),
|
|
3100
|
+
Schema.Literal(""),
|
|
3101
|
+
]),
|
|
3102
|
+
),
|
|
3103
|
+
}),
|
|
3104
|
+
[
|
|
3105
|
+
Schema.Record(
|
|
3106
|
+
Schema.String,
|
|
3107
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3108
|
+
),
|
|
3109
|
+
],
|
|
3110
|
+
).annotate({ title: "card_payments_settings_specs" }),
|
|
3111
|
+
),
|
|
3112
|
+
invoices: Schema.optionalKey(
|
|
3113
|
+
Schema.StructWithRest(
|
|
3114
|
+
Schema.Struct({
|
|
3115
|
+
hosted_payment_method_save: Schema.optionalKey(
|
|
3116
|
+
Schema.Literals(["always", "never", "offer"]),
|
|
3117
|
+
),
|
|
3118
|
+
}),
|
|
3119
|
+
[
|
|
3120
|
+
Schema.Record(
|
|
3121
|
+
Schema.String,
|
|
3122
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3123
|
+
),
|
|
3124
|
+
],
|
|
3125
|
+
).annotate({ title: "invoices_settings_specs_create" }),
|
|
3126
|
+
),
|
|
3127
|
+
payments: Schema.optionalKey(
|
|
3128
|
+
Schema.StructWithRest(
|
|
3129
|
+
Schema.Struct({
|
|
3130
|
+
statement_descriptor: Schema.optionalKey(
|
|
3131
|
+
Schema.String.check(
|
|
3132
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
3133
|
+
expected: "a string with at most 22 code points",
|
|
3134
|
+
}),
|
|
3135
|
+
),
|
|
3136
|
+
),
|
|
3137
|
+
statement_descriptor_kana: Schema.optionalKey(
|
|
3138
|
+
Schema.String.check(
|
|
3139
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
3140
|
+
expected: "a string with at most 22 code points",
|
|
3141
|
+
}),
|
|
3142
|
+
),
|
|
3143
|
+
),
|
|
3144
|
+
statement_descriptor_kanji: Schema.optionalKey(
|
|
3145
|
+
Schema.String.check(
|
|
3146
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
3147
|
+
expected: "a string with at most 22 code points",
|
|
3148
|
+
}),
|
|
3149
|
+
),
|
|
3150
|
+
),
|
|
3151
|
+
}),
|
|
3152
|
+
[
|
|
3153
|
+
Schema.Record(
|
|
3154
|
+
Schema.String,
|
|
3155
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3156
|
+
),
|
|
3157
|
+
],
|
|
3158
|
+
).annotate({ title: "payments_settings_specs" }),
|
|
3159
|
+
),
|
|
3160
|
+
payouts: Schema.optionalKey(
|
|
3161
|
+
Schema.StructWithRest(
|
|
3162
|
+
Schema.Struct({
|
|
3163
|
+
debit_negative_balances: Schema.optionalKey(Schema.Boolean),
|
|
3164
|
+
schedule: Schema.optionalKey(
|
|
3165
|
+
Schema.StructWithRest(
|
|
3166
|
+
Schema.Struct({
|
|
3167
|
+
delay_days: Schema.optionalKey(
|
|
3168
|
+
Schema.Union([Schema.Literal("minimum"), Schema.Int]),
|
|
3169
|
+
),
|
|
3170
|
+
interval: Schema.optionalKey(
|
|
3171
|
+
Schema.Literals([
|
|
3172
|
+
"daily",
|
|
3173
|
+
"manual",
|
|
3174
|
+
"monthly",
|
|
3175
|
+
"weekly",
|
|
3176
|
+
]),
|
|
3177
|
+
),
|
|
3178
|
+
monthly_anchor: Schema.optionalKey(Schema.Int),
|
|
3179
|
+
monthly_payout_days: Schema.optionalKey(
|
|
3180
|
+
Schema.Array(Schema.Int),
|
|
3181
|
+
),
|
|
3182
|
+
weekly_anchor: Schema.optionalKey(
|
|
3183
|
+
Schema.Literals([
|
|
3184
|
+
"friday",
|
|
3185
|
+
"monday",
|
|
3186
|
+
"saturday",
|
|
3187
|
+
"sunday",
|
|
3188
|
+
"thursday",
|
|
3189
|
+
"tuesday",
|
|
3190
|
+
"wednesday",
|
|
3191
|
+
]),
|
|
3192
|
+
),
|
|
3193
|
+
weekly_payout_days: Schema.optionalKey(
|
|
3194
|
+
Schema.Array(
|
|
3195
|
+
Schema.Literals([
|
|
3196
|
+
"friday",
|
|
3197
|
+
"monday",
|
|
3198
|
+
"thursday",
|
|
3199
|
+
"tuesday",
|
|
3200
|
+
"wednesday",
|
|
3201
|
+
]),
|
|
3202
|
+
),
|
|
3203
|
+
),
|
|
3204
|
+
}),
|
|
3205
|
+
[
|
|
3206
|
+
Schema.Record(
|
|
3207
|
+
Schema.String,
|
|
3208
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3209
|
+
),
|
|
3210
|
+
],
|
|
3211
|
+
).annotate({ title: "transfer_schedule_specs" }),
|
|
3212
|
+
),
|
|
3213
|
+
statement_descriptor: Schema.optionalKey(
|
|
3214
|
+
Schema.String.check(
|
|
3215
|
+
Schema.isMaxCodePoints(22).annotate({
|
|
3216
|
+
expected: "a string with at most 22 code points",
|
|
3217
|
+
}),
|
|
3218
|
+
),
|
|
3219
|
+
),
|
|
3220
|
+
}),
|
|
3221
|
+
[
|
|
3222
|
+
Schema.Record(
|
|
3223
|
+
Schema.String,
|
|
3224
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3225
|
+
),
|
|
3226
|
+
],
|
|
3227
|
+
).annotate({ title: "payout_settings_specs" }),
|
|
3228
|
+
),
|
|
3229
|
+
paypay_payments: Schema.optionalKey(
|
|
3230
|
+
Schema.StructWithRest(
|
|
3231
|
+
Schema.Struct({
|
|
3232
|
+
additional_files: Schema.optionalKey(
|
|
3233
|
+
Schema.Array(
|
|
3234
|
+
Schema.String.check(
|
|
3235
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3236
|
+
expected: "a string with at most 5000 code points",
|
|
3237
|
+
}),
|
|
3238
|
+
),
|
|
3239
|
+
),
|
|
3240
|
+
),
|
|
3241
|
+
goods_type: Schema.optionalKey(
|
|
3242
|
+
Schema.Literals(["digital_content", "other"]),
|
|
3243
|
+
),
|
|
3244
|
+
site: Schema.optionalKey(
|
|
3245
|
+
Schema.StructWithRest(
|
|
3246
|
+
Schema.Struct({
|
|
3247
|
+
accessible: Schema.optionalKey(
|
|
3248
|
+
Schema.Record(
|
|
3249
|
+
Schema.String,
|
|
3250
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3251
|
+
).annotate({ title: "paypay_site_accessible_specs" }),
|
|
3252
|
+
),
|
|
3253
|
+
in_development: Schema.optionalKey(
|
|
3254
|
+
Schema.StructWithRest(
|
|
3255
|
+
Schema.Struct({
|
|
3256
|
+
password: Schema.String.check(
|
|
3257
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3258
|
+
expected:
|
|
3259
|
+
"a string with at most 5000 code points",
|
|
3260
|
+
}),
|
|
3261
|
+
),
|
|
3262
|
+
username: Schema.optionalKey(
|
|
3263
|
+
Schema.String.check(
|
|
3264
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3265
|
+
expected:
|
|
3266
|
+
"a string with at most 5000 code points",
|
|
3267
|
+
}),
|
|
3268
|
+
),
|
|
3269
|
+
),
|
|
3270
|
+
}),
|
|
3271
|
+
[
|
|
3272
|
+
Schema.Record(
|
|
3273
|
+
Schema.String,
|
|
3274
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3275
|
+
),
|
|
3276
|
+
],
|
|
3277
|
+
).annotate({
|
|
3278
|
+
title: "paypay_site_in_development_specs",
|
|
3279
|
+
}),
|
|
3280
|
+
),
|
|
3281
|
+
restricted: Schema.optionalKey(
|
|
3282
|
+
Schema.StructWithRest(
|
|
3283
|
+
Schema.Struct({
|
|
3284
|
+
payment_flow_file: Schema.optionalKey(
|
|
3285
|
+
Schema.String.check(
|
|
3286
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3287
|
+
expected:
|
|
3288
|
+
"a string with at most 5000 code points",
|
|
3289
|
+
}),
|
|
3290
|
+
),
|
|
3291
|
+
),
|
|
3292
|
+
}),
|
|
3293
|
+
[
|
|
3294
|
+
Schema.Record(
|
|
3295
|
+
Schema.String,
|
|
3296
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3297
|
+
),
|
|
3298
|
+
],
|
|
3299
|
+
).annotate({ title: "paypay_site_restricted_specs" }),
|
|
3300
|
+
),
|
|
3301
|
+
type: Schema.optionalKey(
|
|
3302
|
+
Schema.Literals([
|
|
3303
|
+
"accessible",
|
|
3304
|
+
"in_development",
|
|
3305
|
+
"restricted",
|
|
3306
|
+
]),
|
|
3307
|
+
),
|
|
3308
|
+
}),
|
|
3309
|
+
[
|
|
3310
|
+
Schema.Record(
|
|
3311
|
+
Schema.String,
|
|
3312
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3313
|
+
),
|
|
3314
|
+
],
|
|
3315
|
+
).annotate({ title: "paypay_site_specs" }),
|
|
3316
|
+
),
|
|
3317
|
+
}),
|
|
3318
|
+
[
|
|
3319
|
+
Schema.Record(
|
|
3320
|
+
Schema.String,
|
|
3321
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3322
|
+
),
|
|
3323
|
+
],
|
|
3324
|
+
).annotate({ title: "paypay_payments_settings_specs" }),
|
|
3325
|
+
),
|
|
3326
|
+
sepa_debit_payments: Schema.optionalKey(
|
|
3327
|
+
Schema.StructWithRest(
|
|
3328
|
+
Schema.Struct({ creditor_id: Schema.optionalKey(Schema.String) }),
|
|
3329
|
+
[
|
|
3330
|
+
Schema.Record(
|
|
3331
|
+
Schema.String,
|
|
3332
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3333
|
+
),
|
|
3334
|
+
],
|
|
3335
|
+
).annotate({ title: "sepa_debit_payments_specs" }),
|
|
3336
|
+
),
|
|
3337
|
+
treasury: Schema.optionalKey(
|
|
3338
|
+
Schema.StructWithRest(
|
|
3339
|
+
Schema.Struct({
|
|
3340
|
+
tos_acceptance: Schema.optionalKey(
|
|
3341
|
+
Schema.StructWithRest(
|
|
3342
|
+
Schema.Struct({
|
|
3343
|
+
date: Schema.optionalKey(
|
|
3344
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
3345
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
3346
|
+
),
|
|
3347
|
+
),
|
|
3348
|
+
ip: Schema.optionalKey(Schema.String),
|
|
3349
|
+
user_agent: Schema.optionalKey(
|
|
3350
|
+
Schema.Union([
|
|
3351
|
+
Schema.String.check(
|
|
3352
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3353
|
+
expected:
|
|
3354
|
+
"a string with at most 5000 code points",
|
|
3355
|
+
}),
|
|
3356
|
+
),
|
|
3357
|
+
Schema.Literal(""),
|
|
3358
|
+
]),
|
|
3359
|
+
),
|
|
3360
|
+
}),
|
|
3361
|
+
[
|
|
3362
|
+
Schema.Record(
|
|
3363
|
+
Schema.String,
|
|
3364
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3365
|
+
),
|
|
3366
|
+
],
|
|
3367
|
+
).annotate({ title: "settings_terms_of_service_specs" }),
|
|
3368
|
+
),
|
|
3369
|
+
}),
|
|
3370
|
+
[
|
|
3371
|
+
Schema.Record(
|
|
3372
|
+
Schema.String,
|
|
3373
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3374
|
+
),
|
|
3375
|
+
],
|
|
3376
|
+
).annotate({ title: "treasury_settings_specs" }),
|
|
3377
|
+
),
|
|
3378
|
+
}),
|
|
3379
|
+
[
|
|
3380
|
+
Schema.Record(
|
|
3381
|
+
Schema.String,
|
|
3382
|
+
Schema.Union([
|
|
3383
|
+
ResourceInputJsonSchema,
|
|
3384
|
+
StripeResourceEntityInputProperties_5,
|
|
3385
|
+
]),
|
|
3386
|
+
),
|
|
3387
|
+
],
|
|
3388
|
+
).annotate({
|
|
3389
|
+
title: "settings_specs",
|
|
3390
|
+
description:
|
|
3391
|
+
"Options for customizing how the account functions within Stripe.",
|
|
3392
|
+
}),
|
|
3393
|
+
),
|
|
3394
|
+
tos_acceptance: Schema.optionalKey(
|
|
3395
|
+
Schema.StructWithRest(
|
|
3396
|
+
Schema.Struct({
|
|
3397
|
+
date: Schema.optionalKey(
|
|
3398
|
+
Schema.Number.annotate({ format: "unix-time" }).check(
|
|
3399
|
+
Schema.isInt().annotate({ expected: "an integer" }),
|
|
3400
|
+
),
|
|
3401
|
+
),
|
|
3402
|
+
ip: Schema.optionalKey(Schema.String),
|
|
3403
|
+
service_agreement: Schema.optionalKey(
|
|
3404
|
+
Schema.String.check(
|
|
3405
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3406
|
+
expected: "a string with at most 5000 code points",
|
|
3407
|
+
}),
|
|
3408
|
+
),
|
|
3409
|
+
),
|
|
3410
|
+
user_agent: Schema.optionalKey(
|
|
3411
|
+
Schema.String.check(
|
|
3412
|
+
Schema.isMaxCodePoints(5000).annotate({
|
|
3413
|
+
expected: "a string with at most 5000 code points",
|
|
3414
|
+
}),
|
|
3415
|
+
),
|
|
3416
|
+
),
|
|
3417
|
+
}),
|
|
3418
|
+
[
|
|
3419
|
+
Schema.Record(
|
|
3420
|
+
Schema.String,
|
|
3421
|
+
Schema.Json.annotate({ expected: "JSON value" }),
|
|
3422
|
+
),
|
|
3423
|
+
],
|
|
3424
|
+
).annotate({
|
|
3425
|
+
title: "tos_acceptance_specs",
|
|
3426
|
+
description:
|
|
3427
|
+
"Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.",
|
|
3428
|
+
}),
|
|
3429
|
+
),
|
|
3430
|
+
type: Schema.optionalKey(
|
|
3431
|
+
Schema.Literals(["custom", "express", "standard"]).annotate({
|
|
3432
|
+
description:
|
|
3433
|
+
"The `type` parameter is deprecated. Use [`controller`](/api/accounts/create#create_account-controller) instead to configure dashboard access, fee payer, loss liability, and requirement collection.",
|
|
3434
|
+
}),
|
|
3435
|
+
),
|
|
3436
|
+
}),
|
|
3437
|
+
StripeV1AccountResourceSchema,
|
|
3438
|
+
);
|