@stacksjs/payments 0.58.72 → 0.59.1

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 CHANGED
@@ -53,7 +53,6 @@ For casual chit-chat with others using this package:
53
53
 
54
54
  Many thanks to the following core technologies & people who have contributed to this package:
55
55
 
56
- - [pathe](https://github.com/unjs/pathe)
57
56
  - [Chris Breuer](https://github.com/chrisbbreuer)
58
57
  - [All Contributors](../../contributors)
59
58
 
@@ -0,0 +1,35 @@
1
+ import Stripe from 'stripe';
2
+ export declare const paymentIntent: {
3
+ create: (params: Stripe.PaymentIntentCreateParams) => Promise<Stripe.Response<Stripe.PaymentIntent>>;
4
+ retrieve: (stripeId: string) => Promise<Stripe.Response<Stripe.PaymentIntent>>;
5
+ update: (stripeId: string, params: Stripe.PaymentIntentCreateParams) => Promise<Stripe.Response<Stripe.PaymentIntent>>;
6
+ cancel: (stripeId: string) => Promise<Stripe.Response<Stripe.PaymentIntent>>;
7
+ };
8
+ export declare const balance: {
9
+ retrieve: () => Promise<Stripe.Response<Stripe.Balance>>;
10
+ };
11
+ export declare const customer: {
12
+ create: (params: Stripe.CustomerCreateParams) => Promise<Stripe.Response<Stripe.Customer>>;
13
+ update: (stripeId: string, params: Stripe.CustomerCreateParams) => Promise<Stripe.Response<Stripe.Customer>>;
14
+ retrieve: (stripeId: string) => Promise<Stripe.Response<Stripe.Customer | Stripe.DeletedCustomer>>;
15
+ };
16
+ export declare const charge: {
17
+ create: (params: Stripe.ChargeCreateParams) => Promise<Stripe.Response<Stripe.Charge>>;
18
+ update: (stripeId: string, params: Stripe.ChargeCreateParams) => Promise<Stripe.Response<Stripe.Charge>>;
19
+ retrieve: (stripeId: string) => Promise<Stripe.Response<Stripe.Charge>>;
20
+ capture: (stripeId: string) => Promise<Stripe.Response<Stripe.Charge>>;
21
+ };
22
+ export declare const balanceTransactions: {
23
+ retrieve: (stripeId: string) => Promise<void>;
24
+ list: (limit: number) => Promise<void>;
25
+ };
26
+ export declare const dispute: {
27
+ retrieve: (stripeId: string) => Promise<Stripe.Response<Stripe.Dispute>>;
28
+ update: (stripeId: string, params: Stripe.DisputeUpdateParams) => Promise<Stripe.Response<Stripe.Dispute>>;
29
+ close: (stripeId: string) => Promise<Stripe.Response<Stripe.Dispute>>;
30
+ list: (limit: number) => Promise<Stripe.Response<Stripe.ApiList<Stripe.Dispute>>>;
31
+ };
32
+ export declare const events: {
33
+ retrieve: (stripeId: string) => Promise<void>;
34
+ list: (limit: number) => Promise<void>;
35
+ };
@@ -0,0 +1 @@
1
+ export * as stripe from './drivers/stripe';