@volter/twin-stripe 3.0.3 → 3.0.5
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/README.md +5 -2
- package/dist/journeys/customer-life.json +92 -0
- package/dist/journeys/customer-life.outline.md +4 -0
- package/dist/journeys/decisions.json +7 -1
- package/dist/journeys/demand.json +14 -2
- package/dist/spec/SOURCE.md +9 -0
- package/dist/spec/sources.json +8 -0
- package/dist/src/generated/ui.gen.json +1 -1
- package/dist/src/manifest.js +3 -4
- package/dist/src/screens/dashboard.d.ts +1 -1
- package/dist/src/screens/dashboard.js +61 -3
- package/generated/pack-facts.json +1 -1
- package/journeys/customer-life.json +92 -0
- package/journeys/customer-life.outline.md +4 -0
- package/journeys/decisions.json +7 -1
- package/journeys/demand.json +14 -2
- package/package.json +3 -3
- package/spec/SOURCE.md +9 -0
- package/spec/sources.json +8 -0
- package/src/generated/ui.gen.json +1 -1
- package/src/manifest.ts +3 -4
- package/src/screens/dashboard.tsx +71 -5
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Use Node 22.6 or newer.
|
|
|
10
10
|
In an app that already uses this vendor, install this exact release and the product CLI:
|
|
11
11
|
|
|
12
12
|
```console
|
|
13
|
-
npm install --save-dev --save-exact @volter/world@3.0.
|
|
13
|
+
npm install --save-dev --save-exact @volter/world@3.0.165 @volter/twin-stripe@3.0.5
|
|
14
14
|
./node_modules/.bin/volter world init --name my-app --twins stripe --source stripe=@volter/twin-stripe
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -73,6 +73,9 @@ vendor-backed World's refresh; each served operation is decided in `journeys/dec
|
|
|
73
73
|
received from the vendor and closed by its transactions. Their published fixtures are recorded notReplayed because authorization creation and capture test helpers remain outside demand.
|
|
74
74
|
- **Webhook endpoints** made through the API, each with its own signing secret; events listed.
|
|
75
75
|
|
|
76
|
+
**Payment readback.** An app using its secret key can retrieve the saved PaymentIntent and its latest charge after
|
|
77
|
+
Checkout. PaymentIntent retrieval with a publishable key and `client_secret` is unsupported.
|
|
78
|
+
|
|
76
79
|
**Keys.** The platform's secret and publishable keys, and its webhook secret, are issued by the credential door and
|
|
77
80
|
held by their SHA-256. A request with no key, or with one Stripe never issued, is refused 401. A connected account's
|
|
78
81
|
OAuth key acts as that account.
|
|
@@ -116,7 +119,7 @@ Authored pages and content at the declared vendor URLs (`src/screens/`):
|
|
|
116
119
|
- **Connect onboarding** (`connect.stripe.com/setup/…`): the Account Link's business, identity, payout and agreement form.
|
|
117
120
|
- **Stripe.js** (`js.stripe.com/v3/`, `/v3/stripe.js`, `/<release train>/stripe.js`): `redirectToCheckout({ sessionId })` opens the hosted session. Unsupported members refuse.
|
|
118
121
|
- **Checkout client wire** (`api.stripe.com/v1/payment_pages/{session}`): the authored session operations used by Stripe.js CheckoutProvider.
|
|
119
|
-
- **Dashboard** (`dashboard.stripe.com/settings/public`, `/radar/lists`, `/test/issuing/balance`): public business name, Radar
|
|
122
|
+
- **Dashboard** (`dashboard.stripe.com/customers`, `/customers/{customer}`, `/settings/public`, `/radar/lists`, `/test/issuing/balance`): inspect SDK-created customers and their stored subscriptions, payments, payment methods, invoices and metadata; set the public business name, create Radar lists and fund test Issuing. The workspace opens Public details; choose Customers in its sidebar to inspect a record. Customer pages are read-only. Search matches name, email, id or description; dates are UTC. Dashboard customer creation/editing, exports, guest-customer grouping and global search are unavailable.
|
|
120
123
|
|
|
121
124
|
Page actions use the same stored resources as the API. Public screen references and authored choices are in [spec/SOURCE.md](./spec/SOURCE.md).
|
|
122
125
|
|
|
@@ -646,6 +646,51 @@
|
|
|
646
646
|
],
|
|
647
647
|
"evidence": "Dub: apps/web/app/api/workspaces/[idOrSlug]/billing/payment-methods/route.ts:66"
|
|
648
648
|
},
|
|
649
|
+
{
|
|
650
|
+
"name": "Femke finds the SDK-created customer in the Dashboard",
|
|
651
|
+
"method": "GET",
|
|
652
|
+
"path": "https://dashboard.stripe.com/customers?q=billing%40ravel.test",
|
|
653
|
+
"status": 200,
|
|
654
|
+
"expect": [
|
|
655
|
+
{
|
|
656
|
+
"path": "",
|
|
657
|
+
"contains": "billing@ravel.test"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"path": "",
|
|
661
|
+
"contains": "/customers/{ravel}"
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"evidence": "World first-use customer inspection; https://support.stripe.com/questions/export-customer-data-without-the-payment-details"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "Femke opens Ravel's stored customer profile",
|
|
668
|
+
"method": "GET",
|
|
669
|
+
"path": "https://dashboard.stripe.com/customers/{ravel}",
|
|
670
|
+
"status": 200,
|
|
671
|
+
"expect": [
|
|
672
|
+
{
|
|
673
|
+
"path": "",
|
|
674
|
+
"contains": "billing@ravel.test"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"path": "",
|
|
678
|
+
"contains": "Subscriptions"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"path": "",
|
|
682
|
+
"contains": "Metadata"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"evidence": "World first-use customer inspection; https://support.stripe.com/questions/updates-to-the-customer-detail-page"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "A missing customer profile stays missing",
|
|
689
|
+
"method": "GET",
|
|
690
|
+
"path": "https://dashboard.stripe.com/customers/cus_missing",
|
|
691
|
+
"status": 404,
|
|
692
|
+
"evidence": "The Dashboard reads an existing customer only"
|
|
693
|
+
},
|
|
649
694
|
{
|
|
650
695
|
"name": "Twenty\u2019s app health check reads its Stripe account with the user-supplied key",
|
|
651
696
|
"method": "GET",
|
|
@@ -3583,6 +3628,53 @@
|
|
|
3583
3628
|
},
|
|
3584
3629
|
"evidence": "Stripe: spec:GetCheckoutSessionsSession"
|
|
3585
3630
|
},
|
|
3631
|
+
{
|
|
3632
|
+
"name": "The app reads the saved lifetime payment with its secret key",
|
|
3633
|
+
"method": "GET",
|
|
3634
|
+
"path": "/v1/payment_intents/{lifetime_pi}",
|
|
3635
|
+
"headers": {
|
|
3636
|
+
"authorization": "Bearer {sk}"
|
|
3637
|
+
},
|
|
3638
|
+
"status": 200,
|
|
3639
|
+
"expect": [
|
|
3640
|
+
{
|
|
3641
|
+
"path": "id",
|
|
3642
|
+
"equals": "{lifetime_pi}"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"path": "object",
|
|
3646
|
+
"equals": "payment_intent"
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
"path": "status",
|
|
3650
|
+
"equals": "succeeded"
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
"path": "amount",
|
|
3654
|
+
"equals": 14900
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"path": "amount_received",
|
|
3658
|
+
"equals": 14900
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"path": "currency",
|
|
3662
|
+
"equals": "usd"
|
|
3663
|
+
},
|
|
3664
|
+
{
|
|
3665
|
+
"path": "customer",
|
|
3666
|
+
"equals": "{ravel}"
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"path": "latest_charge",
|
|
3670
|
+
"exists": true
|
|
3671
|
+
}
|
|
3672
|
+
],
|
|
3673
|
+
"capture": {
|
|
3674
|
+
"lifetime_charge": "latest_charge"
|
|
3675
|
+
},
|
|
3676
|
+
"evidence": "Stripe: spec:GetPaymentIntentsIntent; spec:/components/schemas/payment_intent"
|
|
3677
|
+
},
|
|
3586
3678
|
{
|
|
3587
3679
|
"name": "Femke reopens the launch promotion for an alumni webinar",
|
|
3588
3680
|
"method": "POST",
|
|
@@ -55,6 +55,9 @@ Elapsed: 120m.
|
|
|
55
55
|
- and every customer — GET /v1/customers?limit=100. Volter Harness: container/retake/stack/app/src/app.py:116
|
|
56
56
|
- The sample shop's seeder looks its first customer up by email before seeding — GET /v1/customers?email=billing%40ravel.test. Twin: apps/platform/src/sample.ts:40
|
|
57
57
|
- Dub reads Ravel’s billing customer — GET /v1/customers/{ravel}. Dub: apps/web/app/api/workspaces/[idOrSlug]/billing/payment-methods/route.ts:66
|
|
58
|
+
- Femke opens Customers to inspect the SDK-created billing customer — GET https://dashboard.stripe.com/customers?q=billing%40ravel.test. World first-use customer inspection; Stripe: https://support.stripe.com/questions/export-customer-data-without-the-payment-details
|
|
59
|
+
- Femke opens Ravel's profile and sees the stored subscriptions and billing details — GET https://dashboard.stripe.com/customers/{ravel}. World first-use customer inspection; Stripe: https://support.stripe.com/questions/updates-to-the-customer-detail-page
|
|
60
|
+
- A missing customer profile is not an invented customer — GET https://dashboard.stripe.com/customers/cus_missing. The profile reads the existing customer view only.
|
|
58
61
|
- Twenty’s app health check reads its Stripe account with the user-supplied key — GET /v1/account. Twenty: packages/twenty-docs/developers/extend/apps/logic/logic-functions.mdx:850 (GET, Authorization only)
|
|
59
62
|
- Twenty’s invoice workflow creates the quote invoice for Ravel — POST /v1/invoices. Twenty: packages/twenty-docs/user-guide/workflows/how-tos/connect-to-other-tools/generate-quote-or-invoice-from-twenty.mdx:101; packages/twenty-server/src/modules/workflow/workflow-executor/workflow-actions/http-request/http-request.workflow-action.ts:28
|
|
60
63
|
- The invoice workflow reads the saved draft — GET /v1/invoices/{workflow_invoice}. Postiz: libraries/nestjs-libraries/src/services/stripe.service.ts; Stripe: pinned API and Stripe.js Checkout contract
|
|
@@ -236,6 +239,7 @@ Elapsed: 32d.
|
|
|
236
239
|
- Ravel buys a lifetime upgrade in Checkout — POST /v1/checkout/sessions. Stripe: spec:PostCheckoutSessions
|
|
237
240
|
- The subscriber enters a card — POST {lifetime_cs_url}. Stripe hosted continuation: https://docs.stripe.com/payments/checkout/how-checkout-works
|
|
238
241
|
- The completed lifetime checkout names its payment — GET /v1/checkout/sessions/{lifetime_cs}. Stripe: spec:GetCheckoutSessionsSession
|
|
242
|
+
- The app reads the saved lifetime payment with its secret key — GET /v1/payment_intents/{lifetime_pi}. Stripe: spec:GetPaymentIntentsIntent
|
|
239
243
|
- Femke reopens the launch promotion for an alumni webinar — POST /v1/promotion_codes/{promo}. Dub: apps/web/lib/discounts/discount-provider-stripe.ts:294
|
|
240
244
|
- Ravel buys a third workspace with the reopened promotion — POST /v1/checkout/sessions. Stripe: spec:PostCheckoutSessions
|
|
241
245
|
- The subscriber enters a card — POST {promo_cs_url}. Stripe hosted continuation: https://docs.stripe.com/payments/checkout/how-checkout-works
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"about": "Stripe operations served for the application calls at the cited lines in demand.json
|
|
2
|
+
"about": "Stripe operations served for the application calls at the cited lines in demand.json, for the resource refresh reads declared in src/manifest.ts, and for the completed Checkout payment readback in customer-life.json. The Dashboard customer pages read those same resource views, as declared in src/manifest.ts and customer-life.outline.md. All other operations answer the gap. Each decision names its caller or refresh and its implementation.",
|
|
3
3
|
"decisions": [
|
|
4
4
|
{
|
|
5
5
|
"operation": "DeleteAccountsAccount",
|
|
@@ -247,6 +247,12 @@
|
|
|
247
247
|
"mechanism": "core",
|
|
248
248
|
"why": "the derived core's list of payment_intent: a plain list the manifest's declaration serves"
|
|
249
249
|
},
|
|
250
|
+
{
|
|
251
|
+
"operation": "GetPaymentIntentsIntent",
|
|
252
|
+
"demand": "Completed Checkout payment readback (journeys/customer-life.json)",
|
|
253
|
+
"mechanism": "core",
|
|
254
|
+
"why": "Stripe SDK paymentIntents.retrieve reads the PaymentIntent named by the completed Checkout session: id, succeeded status, collected amount, currency and latest_charge come from the existing stored payment_intent through the derived core, as spec:GetPaymentIntentsIntent retrieves a PaymentIntent previously created. This life uses the secret key; client-side publishable-key retrieval remains outside this act and the existing credential refusal is unchanged."
|
|
255
|
+
},
|
|
250
256
|
{
|
|
251
257
|
"operation": "GetPaymentMethods",
|
|
252
258
|
"demand": "Dub, Postiz (journeys/demand.json)",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"measured": "Applications are read at the scanned commits below. Demand includes SDK methods, delegated Stripe.js calls, raw URLs and API-path strings, and shipped guides that use a shipped feature. Credentials authorize a feature; they do not opt into it. Postiz ships Stripe as its web billing provider. Twenty workflow HTTP actions and enterprise website billing are independent of the server billing flag (which defaults false). Cal payment/OAuth needs an app-store install; its metadata installed flag makes the catalog entry available, while the user install requires a credential created by the install callback. All products in generated/DEMAND.md
|
|
2
|
+
"measured": "Applications are read at the scanned commits below. Demand includes SDK methods, delegated Stripe.js calls, raw URLs and API-path strings, and shipped guides that use a shipped feature. Credentials authorize a feature; they do not opt into it. Postiz ships Stripe as its web billing provider. Twenty workflow HTTP actions and enterprise website billing are independent of the server billing flag (which defaults false). Cal payment/OAuth needs an app-store install; its metadata installed flag makes the catalog entry available, while the user install requires a credential created by the install callback. All products in generated/DEMAND.md\u2019s Volter column were searched, including their own World scenarios and seeds; none calls a removed operation. The launch does not name Stripe. Separately invoked Rallly billing CLI and Dub maintenance scripts are outside the running products. Dub\u2019s raw GET /v1/mandates, POST /v1/fx_quotes and v2 calls remain outside the pinned v1 document and answer the vendor gap; their demand is retained, not classified optional.",
|
|
3
3
|
"applications": [
|
|
4
4
|
{
|
|
5
5
|
"name": "Open Autonomy",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"client": "fetch (the platform's sample World seeder)",
|
|
66
66
|
"backend": [
|
|
67
67
|
{
|
|
68
|
-
"call": "call('stripe', '/v1/customers?email
|
|
68
|
+
"call": "call('stripe', '/v1/customers?email=\u2026')",
|
|
69
69
|
"operation": "GetCustomers",
|
|
70
70
|
"evidence": "apps/platform/src/sample.ts:40"
|
|
71
71
|
},
|
|
@@ -687,6 +687,18 @@
|
|
|
687
687
|
}
|
|
688
688
|
],
|
|
689
689
|
"gate": "The shipped website enterprise checkout directly uses Stripe independently of the server IS_BILLING_ENABLED=false switch (packages/twenty-website/src/app/api/enterprise/checkout/route.ts:7-19,51)."
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "World first-use",
|
|
693
|
+
"commit": "7638d09b23a3bb36067a607e0fd19898b0a5b624",
|
|
694
|
+
"client": "Real Stripe SDK customer workflow and normal browser inspection",
|
|
695
|
+
"frontend": [
|
|
696
|
+
{
|
|
697
|
+
"call": "Customers sidebar \u2192 SDK-created customer profile",
|
|
698
|
+
"operation": "GET https://dashboard.stripe.com/customers; GET https://dashboard.stripe.com/customers/{customer}",
|
|
699
|
+
"evidence": "twin-world/docs/contributing/first-use.md:39; twin-world/docs/getting-started.md:158"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
690
702
|
}
|
|
691
703
|
],
|
|
692
704
|
"optional": [
|
package/dist/spec/SOURCE.md
CHANGED
|
@@ -8,6 +8,15 @@
|
|
|
8
8
|
|
|
9
9
|
The pack serves this document's version (`SERVED_VERSION` in `src/engine/version.ts`).
|
|
10
10
|
|
|
11
|
+
Customer Dashboard references, read 2026-10-09: [Export customer data](https://support.stripe.com/questions/export-customer-data-without-the-payment-details)
|
|
12
|
+
establishes the Customers section at `/customers`. [Updates to the Customer details page](https://support.stripe.com/questions/updates-to-the-customer-detail-page)
|
|
13
|
+
establishes dynamic payments, invoices and subscriptions in the primary column, with details and metadata on the right.
|
|
14
|
+
[Manage customer information](https://support.stripe.com/questions/manage-a-customer-s-information-and-payments)
|
|
15
|
+
names the customer profile and payment-method modules; its older left-details layout is superseded by the update article.
|
|
16
|
+
The pages publish no version date. The authored list and read-only detail use stored API views, UTC dates and an explicitly
|
|
17
|
+
limited name/email/id/description search. Dashboard create/edit actions, exports and guest-customer grouping are outside this scope.
|
|
18
|
+
Only public documentation was read; no vendor sign-in, upstream DOM, script or image is shipped.
|
|
19
|
+
|
|
11
20
|
- **Published examples:** `fixtures3.json.gz`, gzip of Stripe's `openapi/fixtures3.json` (one sample object per resource,
|
|
12
21
|
the objects Stripe's API reference shows), from commit `0d98342fc985dc7710a44be25e8528dd8e099bc2` (2026-09-23).
|
|
13
22
|
SHA-256 of the uncompressed file: `e6822f7ee6fd71bdde6228537368aafcfb7191109340fe119d9aca27c6e9396d`.
|
package/dist/spec/sources.json
CHANGED
|
@@ -302,5 +302,13 @@
|
|
|
302
302
|
"quotes": {
|
|
303
303
|
"Unrecognized request URL (GET: /v1/test).": true
|
|
304
304
|
}
|
|
305
|
+
},
|
|
306
|
+
"https://support.stripe.com/questions/export-customer-data-without-the-payment-details": {
|
|
307
|
+
"status": 200,
|
|
308
|
+
"checked": "2026-10-09"
|
|
309
|
+
},
|
|
310
|
+
"https://support.stripe.com/questions/updates-to-the-customer-detail-page": {
|
|
311
|
+
"status": 200,
|
|
312
|
+
"checked": "2026-10-09"
|
|
305
313
|
}
|
|
306
314
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedBy":"scripts/derive-pack.ts","resources":{"billing.meter":{"list":"/v1/billing/meters","actions":[],"states":{"status":["active"]},"embeds":{}},"billing.meter_event":{"actions":[],"states":{},"embeds":{}},"payment_intent":{"list":"/v1/payment_intents","create":{"path":"/v1/payment_intents","encoding":"form","body":[{"name":"allowed_payment_method_types","type":"array","required":false},{"name":"amount","type":"integer","required":true},{"name":"amount_details","type":"object","required":false},{"name":"application_fee_amount","type":"integer","required":false},{"name":"automatic_payment_methods","type":"object","required":false},{"name":"capture_method","type":"string","required":false},{"name":"confirm","type":"boolean","required":false},{"name":"confirmation_method","type":"string","required":false},{"name":"confirmation_token","type":"string","required":false},{"name":"currency","type":"string","required":true},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"description","type":"string","required":false},{"name":"error_on_requires_action","type":"boolean","required":false},{"name":"excluded_payment_method_types","type":"array","required":false},{"name":"expand","type":"array","required":false},{"name":"hooks","type":"object","required":false},{"name":"mandate","type":"string","required":false},{"name":"mandate_data","type":"union","required":false},{"name":"metadata","type":"object","required":false},{"name":"off_session","type":"union","required":false},{"name":"on_behalf_of","type":"string","required":false},{"name":"payment_details","type":"object","required":false},{"name":"payment_method","type":"string","required":false},{"name":"payment_method_configuration","type":"string","required":false},{"name":"payment_method_data","type":"object","required":false},{"name":"payment_method_options","type":"object","required":false},{"name":"radar_options","type":"object","required":false},{"name":"receipt_email","type":"string","required":false},{"name":"return_url","type":"string","required":false},{"name":"setup_future_usage","type":"string","required":false},{"name":"shipping","type":"object","required":false},{"name":"statement_descriptor","type":"string","required":false},{"name":"statement_descriptor_suffix","type":"string","required":false},{"name":"transfer_data","type":"object","required":false},{"name":"transfer_group","type":"string","required":false},{"name":"use_stripe_sdk","type":"boolean","required":false}]},"actions":[{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method"],"to":"requires_confirmation"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation","requires_action"],"to":"processing"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"requires_payment_method"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"requires_action"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"requires_capture"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"succeeded"},{"operation":"PostPaymentIntentsIntentCancel","method":"POST","path":"/v1/payment_intents/{intent}/cancel","field":"status","from":["requires_payment_method","requires_confirmation","requires_action","requires_capture","processing"],"to":"canceled"}],"states":{"status":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"]},"embeds":{"customer":"customer","latest_charge":"charge","payment_method":"payment_method","invoice":"invoice"}},"customer":{"list":"/v1/customers","retrieve":"/v1/customers/{customer}","create":{"path":"/v1/customers","encoding":"form","body":[{"name":"address","type":"union","required":false},{"name":"balance","type":"integer","required":false},{"name":"business_name","type":"union","required":false},{"name":"cash_balance","type":"object","required":false},{"name":"description","type":"string","required":false},{"name":"email","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"individual_name","type":"union","required":false},{"name":"invoice_prefix","type":"string","required":false},{"name":"invoice_settings","type":"object","required":false},{"name":"metadata","type":"union","required":false},{"name":"name","type":"string","required":false},{"name":"next_invoice_sequence","type":"integer","required":false},{"name":"payment_method","type":"string","required":false},{"name":"phone","type":"string","required":false},{"name":"preferred_locales","type":"array","required":false},{"name":"shipping","type":"union","required":false},{"name":"source","type":"string","required":false},{"name":"tax","type":"object","required":false},{"name":"tax_exempt","type":"string","required":false},{"name":"tax_id_data","type":"array","required":false},{"name":"test_clock","type":"string","required":false}]},"actions":[],"states":{},"embeds":{}},"customer_balance_transaction":{"list":"/v1/customers/{customer}/balance_transactions","actions":[],"states":{},"embeds":{}},"customer_cash_balance_transaction":{"list":"/v1/customers/{customer}/cash_balance_transactions","actions":[],"states":{},"embeds":{}},"payment_source":{"actions":[],"states":{"status":["new"]},"embeds":{}},"source":{"actions":[],"states":{"status":["chargeable"]},"embeds":{}},"_oauth_code":{"actions":[],"states":{},"embeds":{}},"charge":{"list":"/v1/charges","retrieve":"/v1/charges/{charge}","actions":[],"states":{"status":["succeeded"],"captured":["true"],"paid":["true"],"refunded":["false","true"]},"embeds":{"customer":"customer","payment_intent":"payment_intent","invoice":"invoice","balance_transaction":"balance_transaction"}},"refund":{"list":"/v1/refunds","create":{"path":"/v1/refunds","encoding":"form","body":[{"name":"amount","type":"integer","required":false},{"name":"charge","type":"string","required":false},{"name":"currency","type":"string","required":false},{"name":"customer","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"instructions_email","type":"string","required":false},{"name":"metadata","type":"union","required":false},{"name":"origin","type":"string","required":false},{"name":"payment_intent","type":"string","required":false},{"name":"reason","type":"string","required":false},{"name":"refund_application_fee","type":"boolean","required":false},{"name":"reverse_transfer","type":"boolean","required":false}]},"actions":[{"operation":"PostRefunds","method":"POST","path":"/v1/refunds","field":"status","from":["succeeded"],"to":"pending"}],"states":{"status":["pending","succeeded"]},"embeds":{"charge":"charge","payment_intent":"payment_intent","balance_transaction":"balance_transaction"}},"setup_intent":{"list":"/v1/setup_intents","actions":[],"states":{"status":["requires_payment_method"]},"embeds":{"customer":"customer","payment_method":"payment_method"}},"payment_method":{"list":"/v1/payment_methods","retrieve":"/v1/payment_methods/{payment_method}","actions":[],"states":{},"embeds":{"customer":"customer"}},"subscription":{"list":"/v1/subscriptions","retrieve":"/v1/subscriptions/{subscription_exposed_id}","actions":[{"operation":"DeleteSubscriptionsSubscriptionExposedId","method":"DELETE","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":"*","to":"canceled"},{"operation":"PostSubscriptionsSubscriptionExposedId","method":"POST","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":["trialing"],"to":"active"},{"operation":"PostSubscriptionsSubscriptionExposedId","method":"POST","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":["trialing"],"to":"past_due"},{"operation":"PostSubscriptionsSubscriptionExposedId","method":"POST","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":["active","past_due"],"to":"trialing"}],"states":{"status":["active","canceled","incomplete","past_due","paused","trialing","unpaid"]},"embeds":{"customer":"customer","latest_invoice":"invoice","default_payment_method":"payment_method","schedule":"subscription_schedule"}},"subscription_item":{"actions":[],"states":{},"embeds":{"price":"price"}},"invoice":{"list":"/v1/invoices","retrieve":"/v1/invoices/{invoice}","create":{"path":"/v1/invoices","encoding":"form","body":[{"name":"account_tax_ids","type":"union","required":false},{"name":"application_fee_amount","type":"integer","required":false},{"name":"auto_advance","type":"boolean","required":false},{"name":"automatic_tax","type":"object","required":false},{"name":"automatically_finalizes_at","type":"integer","required":false},{"name":"collection_method","type":"string","required":false},{"name":"currency","type":"string","required":false},{"name":"custom_fields","type":"union","required":false},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"days_until_due","type":"integer","required":false},{"name":"default_payment_method","type":"string","required":false},{"name":"default_source","type":"string","required":false},{"name":"default_tax_rates","type":"array","required":false},{"name":"description","type":"string","required":false},{"name":"discounts","type":"union","required":false},{"name":"due_date","type":"integer","required":false},{"name":"effective_at","type":"integer","required":false},{"name":"expand","type":"array","required":false},{"name":"footer","type":"string","required":false},{"name":"from_invoice","type":"object","required":false},{"name":"issuer","type":"object","required":false},{"name":"metadata","type":"union","required":false},{"name":"number","type":"string","required":false},{"name":"on_behalf_of","type":"string","required":false},{"name":"payment_settings","type":"object","required":false},{"name":"pending_invoice_items_behavior","type":"string","required":false},{"name":"rendering","type":"object","required":false},{"name":"shipping_cost","type":"object","required":false},{"name":"shipping_details","type":"object","required":false},{"name":"statement_descriptor","type":"string","required":false},{"name":"subscription","type":"string","required":false},{"name":"transfer_data","type":"object","required":false}]},"actions":[{"operation":"PostInvoicesInvoicePay","method":"POST","path":"/v1/invoices/{invoice}/pay","field":"status","from":["draft"],"to":"open"},{"operation":"PostInvoicesInvoicePay","method":"POST","path":"/v1/invoices/{invoice}/pay","field":"status","from":["draft","open","uncollectible"],"to":"paid"},{"operation":"PostInvoicesInvoiceVoid","method":"POST","path":"/v1/invoices/{invoice}/void","field":"status","from":["open","uncollectible"],"to":"void"}],"states":{"status":["draft","open","paid","uncollectible","void"]},"embeds":{"customer":"customer","subscription":"subscription","charge":"charge","payment_intent":"payment_intent"}},"invoiceitem":{"list":"/v1/invoiceitems","actions":[],"states":{},"embeds":{"customer":"customer","price":"price"}},"checkout.session":{"list":"/v1/checkout/sessions","retrieve":"/v1/checkout/sessions/{session}","create":{"path":"/v1/checkout/sessions","encoding":"form","body":[{"name":"adaptive_pricing","type":"object","required":false},{"name":"after_expiration","type":"object","required":false},{"name":"allow_promotion_codes","type":"boolean","required":false},{"name":"allowed_payment_method_types","type":"array","required":false},{"name":"automatic_tax","type":"object","required":false},{"name":"billing_address_collection","type":"string","required":false},{"name":"branding_settings","type":"object","required":false},{"name":"cancel_url","type":"string","required":false},{"name":"client_reference_id","type":"string","required":false},{"name":"consent_collection","type":"object","required":false},{"name":"currency","type":"string","required":false},{"name":"custom_fields","type":"array","required":false},{"name":"custom_text","type":"object","required":false},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"customer_creation","type":"string","required":false},{"name":"customer_email","type":"string","required":false},{"name":"customer_update","type":"object","required":false},{"name":"discounts","type":"array","required":false},{"name":"excluded_payment_method_types","type":"array","required":false},{"name":"expand","type":"array","required":false},{"name":"expires_at","type":"integer","required":false},{"name":"integration_identifier","type":"string","required":false},{"name":"invoice_creation","type":"object","required":false},{"name":"line_items","type":"array","required":false},{"name":"locale","type":"string","required":false},{"name":"managed_payments","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"mode","type":"string","required":false},{"name":"name_collection","type":"object","required":false},{"name":"optional_items","type":"array","required":false},{"name":"origin_context","type":"string","required":false},{"name":"payment_intent_data","type":"object","required":false},{"name":"payment_method_collection","type":"string","required":false},{"name":"payment_method_configuration","type":"string","required":false},{"name":"payment_method_data","type":"object","required":false},{"name":"payment_method_options","type":"object","required":false},{"name":"permissions","type":"object","required":false},{"name":"phone_number_collection","type":"object","required":false},{"name":"redirect_on_completion","type":"string","required":false},{"name":"return_url","type":"string","required":false},{"name":"saved_payment_method_options","type":"object","required":false},{"name":"setup_intent_data","type":"object","required":false},{"name":"shipping_address_collection","type":"object","required":false},{"name":"shipping_options","type":"array","required":false},{"name":"submit_type","type":"string","required":false},{"name":"subscription_data","type":"object","required":false},{"name":"success_url","type":"string","required":false},{"name":"tax_id_collection","type":"object","required":false},{"name":"ui_mode","type":"string","required":false},{"name":"wallet_options","type":"object","required":false}]},"actions":[],"states":{"status":["complete","open"],"payment_status":["paid","unpaid"]},"embeds":{"customer":"customer","invoice":"invoice","payment_intent":"payment_intent","payment_link":"payment_link","setup_intent":"setup_intent","subscription":"subscription"}},"ephemeral_key":{"actions":[],"states":{},"embeds":{}},"mandate":{"actions":[],"states":{"status":["active"]},"embeds":{}},"dispute":{"list":"/v1/disputes","actions":[],"states":{"status":["warning_needs_response"]},"embeds":{"charge":"charge","payment_intent":"payment_intent"}},"payout":{"list":"/v1/payouts","create":{"path":"/v1/payouts","encoding":"form","body":[{"name":"amount","type":"integer","required":true},{"name":"currency","type":"string","required":true},{"name":"description","type":"string","required":false},{"name":"destination","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"metadata","type":"object","required":false},{"name":"method","type":"string","required":false},{"name":"payout_method","type":"string","required":false},{"name":"source_type","type":"string","required":false},{"name":"statement_descriptor","type":"string","required":false}]},"actions":[],"states":{"status":["paid","pending"]},"embeds":{"balance_transaction":"balance_transaction","destination":"account"}},"balance_transaction":{"list":"/v1/balance_transactions","actions":[],"states":{"status":["available","pending"]},"embeds":{}},"coupon":{"list":"/v1/coupons","retrieve":"/v1/coupons/{coupon}","create":{"path":"/v1/coupons","encoding":"form","body":[{"name":"amount_off","type":"integer","required":false},{"name":"applies_to","type":"object","required":false},{"name":"currency","type":"string","required":false},{"name":"currency_options","type":"object","required":false},{"name":"duration","type":"string","required":false},{"name":"duration_in_months","type":"integer","required":false},{"name":"expand","type":"array","required":false},{"name":"id","type":"string","required":false},{"name":"max_redemptions","type":"integer","required":false},{"name":"metadata","type":"union","required":false},{"name":"name","type":"string","required":false},{"name":"percent_off","type":"number","required":false},{"name":"redeem_by","type":"integer","required":false}]},"actions":[],"states":{"valid":["false","true"]},"embeds":{}},"promotion_code":{"list":"/v1/promotion_codes","retrieve":"/v1/promotion_codes/{promotion_code}","create":{"path":"/v1/promotion_codes","encoding":"form","body":[{"name":"active","type":"boolean","required":false},{"name":"code","type":"string","required":false},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"expires_at","type":"integer","required":false},{"name":"max_redemptions","type":"integer","required":false},{"name":"metadata","type":"object","required":false},{"name":"promotion","type":"object","required":true},{"name":"restrictions","type":"object","required":false}]},"actions":[{"operation":"PostPromotionCodesPromotionCode","method":"POST","path":"/v1/promotion_codes/{promotion_code}","field":"active","from":"*","to":"true"},{"operation":"PostPromotionCodesPromotionCode","method":"POST","path":"/v1/promotion_codes/{promotion_code}","field":"active","from":"*","to":"false"}],"states":{"active":["false","true"]},"embeds":{"coupon":"coupon"}},"subscription_schedule":{"list":"/v1/subscription_schedules","actions":[],"states":{"status":["active"]},"embeds":{"customer":"customer","subscription":"subscription"}},"entitlements.feature":{"list":"/v1/entitlements/features","actions":[],"states":{"active":["true"]},"embeds":{}},"event":{"list":"/v1/events","actions":[],"states":{},"embeds":{}},"webhook_endpoint":{"list":"/v1/webhook_endpoints","create":{"path":"/v1/webhook_endpoints","encoding":"form","body":[{"name":"api_version","type":"string","required":false},{"name":"connect","type":"boolean","required":false},{"name":"description","type":"union","required":false},{"name":"enabled_events","type":"array","required":true},{"name":"expand","type":"array","required":false},{"name":"metadata","type":"union","required":false},{"name":"url","type":"string","required":true}]},"actions":[],"states":{"status":["enabled"]},"embeds":{}},"account":{"list":"/v1/accounts","retrieve":"/v1/account","create":{"path":"/v1/accounts","encoding":"form","body":[{"name":"account_token","type":"string","required":false},{"name":"bank_account","type":"union","required":false},{"name":"business_profile","type":"object","required":false},{"name":"business_type","type":"string","required":false},{"name":"capabilities","type":"object","required":false},{"name":"company","type":"object","required":false},{"name":"controller","type":"object","required":false},{"name":"country","type":"string","required":false},{"name":"default_currency","type":"string","required":false},{"name":"documents","type":"object","required":false},{"name":"email","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"external_account","type":"string","required":false},{"name":"groups","type":"object","required":false},{"name":"individual","type":"object","required":false},{"name":"metadata","type":"union","required":false},{"name":"settings","type":"object","required":false},{"name":"tos_acceptance","type":"object","required":false},{"name":"type","type":"string","required":false}]},"actions":[],"states":{},"embeds":{"individual":"person"}},"person":{"list":"/v1/accounts/{account}/persons","actions":[],"states":{},"embeds":{}},"capability":{"actions":[],"states":{"status":["unrequested"]},"embeds":{}},"external_account":{"actions":[],"states":{"status":["new"]},"embeds":{}},"account_link":{"actions":[],"states":{},"embeds":{}},"account_session":{"actions":[],"states":{},"embeds":{}},"transfer":{"list":"/v1/transfers","create":{"path":"/v1/transfers","encoding":"form","body":[{"name":"amount","type":"integer","required":false},{"name":"currency","type":"string","required":true},{"name":"description","type":"string","required":false},{"name":"destination","type":"string","required":true},{"name":"expand","type":"array","required":false},{"name":"metadata","type":"object","required":false},{"name":"source_transaction","type":"string","required":false},{"name":"source_type","type":"string","required":false},{"name":"transfer_group","type":"string","required":false}]},"actions":[],"states":{},"embeds":{}},"transfer_reversal":{"list":"/v1/transfers/{id}/reversals","actions":[],"states":{},"embeds":{}},"application_fee":{"list":"/v1/application_fees","actions":[],"states":{"refunded":["false","true"]},"embeds":{}},"fee_refund":{"list":"/v1/application_fees/{id}/refunds","actions":[],"states":{},"embeds":{}},"apps.secret":{"retrieve":"/v1/apps/secrets/find","create":{"path":"/v1/apps/secrets","encoding":"form","body":[{"name":"expand","type":"array","required":false},{"name":"expires_at","type":"integer","required":false},{"name":"name","type":"string","required":true},{"name":"payload","type":"string","required":true},{"name":"scope","type":"object","required":true}]},"actions":[],"states":{},"embeds":{}},"billing_portal.session":{"actions":[],"states":{},"embeds":{}},"billing_portal.configuration":{"list":"/v1/billing_portal/configurations","create":{"path":"/v1/billing_portal/configurations","encoding":"form","body":[{"name":"business_profile","type":"object","required":false},{"name":"default_return_url","type":"union","required":false},{"name":"expand","type":"array","required":false},{"name":"features","type":"object","required":true},{"name":"login_page","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"name","type":"union","required":false}]},"actions":[],"states":{"active":["true"]},"embeds":{}},"tax.calculation":{"actions":[],"states":{},"embeds":{}},"tax.transaction":{"actions":[],"states":{},"embeds":{}},"review":{"list":"/v1/reviews","actions":[],"states":{"open":["true"]},"embeds":{}},"radar.value_list":{"list":"/v1/radar/value_lists","actions":[],"states":{},"embeds":{}},"radar.value_list_item":{"create":{"path":"/v1/radar/value_list_items","encoding":"form","body":[{"name":"expand","type":"array","required":false},{"name":"value","type":"string","required":true},{"name":"value_list","type":"string","required":true}]},"actions":[],"states":{},"embeds":{}},"issuing.cardholder":{"list":"/v1/issuing/cardholders","create":{"path":"/v1/issuing/cardholders","encoding":"form","body":[{"name":"billing","type":"object","required":true},{"name":"company","type":"object","required":false},{"name":"email","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"individual","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"name","type":"string","required":true},{"name":"phone_number","type":"string","required":false},{"name":"preferred_locales","type":"array","required":false},{"name":"spending_controls","type":"object","required":false},{"name":"status","type":"string","required":false},{"name":"type","type":"string","required":false}]},"actions":[],"states":{"status":["active"]},"embeds":{}},"issuing.card":{"list":"/v1/issuing/cards","retrieve":"/v1/issuing/cards/{card}","create":{"path":"/v1/issuing/cards","encoding":"form","body":[{"name":"cardholder","type":"string","required":false},{"name":"currency","type":"string","required":true},{"name":"exp_month","type":"integer","required":false},{"name":"exp_year","type":"integer","required":false},{"name":"expand","type":"array","required":false},{"name":"financial_account","type":"string","required":false},{"name":"lifecycle_controls","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"personalization_design","type":"string","required":false},{"name":"pin","type":"object","required":false},{"name":"replacement_for","type":"string","required":false},{"name":"replacement_reason","type":"string","required":false},{"name":"second_line","type":"union","required":false},{"name":"shipping","type":"object","required":false},{"name":"spending_controls","type":"object","required":false},{"name":"status","type":"string","required":false},{"name":"type","type":"string","required":true}]},"actions":[{"operation":"PostIssuingCardsCard","method":"POST","path":"/v1/issuing/cards/{card}","field":"status","from":"*","to":"active"},{"operation":"PostIssuingCardsCard","method":"POST","path":"/v1/issuing/cards/{card}","field":"status","from":"*","to":"inactive"},{"operation":"PostIssuingCardsCard","method":"POST","path":"/v1/issuing/cards/{card}","field":"status","from":"*","to":"canceled"}],"states":{"status":["active","canceled","inactive"]},"embeds":{"cardholder":"issuing.cardholder"}},"issuing.authorization":{"list":"/v1/issuing/authorizations","actions":[{"operation":"PostIssuingAuthorizationsAuthorizationApprove","method":"POST","path":"/v1/issuing/authorizations/{authorization}/approve","field":"status","from":["pending"]},{"operation":"PostIssuingAuthorizationsAuthorizationApprove","method":"POST","path":"/v1/issuing/authorizations/{authorization}/approve","field":"status","from":"*"},{"operation":"PostIssuingAuthorizationsAuthorizationDecline","method":"POST","path":"/v1/issuing/authorizations/{authorization}/decline","field":"status","from":["pending"],"to":"closed"},{"operation":"PostTestHelpersIssuingAuthorizationsAuthorizationCapture","method":"POST","path":"/v1/test_helpers/issuing/authorizations/{authorization}/capture","field":"status","from":["pending"],"to":"closed"},{"operation":"PostTestHelpersIssuingAuthorizationsAuthorizationCapture","method":"POST","path":"/v1/test_helpers/issuing/authorizations/{authorization}/capture","field":"status","from":["pending"]}],"states":{"status":["closed","pending"]},"embeds":{"card":"issuing.card","cardholder":"issuing.cardholder"}},"issuing.transaction":{"list":"/v1/issuing/transactions","actions":[],"states":{},"embeds":{}},"treasury.outbound_payment":{"actions":[],"states":{"status":["processing"]},"embeds":{}},"treasury.outbound_transfer":{"actions":[],"states":{"status":["processing"]},"embeds":{}},"treasury.inbound_transfer":{"actions":[],"states":{"status":["processing"]},"embeds":{}},"treasury.received_credit":{"actions":[],"states":{"status":["succeeded"]},"embeds":{}},"treasury.received_debit":{"actions":[],"states":{"status":["succeeded"]},"embeds":{}},"treasury.transaction":{"actions":[],"states":{"status":["open"]},"embeds":{}},"treasury.transaction_entry":{"actions":[],"states":{},"embeds":{}},"financial_connections.session":{"actions":[],"states":{},"embeds":{}},"financial_connections.transaction":{"actions":[],"states":{"status":["posted"]},"embeds":{}},"product":{"list":"/v1/products","create":{"path":"/v1/products","encoding":"form","body":[{"name":"active","type":"boolean","required":false},{"name":"default_price_data","type":"object","required":false},{"name":"description","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"id","type":"string","required":false},{"name":"images","type":"array","required":false},{"name":"marketing_features","type":"array","required":false},{"name":"metadata","type":"object","required":false},{"name":"name","type":"string","required":true},{"name":"package_dimensions","type":"object","required":false},{"name":"shippable","type":"boolean","required":false},{"name":"statement_descriptor","type":"string","required":false},{"name":"tax_code","type":"string","required":false},{"name":"tax_details","type":"object","required":false},{"name":"unit_label","type":"string","required":false},{"name":"url","type":"string","required":false}]},"actions":[],"states":{"active":["true"]},"embeds":{}},"product_feature":{"list":"/v1/products/{product}/features","actions":[],"states":{},"embeds":{"entitlement_feature":"entitlements.feature"}},"price":{"list":"/v1/prices","retrieve":"/v1/prices/{price}","create":{"path":"/v1/prices","encoding":"form","body":[{"name":"active","type":"boolean","required":false},{"name":"billing_scheme","type":"string","required":false},{"name":"currency","type":"string","required":true},{"name":"currency_options","type":"object","required":false},{"name":"custom_unit_amount","type":"object","required":false},{"name":"expand","type":"array","required":false},{"name":"lookup_key","type":"string","required":false},{"name":"metadata","type":"object","required":false},{"name":"nickname","type":"string","required":false},{"name":"product","type":"string","required":false},{"name":"product_data","type":"object","required":false},{"name":"recurring","type":"object","required":false},{"name":"tax_behavior","type":"string","required":false},{"name":"tiers","type":"array","required":false},{"name":"tiers_mode","type":"string","required":false},{"name":"transfer_lookup_key","type":"boolean","required":false},{"name":"transform_quantity","type":"object","required":false},{"name":"unit_amount","type":"integer","required":false},{"name":"unit_amount_decimal","type":"string","required":false}]},"actions":[],"states":{"active":["true"]},"embeds":{"product":"product"}}}}
|
|
1
|
+
{"generatedBy":"scripts/derive-pack.ts","resources":{"billing.meter":{"list":"/v1/billing/meters","actions":[],"states":{"status":["active"]},"embeds":{}},"billing.meter_event":{"actions":[],"states":{},"embeds":{}},"payment_intent":{"list":"/v1/payment_intents","retrieve":"/v1/payment_intents/{intent}","create":{"path":"/v1/payment_intents","encoding":"form","body":[{"name":"allowed_payment_method_types","type":"array","required":false},{"name":"amount","type":"integer","required":true},{"name":"amount_details","type":"object","required":false},{"name":"application_fee_amount","type":"integer","required":false},{"name":"automatic_payment_methods","type":"object","required":false},{"name":"capture_method","type":"string","required":false},{"name":"confirm","type":"boolean","required":false},{"name":"confirmation_method","type":"string","required":false},{"name":"confirmation_token","type":"string","required":false},{"name":"currency","type":"string","required":true},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"description","type":"string","required":false},{"name":"error_on_requires_action","type":"boolean","required":false},{"name":"excluded_payment_method_types","type":"array","required":false},{"name":"expand","type":"array","required":false},{"name":"hooks","type":"object","required":false},{"name":"mandate","type":"string","required":false},{"name":"mandate_data","type":"union","required":false},{"name":"metadata","type":"object","required":false},{"name":"off_session","type":"union","required":false},{"name":"on_behalf_of","type":"string","required":false},{"name":"payment_details","type":"object","required":false},{"name":"payment_method","type":"string","required":false},{"name":"payment_method_configuration","type":"string","required":false},{"name":"payment_method_data","type":"object","required":false},{"name":"payment_method_options","type":"object","required":false},{"name":"radar_options","type":"object","required":false},{"name":"receipt_email","type":"string","required":false},{"name":"return_url","type":"string","required":false},{"name":"setup_future_usage","type":"string","required":false},{"name":"shipping","type":"object","required":false},{"name":"statement_descriptor","type":"string","required":false},{"name":"statement_descriptor_suffix","type":"string","required":false},{"name":"transfer_data","type":"object","required":false},{"name":"transfer_group","type":"string","required":false},{"name":"use_stripe_sdk","type":"boolean","required":false}]},"actions":[{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method"],"to":"requires_confirmation"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation","requires_action"],"to":"processing"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"requires_payment_method"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"requires_action"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"requires_capture"},{"operation":"PostPaymentIntents","method":"POST","path":"/v1/payment_intents","field":"status","from":["requires_payment_method","requires_confirmation"],"to":"succeeded"},{"operation":"PostPaymentIntentsIntentCancel","method":"POST","path":"/v1/payment_intents/{intent}/cancel","field":"status","from":["requires_payment_method","requires_confirmation","requires_action","requires_capture","processing"],"to":"canceled"}],"states":{"status":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"]},"embeds":{"customer":"customer","latest_charge":"charge","payment_method":"payment_method","invoice":"invoice"}},"customer":{"list":"/v1/customers","retrieve":"/v1/customers/{customer}","create":{"path":"/v1/customers","encoding":"form","body":[{"name":"address","type":"union","required":false},{"name":"balance","type":"integer","required":false},{"name":"business_name","type":"union","required":false},{"name":"cash_balance","type":"object","required":false},{"name":"description","type":"string","required":false},{"name":"email","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"individual_name","type":"union","required":false},{"name":"invoice_prefix","type":"string","required":false},{"name":"invoice_settings","type":"object","required":false},{"name":"metadata","type":"union","required":false},{"name":"name","type":"string","required":false},{"name":"next_invoice_sequence","type":"integer","required":false},{"name":"payment_method","type":"string","required":false},{"name":"phone","type":"string","required":false},{"name":"preferred_locales","type":"array","required":false},{"name":"shipping","type":"union","required":false},{"name":"source","type":"string","required":false},{"name":"tax","type":"object","required":false},{"name":"tax_exempt","type":"string","required":false},{"name":"tax_id_data","type":"array","required":false},{"name":"test_clock","type":"string","required":false}]},"actions":[],"states":{},"embeds":{}},"customer_balance_transaction":{"list":"/v1/customers/{customer}/balance_transactions","actions":[],"states":{},"embeds":{}},"customer_cash_balance_transaction":{"list":"/v1/customers/{customer}/cash_balance_transactions","actions":[],"states":{},"embeds":{}},"payment_source":{"actions":[],"states":{"status":["new"]},"embeds":{}},"source":{"actions":[],"states":{"status":["chargeable"]},"embeds":{}},"_oauth_code":{"actions":[],"states":{},"embeds":{}},"charge":{"list":"/v1/charges","retrieve":"/v1/charges/{charge}","actions":[],"states":{"status":["succeeded"],"captured":["true"],"paid":["true"],"refunded":["false","true"]},"embeds":{"customer":"customer","payment_intent":"payment_intent","invoice":"invoice","balance_transaction":"balance_transaction"}},"refund":{"list":"/v1/refunds","create":{"path":"/v1/refunds","encoding":"form","body":[{"name":"amount","type":"integer","required":false},{"name":"charge","type":"string","required":false},{"name":"currency","type":"string","required":false},{"name":"customer","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"instructions_email","type":"string","required":false},{"name":"metadata","type":"union","required":false},{"name":"origin","type":"string","required":false},{"name":"payment_intent","type":"string","required":false},{"name":"reason","type":"string","required":false},{"name":"refund_application_fee","type":"boolean","required":false},{"name":"reverse_transfer","type":"boolean","required":false}]},"actions":[{"operation":"PostRefunds","method":"POST","path":"/v1/refunds","field":"status","from":["succeeded"],"to":"pending"}],"states":{"status":["pending","succeeded"]},"embeds":{"charge":"charge","payment_intent":"payment_intent","balance_transaction":"balance_transaction"}},"setup_intent":{"list":"/v1/setup_intents","actions":[],"states":{"status":["requires_payment_method"]},"embeds":{"customer":"customer","payment_method":"payment_method"}},"payment_method":{"list":"/v1/payment_methods","retrieve":"/v1/payment_methods/{payment_method}","actions":[],"states":{},"embeds":{"customer":"customer"}},"subscription":{"list":"/v1/subscriptions","retrieve":"/v1/subscriptions/{subscription_exposed_id}","actions":[{"operation":"DeleteSubscriptionsSubscriptionExposedId","method":"DELETE","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":"*","to":"canceled"},{"operation":"PostSubscriptionsSubscriptionExposedId","method":"POST","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":["trialing"],"to":"active"},{"operation":"PostSubscriptionsSubscriptionExposedId","method":"POST","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":["trialing"],"to":"past_due"},{"operation":"PostSubscriptionsSubscriptionExposedId","method":"POST","path":"/v1/subscriptions/{subscription_exposed_id}","field":"status","from":["active","past_due"],"to":"trialing"}],"states":{"status":["active","canceled","incomplete","past_due","paused","trialing","unpaid"]},"embeds":{"customer":"customer","latest_invoice":"invoice","default_payment_method":"payment_method","schedule":"subscription_schedule"}},"subscription_item":{"actions":[],"states":{},"embeds":{"price":"price"}},"invoice":{"list":"/v1/invoices","retrieve":"/v1/invoices/{invoice}","create":{"path":"/v1/invoices","encoding":"form","body":[{"name":"account_tax_ids","type":"union","required":false},{"name":"application_fee_amount","type":"integer","required":false},{"name":"auto_advance","type":"boolean","required":false},{"name":"automatic_tax","type":"object","required":false},{"name":"automatically_finalizes_at","type":"integer","required":false},{"name":"collection_method","type":"string","required":false},{"name":"currency","type":"string","required":false},{"name":"custom_fields","type":"union","required":false},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"days_until_due","type":"integer","required":false},{"name":"default_payment_method","type":"string","required":false},{"name":"default_source","type":"string","required":false},{"name":"default_tax_rates","type":"array","required":false},{"name":"description","type":"string","required":false},{"name":"discounts","type":"union","required":false},{"name":"due_date","type":"integer","required":false},{"name":"effective_at","type":"integer","required":false},{"name":"expand","type":"array","required":false},{"name":"footer","type":"string","required":false},{"name":"from_invoice","type":"object","required":false},{"name":"issuer","type":"object","required":false},{"name":"metadata","type":"union","required":false},{"name":"number","type":"string","required":false},{"name":"on_behalf_of","type":"string","required":false},{"name":"payment_settings","type":"object","required":false},{"name":"pending_invoice_items_behavior","type":"string","required":false},{"name":"rendering","type":"object","required":false},{"name":"shipping_cost","type":"object","required":false},{"name":"shipping_details","type":"object","required":false},{"name":"statement_descriptor","type":"string","required":false},{"name":"subscription","type":"string","required":false},{"name":"transfer_data","type":"object","required":false}]},"actions":[{"operation":"PostInvoicesInvoicePay","method":"POST","path":"/v1/invoices/{invoice}/pay","field":"status","from":["draft"],"to":"open"},{"operation":"PostInvoicesInvoicePay","method":"POST","path":"/v1/invoices/{invoice}/pay","field":"status","from":["draft","open","uncollectible"],"to":"paid"},{"operation":"PostInvoicesInvoiceVoid","method":"POST","path":"/v1/invoices/{invoice}/void","field":"status","from":["open","uncollectible"],"to":"void"}],"states":{"status":["draft","open","paid","uncollectible","void"]},"embeds":{"customer":"customer","subscription":"subscription","charge":"charge","payment_intent":"payment_intent"}},"invoiceitem":{"list":"/v1/invoiceitems","actions":[],"states":{},"embeds":{"customer":"customer","price":"price"}},"checkout.session":{"list":"/v1/checkout/sessions","retrieve":"/v1/checkout/sessions/{session}","create":{"path":"/v1/checkout/sessions","encoding":"form","body":[{"name":"adaptive_pricing","type":"object","required":false},{"name":"after_expiration","type":"object","required":false},{"name":"allow_promotion_codes","type":"boolean","required":false},{"name":"allowed_payment_method_types","type":"array","required":false},{"name":"automatic_tax","type":"object","required":false},{"name":"billing_address_collection","type":"string","required":false},{"name":"branding_settings","type":"object","required":false},{"name":"cancel_url","type":"string","required":false},{"name":"client_reference_id","type":"string","required":false},{"name":"consent_collection","type":"object","required":false},{"name":"currency","type":"string","required":false},{"name":"custom_fields","type":"array","required":false},{"name":"custom_text","type":"object","required":false},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"customer_creation","type":"string","required":false},{"name":"customer_email","type":"string","required":false},{"name":"customer_update","type":"object","required":false},{"name":"discounts","type":"array","required":false},{"name":"excluded_payment_method_types","type":"array","required":false},{"name":"expand","type":"array","required":false},{"name":"expires_at","type":"integer","required":false},{"name":"integration_identifier","type":"string","required":false},{"name":"invoice_creation","type":"object","required":false},{"name":"line_items","type":"array","required":false},{"name":"locale","type":"string","required":false},{"name":"managed_payments","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"mode","type":"string","required":false},{"name":"name_collection","type":"object","required":false},{"name":"optional_items","type":"array","required":false},{"name":"origin_context","type":"string","required":false},{"name":"payment_intent_data","type":"object","required":false},{"name":"payment_method_collection","type":"string","required":false},{"name":"payment_method_configuration","type":"string","required":false},{"name":"payment_method_data","type":"object","required":false},{"name":"payment_method_options","type":"object","required":false},{"name":"permissions","type":"object","required":false},{"name":"phone_number_collection","type":"object","required":false},{"name":"redirect_on_completion","type":"string","required":false},{"name":"return_url","type":"string","required":false},{"name":"saved_payment_method_options","type":"object","required":false},{"name":"setup_intent_data","type":"object","required":false},{"name":"shipping_address_collection","type":"object","required":false},{"name":"shipping_options","type":"array","required":false},{"name":"submit_type","type":"string","required":false},{"name":"subscription_data","type":"object","required":false},{"name":"success_url","type":"string","required":false},{"name":"tax_id_collection","type":"object","required":false},{"name":"ui_mode","type":"string","required":false},{"name":"wallet_options","type":"object","required":false}]},"actions":[],"states":{"status":["complete","open"],"payment_status":["paid","unpaid"]},"embeds":{"customer":"customer","invoice":"invoice","payment_intent":"payment_intent","payment_link":"payment_link","setup_intent":"setup_intent","subscription":"subscription"}},"ephemeral_key":{"actions":[],"states":{},"embeds":{}},"mandate":{"actions":[],"states":{"status":["active"]},"embeds":{}},"dispute":{"list":"/v1/disputes","actions":[],"states":{"status":["warning_needs_response"]},"embeds":{"charge":"charge","payment_intent":"payment_intent"}},"payout":{"list":"/v1/payouts","create":{"path":"/v1/payouts","encoding":"form","body":[{"name":"amount","type":"integer","required":true},{"name":"currency","type":"string","required":true},{"name":"description","type":"string","required":false},{"name":"destination","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"metadata","type":"object","required":false},{"name":"method","type":"string","required":false},{"name":"payout_method","type":"string","required":false},{"name":"source_type","type":"string","required":false},{"name":"statement_descriptor","type":"string","required":false}]},"actions":[],"states":{"status":["paid","pending"]},"embeds":{"balance_transaction":"balance_transaction","destination":"account"}},"balance_transaction":{"list":"/v1/balance_transactions","actions":[],"states":{"status":["available","pending"]},"embeds":{}},"coupon":{"list":"/v1/coupons","retrieve":"/v1/coupons/{coupon}","create":{"path":"/v1/coupons","encoding":"form","body":[{"name":"amount_off","type":"integer","required":false},{"name":"applies_to","type":"object","required":false},{"name":"currency","type":"string","required":false},{"name":"currency_options","type":"object","required":false},{"name":"duration","type":"string","required":false},{"name":"duration_in_months","type":"integer","required":false},{"name":"expand","type":"array","required":false},{"name":"id","type":"string","required":false},{"name":"max_redemptions","type":"integer","required":false},{"name":"metadata","type":"union","required":false},{"name":"name","type":"string","required":false},{"name":"percent_off","type":"number","required":false},{"name":"redeem_by","type":"integer","required":false}]},"actions":[],"states":{"valid":["false","true"]},"embeds":{}},"promotion_code":{"list":"/v1/promotion_codes","retrieve":"/v1/promotion_codes/{promotion_code}","create":{"path":"/v1/promotion_codes","encoding":"form","body":[{"name":"active","type":"boolean","required":false},{"name":"code","type":"string","required":false},{"name":"customer","type":"string","required":false},{"name":"customer_account","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"expires_at","type":"integer","required":false},{"name":"max_redemptions","type":"integer","required":false},{"name":"metadata","type":"object","required":false},{"name":"promotion","type":"object","required":true},{"name":"restrictions","type":"object","required":false}]},"actions":[{"operation":"PostPromotionCodesPromotionCode","method":"POST","path":"/v1/promotion_codes/{promotion_code}","field":"active","from":"*","to":"true"},{"operation":"PostPromotionCodesPromotionCode","method":"POST","path":"/v1/promotion_codes/{promotion_code}","field":"active","from":"*","to":"false"}],"states":{"active":["false","true"]},"embeds":{"coupon":"coupon"}},"subscription_schedule":{"list":"/v1/subscription_schedules","actions":[],"states":{"status":["active"]},"embeds":{"customer":"customer","subscription":"subscription"}},"entitlements.feature":{"list":"/v1/entitlements/features","actions":[],"states":{"active":["true"]},"embeds":{}},"event":{"list":"/v1/events","actions":[],"states":{},"embeds":{}},"webhook_endpoint":{"list":"/v1/webhook_endpoints","create":{"path":"/v1/webhook_endpoints","encoding":"form","body":[{"name":"api_version","type":"string","required":false},{"name":"connect","type":"boolean","required":false},{"name":"description","type":"union","required":false},{"name":"enabled_events","type":"array","required":true},{"name":"expand","type":"array","required":false},{"name":"metadata","type":"union","required":false},{"name":"url","type":"string","required":true}]},"actions":[],"states":{"status":["enabled"]},"embeds":{}},"account":{"list":"/v1/accounts","retrieve":"/v1/account","create":{"path":"/v1/accounts","encoding":"form","body":[{"name":"account_token","type":"string","required":false},{"name":"bank_account","type":"union","required":false},{"name":"business_profile","type":"object","required":false},{"name":"business_type","type":"string","required":false},{"name":"capabilities","type":"object","required":false},{"name":"company","type":"object","required":false},{"name":"controller","type":"object","required":false},{"name":"country","type":"string","required":false},{"name":"default_currency","type":"string","required":false},{"name":"documents","type":"object","required":false},{"name":"email","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"external_account","type":"string","required":false},{"name":"groups","type":"object","required":false},{"name":"individual","type":"object","required":false},{"name":"metadata","type":"union","required":false},{"name":"settings","type":"object","required":false},{"name":"tos_acceptance","type":"object","required":false},{"name":"type","type":"string","required":false}]},"actions":[],"states":{},"embeds":{"individual":"person"}},"person":{"list":"/v1/accounts/{account}/persons","actions":[],"states":{},"embeds":{}},"capability":{"actions":[],"states":{"status":["unrequested"]},"embeds":{}},"external_account":{"actions":[],"states":{"status":["new"]},"embeds":{}},"account_link":{"actions":[],"states":{},"embeds":{}},"account_session":{"actions":[],"states":{},"embeds":{}},"transfer":{"list":"/v1/transfers","create":{"path":"/v1/transfers","encoding":"form","body":[{"name":"amount","type":"integer","required":false},{"name":"currency","type":"string","required":true},{"name":"description","type":"string","required":false},{"name":"destination","type":"string","required":true},{"name":"expand","type":"array","required":false},{"name":"metadata","type":"object","required":false},{"name":"source_transaction","type":"string","required":false},{"name":"source_type","type":"string","required":false},{"name":"transfer_group","type":"string","required":false}]},"actions":[],"states":{},"embeds":{}},"transfer_reversal":{"list":"/v1/transfers/{id}/reversals","actions":[],"states":{},"embeds":{}},"application_fee":{"list":"/v1/application_fees","actions":[],"states":{"refunded":["false","true"]},"embeds":{}},"fee_refund":{"list":"/v1/application_fees/{id}/refunds","actions":[],"states":{},"embeds":{}},"apps.secret":{"retrieve":"/v1/apps/secrets/find","create":{"path":"/v1/apps/secrets","encoding":"form","body":[{"name":"expand","type":"array","required":false},{"name":"expires_at","type":"integer","required":false},{"name":"name","type":"string","required":true},{"name":"payload","type":"string","required":true},{"name":"scope","type":"object","required":true}]},"actions":[],"states":{},"embeds":{}},"billing_portal.session":{"actions":[],"states":{},"embeds":{}},"billing_portal.configuration":{"list":"/v1/billing_portal/configurations","create":{"path":"/v1/billing_portal/configurations","encoding":"form","body":[{"name":"business_profile","type":"object","required":false},{"name":"default_return_url","type":"union","required":false},{"name":"expand","type":"array","required":false},{"name":"features","type":"object","required":true},{"name":"login_page","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"name","type":"union","required":false}]},"actions":[],"states":{"active":["true"]},"embeds":{}},"tax.calculation":{"actions":[],"states":{},"embeds":{}},"tax.transaction":{"actions":[],"states":{},"embeds":{}},"review":{"list":"/v1/reviews","actions":[],"states":{"open":["true"]},"embeds":{}},"radar.value_list":{"list":"/v1/radar/value_lists","actions":[],"states":{},"embeds":{}},"radar.value_list_item":{"create":{"path":"/v1/radar/value_list_items","encoding":"form","body":[{"name":"expand","type":"array","required":false},{"name":"value","type":"string","required":true},{"name":"value_list","type":"string","required":true}]},"actions":[],"states":{},"embeds":{}},"issuing.cardholder":{"list":"/v1/issuing/cardholders","create":{"path":"/v1/issuing/cardholders","encoding":"form","body":[{"name":"billing","type":"object","required":true},{"name":"company","type":"object","required":false},{"name":"email","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"individual","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"name","type":"string","required":true},{"name":"phone_number","type":"string","required":false},{"name":"preferred_locales","type":"array","required":false},{"name":"spending_controls","type":"object","required":false},{"name":"status","type":"string","required":false},{"name":"type","type":"string","required":false}]},"actions":[],"states":{"status":["active"]},"embeds":{}},"issuing.card":{"list":"/v1/issuing/cards","retrieve":"/v1/issuing/cards/{card}","create":{"path":"/v1/issuing/cards","encoding":"form","body":[{"name":"cardholder","type":"string","required":false},{"name":"currency","type":"string","required":true},{"name":"exp_month","type":"integer","required":false},{"name":"exp_year","type":"integer","required":false},{"name":"expand","type":"array","required":false},{"name":"financial_account","type":"string","required":false},{"name":"lifecycle_controls","type":"object","required":false},{"name":"metadata","type":"object","required":false},{"name":"personalization_design","type":"string","required":false},{"name":"pin","type":"object","required":false},{"name":"replacement_for","type":"string","required":false},{"name":"replacement_reason","type":"string","required":false},{"name":"second_line","type":"union","required":false},{"name":"shipping","type":"object","required":false},{"name":"spending_controls","type":"object","required":false},{"name":"status","type":"string","required":false},{"name":"type","type":"string","required":true}]},"actions":[{"operation":"PostIssuingCardsCard","method":"POST","path":"/v1/issuing/cards/{card}","field":"status","from":"*","to":"active"},{"operation":"PostIssuingCardsCard","method":"POST","path":"/v1/issuing/cards/{card}","field":"status","from":"*","to":"inactive"},{"operation":"PostIssuingCardsCard","method":"POST","path":"/v1/issuing/cards/{card}","field":"status","from":"*","to":"canceled"}],"states":{"status":["active","canceled","inactive"]},"embeds":{"cardholder":"issuing.cardholder"}},"issuing.authorization":{"list":"/v1/issuing/authorizations","actions":[{"operation":"PostIssuingAuthorizationsAuthorizationApprove","method":"POST","path":"/v1/issuing/authorizations/{authorization}/approve","field":"status","from":["pending"]},{"operation":"PostIssuingAuthorizationsAuthorizationApprove","method":"POST","path":"/v1/issuing/authorizations/{authorization}/approve","field":"status","from":"*"},{"operation":"PostIssuingAuthorizationsAuthorizationDecline","method":"POST","path":"/v1/issuing/authorizations/{authorization}/decline","field":"status","from":["pending"],"to":"closed"},{"operation":"PostTestHelpersIssuingAuthorizationsAuthorizationCapture","method":"POST","path":"/v1/test_helpers/issuing/authorizations/{authorization}/capture","field":"status","from":["pending"],"to":"closed"},{"operation":"PostTestHelpersIssuingAuthorizationsAuthorizationCapture","method":"POST","path":"/v1/test_helpers/issuing/authorizations/{authorization}/capture","field":"status","from":["pending"]}],"states":{"status":["closed","pending"]},"embeds":{"card":"issuing.card","cardholder":"issuing.cardholder"}},"issuing.transaction":{"list":"/v1/issuing/transactions","actions":[],"states":{},"embeds":{}},"treasury.outbound_payment":{"actions":[],"states":{"status":["processing"]},"embeds":{}},"treasury.outbound_transfer":{"actions":[],"states":{"status":["processing"]},"embeds":{}},"treasury.inbound_transfer":{"actions":[],"states":{"status":["processing"]},"embeds":{}},"treasury.received_credit":{"actions":[],"states":{"status":["succeeded"]},"embeds":{}},"treasury.received_debit":{"actions":[],"states":{"status":["succeeded"]},"embeds":{}},"treasury.transaction":{"actions":[],"states":{"status":["open"]},"embeds":{}},"treasury.transaction_entry":{"actions":[],"states":{},"embeds":{}},"financial_connections.session":{"actions":[],"states":{},"embeds":{}},"financial_connections.transaction":{"actions":[],"states":{"status":["posted"]},"embeds":{}},"product":{"list":"/v1/products","create":{"path":"/v1/products","encoding":"form","body":[{"name":"active","type":"boolean","required":false},{"name":"default_price_data","type":"object","required":false},{"name":"description","type":"string","required":false},{"name":"expand","type":"array","required":false},{"name":"id","type":"string","required":false},{"name":"images","type":"array","required":false},{"name":"marketing_features","type":"array","required":false},{"name":"metadata","type":"object","required":false},{"name":"name","type":"string","required":true},{"name":"package_dimensions","type":"object","required":false},{"name":"shippable","type":"boolean","required":false},{"name":"statement_descriptor","type":"string","required":false},{"name":"tax_code","type":"string","required":false},{"name":"tax_details","type":"object","required":false},{"name":"unit_label","type":"string","required":false},{"name":"url","type":"string","required":false}]},"actions":[],"states":{"active":["true"]},"embeds":{}},"product_feature":{"list":"/v1/products/{product}/features","actions":[],"states":{},"embeds":{"entitlement_feature":"entitlements.feature"}},"price":{"list":"/v1/prices","retrieve":"/v1/prices/{price}","create":{"path":"/v1/prices","encoding":"form","body":[{"name":"active","type":"boolean","required":false},{"name":"billing_scheme","type":"string","required":false},{"name":"currency","type":"string","required":true},{"name":"currency_options","type":"object","required":false},{"name":"custom_unit_amount","type":"object","required":false},{"name":"expand","type":"array","required":false},{"name":"lookup_key","type":"string","required":false},{"name":"metadata","type":"object","required":false},{"name":"nickname","type":"string","required":false},{"name":"product","type":"string","required":false},{"name":"product_data","type":"object","required":false},{"name":"recurring","type":"object","required":false},{"name":"tax_behavior","type":"string","required":false},{"name":"tiers","type":"array","required":false},{"name":"tiers_mode","type":"string","required":false},{"name":"transfer_lookup_key","type":"boolean","required":false},{"name":"transform_quantity","type":"object","required":false},{"name":"unit_amount","type":"integer","required":false},{"name":"unit_amount_decimal","type":"string","required":false}]},"actions":[],"states":{"active":["true"]},"embeds":{"product":"product"}}}}
|
package/dist/src/manifest.js
CHANGED
|
@@ -84,7 +84,6 @@ export const manifest = {
|
|
|
84
84
|
'GetLinkedAccounts',
|
|
85
85
|
'GetLinkedAccountsAccount',
|
|
86
86
|
'GetMandatesMandate',
|
|
87
|
-
'GetPaymentIntentsIntent',
|
|
88
87
|
'GetPaymentIntentsSearch',
|
|
89
88
|
'GetPaymentLinksPaymentLink',
|
|
90
89
|
'GetPayoutsPayout',
|
|
@@ -359,7 +358,7 @@ export const manifest = {
|
|
|
359
358
|
hosts: [
|
|
360
359
|
{ host: 'api.stripe.com' }, { host: 'checkout.stripe.com', pathPattern: '^/c/pay/' }, { host: 'billing.stripe.com', pathPattern: '^/p/session/' },
|
|
361
360
|
{ host: 'connect.stripe.com', pathPattern: '^/setup/' },
|
|
362
|
-
{ host: 'dashboard.stripe.com', pathPattern: '^/radar/lists(?:/[^/]+)?/?$|^/test/issuing/balance/?$|^/settings/public/?$' },
|
|
361
|
+
{ host: 'dashboard.stripe.com', pathPattern: '^/customers(?:/[^/]+)?/?$|^/radar/lists(?:/[^/]+)?/?$|^/test/issuing/balance/?$|^/settings/public/?$' },
|
|
363
362
|
{ host: 'verify.stripe.com', pathPattern: '^/start/' },
|
|
364
363
|
{ host: 'js.stripe.com', pathPattern: '^/v3/?$|^/(v3|[a-z]+)/stripe\\.js$' },
|
|
365
364
|
],
|
|
@@ -405,8 +404,8 @@ export const manifest = {
|
|
|
405
404
|
},
|
|
406
405
|
{
|
|
407
406
|
id: 'dashboard', kind: 'workspace', host: 'dashboard.stripe.com', path: '/', status: 'done',
|
|
408
|
-
demand: '
|
|
409
|
-
controls: ['Business name', 'Save', 'New list', 'Name', 'Alias', 'List type', 'Add', 'Add test funds', 'Amount'], source: 'https://docs.stripe.com/dashboard/basics',
|
|
407
|
+
demand: 'World first-use customer inspection (twin-world/docs/contributing/first-use.md); operator setup: Public details; Radar lists for Dub add-to-stripe-fraud-value-lists.ts:3-7; sandbox funding for Open Autonomy world/model/scenario.ts:60,62',
|
|
408
|
+
controls: ['Customers', 'Search customers', 'Search', 'Business name', 'Save', 'New list', 'Name', 'Alias', 'List type', 'Add', 'Add test funds', 'Amount'], source: 'https://docs.stripe.com/dashboard/basics',
|
|
410
409
|
},
|
|
411
410
|
],
|
|
412
411
|
resources: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HandlerContext } from '@volter/world-core';
|
|
2
|
-
/** Dashboard settings, Radar
|
|
2
|
+
/** Dashboard customer inspection, settings, Radar lists and test Issuing funding. */
|
|
3
3
|
export declare function screen(ctx: HandlerContext): Promise<Response>;
|