@platfformx/proto-contracts 1.4.1 → 1.4.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.
|
@@ -23,7 +23,7 @@ export interface CreatePaymentMethodRequest {
|
|
|
23
23
|
userId: string;
|
|
24
24
|
}
|
|
25
25
|
export interface CreatePaymentMethodResponse {
|
|
26
|
-
|
|
26
|
+
setupIntent: string;
|
|
27
27
|
clientSecret: string;
|
|
28
28
|
}
|
|
29
29
|
export interface GetUserPaymentMethodsRequest {
|
|
@@ -41,6 +41,7 @@ export interface PaymentInfo {
|
|
|
41
41
|
}
|
|
42
42
|
export interface DeletePaymentMethodRequest {
|
|
43
43
|
paymentMethodId: string;
|
|
44
|
+
userId: string;
|
|
44
45
|
}
|
|
45
46
|
export interface DeletePaymentMethodResponse {
|
|
46
47
|
success: boolean;
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ message CreatePaymentMethodRequest {
|
|
|
38
38
|
string user_id = 1;
|
|
39
39
|
}
|
|
40
40
|
message CreatePaymentMethodResponse {
|
|
41
|
-
string
|
|
41
|
+
string setupIntent = 1;
|
|
42
42
|
string client_secret = 2;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -60,6 +60,7 @@ message PaymentInfo {
|
|
|
60
60
|
|
|
61
61
|
message DeletePaymentMethodRequest {
|
|
62
62
|
string payment_method_id = 1;
|
|
63
|
+
string user_id = 2;
|
|
63
64
|
}
|
|
64
65
|
message DeletePaymentMethodResponse {
|
|
65
66
|
bool success = 1;
|