@crvouga/mockingbird-service-stripe 1.12.1 → 2.0.0
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 +38 -0
- package/DISCOVERY.md +55 -0
- package/README.md +3 -3
- package/SUPPORT.md +135 -0
- package/dist/chunk-CSZPUM2F.js +877 -0
- package/dist/chunk-CSZPUM2F.js.map +7 -0
- package/dist/{chunk-KRP5BJPJ.js → chunk-TMUIBZLT.js} +825 -260
- package/dist/chunk-TMUIBZLT.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +38 -6
- package/dist/index.js +1 -1
- package/dist/server.d.ts +68 -6
- package/dist/server.js +2 -2
- package/openapi.yaml +62036 -0
- package/package.json +28 -3
- package/dist/chunk-KRP5BJPJ.js.map +0 -7
- package/dist/chunk-VKC5HKFL.js +0 -390
- package/dist/chunk-VKC5HKFL.js.map +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-stripe
|
|
2
2
|
|
|
3
|
+
## 2.0.0 (2026-10-04)
|
|
4
|
+
|
|
5
|
+
### ⚠️ Breaking changes
|
|
6
|
+
|
|
7
|
+
- isolate internal routes ([5e19b21](https://github.com/crvouga/mockingbird/commit/5e19b21d403acc74b04778a8b545e80bcbdf8d51))
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- add route filtering ([4e59b1d](https://github.com/crvouga/mockingbird/commit/4e59b1d42a76550f844b744f8431a637433a0781))
|
|
12
|
+
- publish agent package indexes ([eca61d3](https://github.com/crvouga/mockingbird/commit/eca61d358b86982cf0b777ae8bd7feaa3663aaa6))
|
|
13
|
+
|
|
14
|
+
### Fixes and improvements
|
|
15
|
+
|
|
16
|
+
- clarify runtime prefix options ([f899a78](https://github.com/crvouga/mockingbird/commit/f899a7891f29413e4f08e9534d0c977f16acf7d7))
|
|
17
|
+
- honor configured prefixes ([4f569d7](https://github.com/crvouga/mockingbird/commit/4f569d74ca8089f2ed5e33a1abf32b90973f41dd))
|
|
18
|
+
- explain configurable internal paths ([21b47ae](https://github.com/crvouga/mockingbird/commit/21b47ae4d4a096cdf63189aaeaf721ccb369bcf3))
|
|
19
|
+
- parse ISO journal timestamps ([20b39a2](https://github.com/crvouga/mockingbird/commit/20b39a2c738e278533d610dfc91f1cb3ae9b3f1e))
|
|
20
|
+
- harden shared controls ([7822614](https://github.com/crvouga/mockingbird/commit/7822614f6cba0387aeb60ba7320b0379aa1ef690))
|
|
21
|
+
|
|
22
|
+
### Dependencies
|
|
23
|
+
|
|
24
|
+
- `@crvouga/mockingbird-service-sqlite`
|
|
25
|
+
|
|
26
|
+
## 1.13.0 (2026-10-01)
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- coordinate HTTP and protocol mocks ([3168653](https://github.com/crvouga/mockingbird/commit/31686534c55a9823fdaa92afc9cc456cf741b809))
|
|
31
|
+
|
|
32
|
+
### Fixes and improvements
|
|
33
|
+
|
|
34
|
+
- decouple smoke types from built packages ([a4b31c6](https://github.com/crvouga/mockingbird/commit/a4b31c6205d92aa0c6f7c9de3518d5ae44d38829))
|
|
35
|
+
- protect child admin endpoints ([5410b94](https://github.com/crvouga/mockingbird/commit/5410b948a30dcedc21e9a70e44fd415c1ea25394))
|
|
36
|
+
- harden protocol startup and state ([6f5b557](https://github.com/crvouga/mockingbird/commit/6f5b557e87b48b31985949e04f3b5ef58f51d295))
|
|
37
|
+
- preserve checkpoints and lifecycle ([50e8c32](https://github.com/crvouga/mockingbird/commit/50e8c322feded2f7f45afce9d8cdef43c37ab9ab))
|
|
38
|
+
- clean branch state on reset ([3b714d4](https://github.com/crvouga/mockingbird/commit/3b714d4a5df8e75fee0bb31e98d7c7566e164381))
|
|
39
|
+
- type signal listener cleanup ([5279852](https://github.com/crvouga/mockingbird/commit/5279852e56ea60262ccf17aa6e46b3c31091a34a))
|
|
40
|
+
|
|
3
41
|
## 1.12.1 (2026-10-01)
|
|
4
42
|
|
|
5
43
|
### Fixes and improvements
|
package/DISCOVERY.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @crvouga/mockingbird-service-stripe discovery
|
|
2
|
+
|
|
3
|
+
This is the installed-package index for coding agents and tooling. All relative links resolve
|
|
4
|
+
inside `node_modules/@crvouga/mockingbird-service-stripe/`; no repository checkout is needed to discover the mock's
|
|
5
|
+
supported surface or documented behavior.
|
|
6
|
+
|
|
7
|
+
## Capability and behavior sources
|
|
8
|
+
|
|
9
|
+
| Question | Authoritative file | What it contains |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| Behaviour and integration | [`README.md`](README.md) | Routes, state transitions, auth, webhooks, controls, presets and deliberate omissions. |
|
|
12
|
+
| Exact capabilities | [`SUPPORT.md`](SUPPORT.md) | Supported, unsupported and parity-covered operations or commands, including reasons for gaps. |
|
|
13
|
+
| Wire contract | [`openapi.yaml`](openapi.yaml) | Machine-readable paths, methods, schemas, responses and parity annotations. |
|
|
14
|
+
| Public API | [`dist/index.d.ts`](dist/index.d.ts) | The installed package's exact TypeScript exports and signatures. |
|
|
15
|
+
| Package metadata | [`package.json`](package.json) | Runtime/entry-point claims, vendor links, parity scope/tier and `mockingbird.discovery`. |
|
|
16
|
+
|
|
17
|
+
Read these together: the contract/capability matrix says *what* is available, while the README
|
|
18
|
+
defines stateful behavior, lifecycle rules, test controls, and intentional oracle differences.
|
|
19
|
+
If prose and an executable surface disagree, report a parity mismatch instead of adding a
|
|
20
|
+
consumer-side workaround.
|
|
21
|
+
|
|
22
|
+
## Parity and oracle
|
|
23
|
+
|
|
24
|
+
- Declared parity surface: **Payments, billing, and webhooks**.
|
|
25
|
+
- Parity tier: **cold** (the repository controls when live checks run).
|
|
26
|
+
- Oracle: **Live vendor API or sandbox**.
|
|
27
|
+
- Repository command: `bun run parity:service -- stripe`.
|
|
28
|
+
- Evidence model: Run from a Mockingbird checkout; credentials come only from .env.local or GitHub Actions secrets. Missing credentials exit 2.
|
|
29
|
+
|
|
30
|
+
The npm package contains evidence summaries and the exact contract, not credentials or the
|
|
31
|
+
repository-only parity harness. Self-parity/property and acceptance tests run in the Mockingbird
|
|
32
|
+
repository; live parity is an additional oracle check, not a substitute for the packaged matrix.
|
|
33
|
+
|
|
34
|
+
## Runtime introspection
|
|
35
|
+
|
|
36
|
+
- `GET /__admin/health`
|
|
37
|
+
- `GET /__admin`
|
|
38
|
+
- `GET /__admin/state`
|
|
39
|
+
- `GET /__admin/requests`
|
|
40
|
+
- `GET /__admin/metrics`
|
|
41
|
+
- `GET /__admin/faults/presets`
|
|
42
|
+
- `GET /__admin/ui`
|
|
43
|
+
|
|
44
|
+
For HTTP services, use `x-mockingbird-namespace` (or the documented credential/path carrier) so
|
|
45
|
+
parallel tests do not share state. Admin state, journal, metrics and fault-preset endpoints are
|
|
46
|
+
designed for assertions and diagnosis by consuming test suites.
|
|
47
|
+
|
|
48
|
+
## Report a mismatch or missing capability
|
|
49
|
+
|
|
50
|
+
Follow the [agent reporting contract](https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md). Include package version,
|
|
51
|
+
operation/command, a minimal redacted request, actual mock result, expected oracle result or vendor
|
|
52
|
+
documentation, and whether the mismatch appears in the matrix. Never include keys, tokens,
|
|
53
|
+
customer data, prompts, PHI, card data, or unredacted recordings.
|
|
54
|
+
|
|
55
|
+
Service key: `stripe`.
|
package/README.md
CHANGED
|
@@ -100,9 +100,9 @@ State is partitioned by **account**, and the account is chosen by API key:
|
|
|
100
100
|
(see Lifecycles and the clock); unset fields use `createRuntime({lifecycle: {paymentRetries}})`.
|
|
101
101
|
|
|
102
102
|
**Namespaces** isolate parallel workers; each namespace has its own copy of every account. Carriers:
|
|
103
|
-
the `x-mockingbird-namespace` header, the `/ns/<namespace>/…` path prefix, or **by API key**:
|
|
103
|
+
the `x-mockingbird-namespace` header, the `/__admin/ns/<namespace>/…` path prefix, or **by API key**:
|
|
104
104
|
`PUT /__admin/credentials {"credentials": {"sk_test_worker1": "w1"}}` (stripe-node cannot add
|
|
105
|
-
headers). Hosted-page URLs carry the `/ns/<namespace>` prefix so the browser lands in the same one.
|
|
105
|
+
headers). Hosted-page URLs carry the `/__admin/ns/<namespace>` prefix so the browser lands in the same one.
|
|
106
106
|
|
|
107
107
|
### API versions
|
|
108
108
|
|
|
@@ -337,7 +337,7 @@ hides objects younger than 60 s — search is consistent otherwise), `webhook_du
|
|
|
337
337
|
{payment_intent|charge, reason?, amount?}` (emits `charge.dispute.created`),
|
|
338
338
|
`POST /__admin/checkout/sessions/:id/complete|expire|async_payment_succeeded`,
|
|
339
339
|
`POST /__admin/setup_intents/:id/succeed`, `GET /__admin/charges/:id`, `POST /__admin/tick`. The
|
|
340
|
-
standard ones (`/health`, reset, snapshots, clock, faults, metrics, `GET /__admin/requests`,
|
|
340
|
+
standard ones (`/__admin/health`, reset, snapshots, clock, faults, metrics, `GET /__admin/requests`,
|
|
341
341
|
credentials, webhooks) come from the shared runtime. The journal records operation, status and ids
|
|
342
342
|
only — never bodies, card numbers or emails.
|
|
343
343
|
|
package/SUPPORT.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# Stripe API (Mockingbird subset) — operation support
|
|
2
|
+
|
|
3
|
+
Generated from `openapi.yaml`; do not edit by hand.
|
|
4
|
+
|
|
5
|
+
- operations in spec: **125**
|
|
6
|
+
- supported by the mock: **121**
|
|
7
|
+
- parity enabled: **114**
|
|
8
|
+
|
|
9
|
+
| operationId | route | mock | parity | notes |
|
|
10
|
+
| --- | --- | --- | --- | --- |
|
|
11
|
+
| `PostThreeDSecureAuthenticate` | `POST /c/3ds/{intent}/authenticate` | ✅ supported | ❌ disabled | the 3-D Secure challenge the Stripe.js stand-in completes has no public API |
|
|
12
|
+
| `GetCheckoutPage` | `GET /c/pay/{session}` | ✅ supported | ❌ disabled | the hosted Checkout page is HTML served by the mock in place of checkout.stripe.com |
|
|
13
|
+
| `PostCheckoutPage` | `POST /c/pay/{session}` | ✅ supported | ❌ disabled | the hosted Checkout page form post is served by the mock in place of checkout.stripe.com |
|
|
14
|
+
| `GetPortalPage` | `GET /p/session/{session}` | ✅ supported | ❌ disabled | the customer portal is HTML served by the mock in place of billing.stripe.com |
|
|
15
|
+
| `PostPortalPage` | `POST /p/session/{session}` | ✅ supported | ❌ disabled | the customer portal form post is served by the mock in place of billing.stripe.com |
|
|
16
|
+
| `GetAccount` | `GET /v1/account` | ✅ supported | ✅ | |
|
|
17
|
+
| `GetBalance` | `GET /v1/balance` | ✅ supported | ✅ | |
|
|
18
|
+
| `GetBalanceTransactions` | `GET /v1/balance_transactions` | ✅ supported | ✅ | |
|
|
19
|
+
| `GetBalanceTransactionsId` | `GET /v1/balance_transactions/{id}` | ✅ supported | ✅ | |
|
|
20
|
+
| `GetBillingPortalConfigurations` | `GET /v1/billing_portal/configurations` | ✅ supported | ✅ | |
|
|
21
|
+
| `PostBillingPortalConfigurations` | `POST /v1/billing_portal/configurations` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
22
|
+
| `GetBillingPortalConfigurationsConfiguration` | `GET /v1/billing_portal/configurations/{configuration}` | ✅ supported | ✅ | |
|
|
23
|
+
| `PostBillingPortalConfigurationsConfiguration` | `POST /v1/billing_portal/configurations/{configuration}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
24
|
+
| `PostBillingPortalSessions` | `POST /v1/billing_portal/sessions` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
25
|
+
| `GetCharges` | `GET /v1/charges` | ✅ supported | ✅ | |
|
|
26
|
+
| `PostCharges` | `POST /v1/charges` | ❌ unsupported | — | charges are always created through PaymentIntents |
|
|
27
|
+
| `GetChargesCharge` | `GET /v1/charges/{charge}` | ✅ supported | ✅ | |
|
|
28
|
+
| `PostChargesCharge` | `POST /v1/charges/{charge}` | ❌ unsupported | — | charges are only read in the e2e path |
|
|
29
|
+
| `GetCheckoutSessions` | `GET /v1/checkout/sessions` | ✅ supported | ✅ | |
|
|
30
|
+
| `PostCheckoutSessions` | `POST /v1/checkout/sessions` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
31
|
+
| `GetCheckoutSessionsSession` | `GET /v1/checkout/sessions/{session}` | ✅ supported | ✅ | |
|
|
32
|
+
| `PostCheckoutSessionsSession` | `POST /v1/checkout/sessions/{session}` | ❌ unsupported | — | sessions complete through their payment intent, never by update |
|
|
33
|
+
| `PostCheckoutSessionsSessionExpire` | `POST /v1/checkout/sessions/{session}/expire` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
34
|
+
| `GetCheckoutSessionsSessionLineItems` | `GET /v1/checkout/sessions/{session}/line_items` | ✅ supported | ✅ | |
|
|
35
|
+
| `GetCoupons` | `GET /v1/coupons` | ✅ supported | ✅ | |
|
|
36
|
+
| `PostCoupons` | `POST /v1/coupons` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
37
|
+
| `GetCouponsCoupon` | `GET /v1/coupons/{coupon}` | ✅ supported | ✅ | |
|
|
38
|
+
| `PostCouponsCoupon` | `POST /v1/coupons/{coupon}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
39
|
+
| `DeleteCouponsCoupon` | `DELETE /v1/coupons/{coupon}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
40
|
+
| `GetCustomers` | `GET /v1/customers` | ✅ supported | ✅ | |
|
|
41
|
+
| `PostCustomers` | `POST /v1/customers` | ✅ supported | ✅ | |
|
|
42
|
+
| `GetCustomersCustomer` | `GET /v1/customers/{customer}` | ✅ supported | ✅ | |
|
|
43
|
+
| `PostCustomersCustomer` | `POST /v1/customers/{customer}` | ✅ supported | ✅ | |
|
|
44
|
+
| `DeleteCustomersCustomer` | `DELETE /v1/customers/{customer}` | ✅ supported | ✅ | |
|
|
45
|
+
| `GetCustomersCustomerBalanceTransactions` | `GET /v1/customers/{customer}/balance_transactions` | ✅ supported | ✅ | |
|
|
46
|
+
| `PostCustomersCustomerBalanceTransactions` | `POST /v1/customers/{customer}/balance_transactions` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
47
|
+
| `GetCustomersSearch` | `GET /v1/customers/search` | ✅ supported | ✅ | |
|
|
48
|
+
| `GetDisputes` | `GET /v1/disputes` | ✅ supported | ✅ | |
|
|
49
|
+
| `GetDisputesDispute` | `GET /v1/disputes/{dispute}` | ✅ supported | ✅ | |
|
|
50
|
+
| `PostDisputesDispute` | `POST /v1/disputes/{dispute}` | ❌ unsupported | — | the mock never creates or mutates disputes |
|
|
51
|
+
| `GetEvents` | `GET /v1/events` | ✅ supported | ✅ | |
|
|
52
|
+
| `GetEventsId` | `GET /v1/events/{id}` | ✅ supported | ✅ | |
|
|
53
|
+
| `GetInvoicePayments` | `GET /v1/invoice_payments` | ✅ supported | ✅ | |
|
|
54
|
+
| `GetInvoicePaymentsInvoicePayment` | `GET /v1/invoice_payments/{invoice_payment}` | ✅ supported | ✅ | |
|
|
55
|
+
| `GetInvoiceitems` | `GET /v1/invoiceitems` | ✅ supported | ✅ | |
|
|
56
|
+
| `PostInvoiceitems` | `POST /v1/invoiceitems` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
57
|
+
| `GetInvoiceitemsInvoiceitem` | `GET /v1/invoiceitems/{invoiceitem}` | ✅ supported | ✅ | |
|
|
58
|
+
| `PostInvoiceitemsInvoiceitem` | `POST /v1/invoiceitems/{invoiceitem}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
59
|
+
| `DeleteInvoiceitemsInvoiceitem` | `DELETE /v1/invoiceitems/{invoiceitem}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
60
|
+
| `GetInvoices` | `GET /v1/invoices` | ✅ supported | ✅ | |
|
|
61
|
+
| `PostInvoices` | `POST /v1/invoices` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
62
|
+
| `GetInvoicesInvoice` | `GET /v1/invoices/{invoice}` | ✅ supported | ✅ | |
|
|
63
|
+
| `PostInvoicesInvoice` | `POST /v1/invoices/{invoice}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
64
|
+
| `DeleteInvoicesInvoice` | `DELETE /v1/invoices/{invoice}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
65
|
+
| `PostInvoicesInvoiceFinalize` | `POST /v1/invoices/{invoice}/finalize` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
66
|
+
| `GetInvoicesInvoiceLines` | `GET /v1/invoices/{invoice}/lines` | ✅ supported | ✅ | |
|
|
67
|
+
| `PostInvoicesInvoicePay` | `POST /v1/invoices/{invoice}/pay` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
68
|
+
| `PostInvoicesInvoiceVoid` | `POST /v1/invoices/{invoice}/void` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
69
|
+
| `GetInvoicesUpcoming` | `GET /v1/invoices/upcoming` | ✅ supported | ❌ disabled | route is absent from the pinned upstream spec (2026-08-26.dahlia previews invoices instead); the e2e SDK still calls it |
|
|
70
|
+
| `GetPaymentIntents` | `GET /v1/payment_intents` | ✅ supported | ✅ | |
|
|
71
|
+
| `PostPaymentIntents` | `POST /v1/payment_intents` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
72
|
+
| `GetPaymentIntentsIntent` | `GET /v1/payment_intents/{intent}` | ✅ supported | ✅ | |
|
|
73
|
+
| `PostPaymentIntentsIntent` | `POST /v1/payment_intents/{intent}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
74
|
+
| `PostPaymentIntentsIntentCancel` | `POST /v1/payment_intents/{intent}/cancel` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
75
|
+
| `PostPaymentIntentsIntentCapture` | `POST /v1/payment_intents/{intent}/capture` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
76
|
+
| `PostPaymentIntentsIntentConfirm` | `POST /v1/payment_intents/{intent}/confirm` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
77
|
+
| `GetPaymentIntentsSearch` | `GET /v1/payment_intents/search` | ✅ supported | ✅ | |
|
|
78
|
+
| `GetPaymentMethods` | `GET /v1/payment_methods` | ✅ supported | ✅ | |
|
|
79
|
+
| `PostPaymentMethods` | `POST /v1/payment_methods` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
80
|
+
| `GetPaymentMethodsPaymentMethod` | `GET /v1/payment_methods/{payment_method}` | ✅ supported | ✅ | |
|
|
81
|
+
| `PostPaymentMethodsPaymentMethod` | `POST /v1/payment_methods/{payment_method}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
82
|
+
| `PostPaymentMethodsPaymentMethodAttach` | `POST /v1/payment_methods/{payment_method}/attach` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
83
|
+
| `PostPaymentMethodsPaymentMethodDetach` | `POST /v1/payment_methods/{payment_method}/detach` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
84
|
+
| `GetPrices` | `GET /v1/prices` | ✅ supported | ✅ | |
|
|
85
|
+
| `PostPrices` | `POST /v1/prices` | ✅ supported | ✅ | |
|
|
86
|
+
| `GetPricesPrice` | `GET /v1/prices/{price}` | ✅ supported | ✅ | |
|
|
87
|
+
| `PostPricesPrice` | `POST /v1/prices/{price}` | ✅ supported | ✅ | |
|
|
88
|
+
| `GetProducts` | `GET /v1/products` | ✅ supported | ✅ | |
|
|
89
|
+
| `PostProducts` | `POST /v1/products` | ✅ supported | ✅ | |
|
|
90
|
+
| `GetProductsId` | `GET /v1/products/{id}` | ✅ supported | ✅ | |
|
|
91
|
+
| `PostProductsId` | `POST /v1/products/{id}` | ✅ supported | ✅ | |
|
|
92
|
+
| `DeleteProductsId` | `DELETE /v1/products/{id}` | ✅ supported | ✅ | |
|
|
93
|
+
| `GetProductsSearch` | `GET /v1/products/search` | ✅ supported | ✅ | |
|
|
94
|
+
| `GetPromotionCodes` | `GET /v1/promotion_codes` | ✅ supported | ✅ | |
|
|
95
|
+
| `PostPromotionCodes` | `POST /v1/promotion_codes` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
96
|
+
| `GetPromotionCodesPromotionCode` | `GET /v1/promotion_codes/{promotion_code}` | ✅ supported | ✅ | |
|
|
97
|
+
| `PostPromotionCodesPromotionCode` | `POST /v1/promotion_codes/{promotion_code}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
98
|
+
| `GetRefunds` | `GET /v1/refunds` | ✅ supported | ✅ | |
|
|
99
|
+
| `PostRefunds` | `POST /v1/refunds` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
100
|
+
| `GetRefundsRefund` | `GET /v1/refunds/{refund}` | ✅ supported | ✅ | |
|
|
101
|
+
| `PostRefundsRefund` | `POST /v1/refunds/{refund}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
102
|
+
| `GetSetupIntents` | `GET /v1/setup_intents` | ✅ supported | ✅ | |
|
|
103
|
+
| `PostSetupIntents` | `POST /v1/setup_intents` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
104
|
+
| `GetSetupIntentsIntent` | `GET /v1/setup_intents/{intent}` | ✅ supported | ✅ | |
|
|
105
|
+
| `PostSetupIntentsIntent` | `POST /v1/setup_intents/{intent}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
106
|
+
| `PostSetupIntentsIntentCancel` | `POST /v1/setup_intents/{intent}/cancel` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
107
|
+
| `PostSetupIntentsIntentConfirm` | `POST /v1/setup_intents/{intent}/confirm` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
108
|
+
| `GetSubscriptionItems` | `GET /v1/subscription_items` | ✅ supported | ✅ | |
|
|
109
|
+
| `PostSubscriptionItems` | `POST /v1/subscription_items` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
110
|
+
| `GetSubscriptionItemsItem` | `GET /v1/subscription_items/{item}` | ✅ supported | ✅ | |
|
|
111
|
+
| `PostSubscriptionItemsItem` | `POST /v1/subscription_items/{item}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
112
|
+
| `DeleteSubscriptionItemsItem` | `DELETE /v1/subscription_items/{item}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
113
|
+
| `GetSubscriptionSchedules` | `GET /v1/subscription_schedules` | ✅ supported | ✅ | |
|
|
114
|
+
| `PostSubscriptionSchedules` | `POST /v1/subscription_schedules` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
115
|
+
| `GetSubscriptionSchedulesSchedule` | `GET /v1/subscription_schedules/{schedule}` | ✅ supported | ✅ | |
|
|
116
|
+
| `PostSubscriptionSchedulesSchedule` | `POST /v1/subscription_schedules/{schedule}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
117
|
+
| `PostSubscriptionSchedulesScheduleCancel` | `POST /v1/subscription_schedules/{schedule}/cancel` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
118
|
+
| `PostSubscriptionSchedulesScheduleRelease` | `POST /v1/subscription_schedules/{schedule}/release` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
119
|
+
| `GetSubscriptions` | `GET /v1/subscriptions` | ✅ supported | ✅ | |
|
|
120
|
+
| `PostSubscriptions` | `POST /v1/subscriptions` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
121
|
+
| `GetSubscriptionsSubscriptionExposedId` | `GET /v1/subscriptions/{subscription_exposed_id}` | ✅ supported | ✅ | |
|
|
122
|
+
| `PostSubscriptionsSubscriptionExposedId` | `POST /v1/subscriptions/{subscription_exposed_id}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
123
|
+
| `DeleteSubscriptionsSubscriptionExposedId` | `DELETE /v1/subscriptions/{subscription_exposed_id}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
124
|
+
| `PostSubscriptionsSubscriptionResume` | `POST /v1/subscriptions/{subscription}/resume` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
125
|
+
| `GetTestHelpersTestClocks` | `GET /v1/test_helpers/test_clocks` | ✅ supported | ✅ | |
|
|
126
|
+
| `PostTestHelpersTestClocks` | `POST /v1/test_helpers/test_clocks` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
127
|
+
| `GetTestHelpersTestClocksTestClock` | `GET /v1/test_helpers/test_clocks/{test_clock}` | ✅ supported | ✅ | |
|
|
128
|
+
| `DeleteTestHelpersTestClocksTestClock` | `DELETE /v1/test_helpers/test_clocks/{test_clock}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
129
|
+
| `PostTestHelpersTestClocksTestClockAdvance` | `POST /v1/test_helpers/test_clocks/{test_clock}/advance` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
130
|
+
| `GetWebhookEndpoints` | `GET /v1/webhook_endpoints` | ✅ supported | ✅ | |
|
|
131
|
+
| `PostWebhookEndpoints` | `POST /v1/webhook_endpoints` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
132
|
+
| `GetWebhookEndpointsWebhookEndpoint` | `GET /v1/webhook_endpoints/{webhook_endpoint}` | ✅ supported | ✅ | |
|
|
133
|
+
| `PostWebhookEndpointsWebhookEndpoint` | `POST /v1/webhook_endpoints/{webhook_endpoint}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
134
|
+
| `DeleteWebhookEndpointsWebhookEndpoint` | `DELETE /v1/webhook_endpoints/{webhook_endpoint}` | ✅ supported | ⚠️ unsafe (opt-in) | |
|
|
135
|
+
| `GetStripeJs` | `GET /v3` | ✅ supported | ❌ disabled | the Stripe.js stand-in is JavaScript served by the mock in place of js.stripe.com/v3 |
|