server endpoint
This commit is contained in:
@@ -192,6 +192,17 @@ message QuotePaymentsResponse {
|
||||
repeated PaymentQuote quotes = 3;
|
||||
}
|
||||
|
||||
message InitiatePaymentsRequest {
|
||||
RequestMeta meta = 1;
|
||||
string idempotency_key = 2;
|
||||
string quote_ref = 3;
|
||||
map<string, string> metadata = 4;
|
||||
}
|
||||
|
||||
message InitiatePaymentsResponse {
|
||||
repeated Payment payments = 1;
|
||||
}
|
||||
|
||||
message InitiatePaymentRequest {
|
||||
RequestMeta meta = 1;
|
||||
string idempotency_key = 2;
|
||||
@@ -280,6 +291,7 @@ message InitiateConversionResponse {
|
||||
service PaymentOrchestrator {
|
||||
rpc QuotePayment(QuotePaymentRequest) returns (QuotePaymentResponse);
|
||||
rpc QuotePayments(QuotePaymentsRequest) returns (QuotePaymentsResponse);
|
||||
rpc InitiatePayments(InitiatePaymentsRequest) returns (InitiatePaymentsResponse);
|
||||
rpc InitiatePayment(InitiatePaymentRequest) returns (InitiatePaymentResponse);
|
||||
rpc CancelPayment(CancelPaymentRequest) returns (CancelPaymentResponse);
|
||||
rpc GetPayment(GetPaymentRequest) returns (GetPaymentResponse);
|
||||
|
||||
Reference in New Issue
Block a user