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