@kumbify/sdk 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,6 +52,7 @@ export interface IProduct {
|
|
|
52
52
|
*/
|
|
53
53
|
export type StripeCurrencies = "USD" | "EUR";
|
|
54
54
|
export interface IMakeStripePaymentParams {
|
|
55
|
+
amount: number;
|
|
55
56
|
transactionId: string;
|
|
56
57
|
customer: {
|
|
57
58
|
email: string;
|
|
@@ -62,7 +63,7 @@ export interface IMakeStripePaymentParams {
|
|
|
62
63
|
success_url?: string;
|
|
63
64
|
cancel_url?: string;
|
|
64
65
|
};
|
|
65
|
-
|
|
66
|
+
stripeCurrency: StripeCurrencies;
|
|
66
67
|
}
|
|
67
68
|
export interface IMakeStripePaymentResponse {
|
|
68
69
|
url: string;
|
|
@@ -72,14 +73,15 @@ export interface IMakeStripePaymentResponse {
|
|
|
72
73
|
*/
|
|
73
74
|
type CryptoCurrencies = "USDC" | "ETH" | "BTC" | "USDT";
|
|
74
75
|
export interface IMakeCryptoPaymentParams {
|
|
76
|
+
amount: number;
|
|
75
77
|
transactionId: string;
|
|
76
78
|
customer: {
|
|
77
|
-
email
|
|
78
|
-
name
|
|
79
|
-
phone
|
|
79
|
+
email?: string;
|
|
80
|
+
name?: string;
|
|
81
|
+
phone?: string;
|
|
80
82
|
};
|
|
81
83
|
products: IProduct[];
|
|
82
|
-
|
|
84
|
+
cryptoCurrency: CryptoCurrencies;
|
|
83
85
|
}
|
|
84
86
|
export interface IMakeCryptoPaymentResponse {
|
|
85
87
|
address: string;
|
package/package.json
CHANGED