@just-education-org/rpc-contracts 1.17.0 → 1.17.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.
|
@@ -6,6 +6,8 @@ export interface CreatePaymentRequest {
|
|
|
6
6
|
seats: SeatInput[];
|
|
7
7
|
paymentMethodId?: string | undefined;
|
|
8
8
|
savePaymentMethod: boolean;
|
|
9
|
+
/** ISO 4217, lowercase (e.g. "usd or uah"), as required by Stripe */
|
|
10
|
+
currency: string;
|
|
9
11
|
}
|
|
10
12
|
export interface CreatePaymentResponse {
|
|
11
13
|
url: string;
|
package/package.json
CHANGED
package/proto/payment.proto
CHANGED
|
@@ -13,6 +13,7 @@ message CreatePaymentRequest {
|
|
|
13
13
|
repeated SeatInput seats = 3;
|
|
14
14
|
optional string payment_method_id = 4;
|
|
15
15
|
bool save_payment_method = 5;
|
|
16
|
+
string currency = 6; // ISO 4217, lowercase (e.g. "usd or uah"), as required by Stripe
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
message CreatePaymentResponse {
|