multiple quotes payment
This commit is contained in:
@@ -125,6 +125,13 @@ message PaymentQuote {
|
||||
string quote_ref = 8;
|
||||
}
|
||||
|
||||
message PaymentQuoteAggregate {
|
||||
repeated common.money.v1.Money debit_amounts = 1;
|
||||
repeated common.money.v1.Money expected_settlement_amounts = 2;
|
||||
repeated common.money.v1.Money expected_fee_totals = 3;
|
||||
repeated common.money.v1.Money network_fee_totals = 4;
|
||||
}
|
||||
|
||||
message ExecutionRefs {
|
||||
string debit_entry_ref = 1;
|
||||
string credit_entry_ref = 2;
|
||||
@@ -172,6 +179,19 @@ message QuotePaymentResponse {
|
||||
PaymentQuote quote = 1;
|
||||
}
|
||||
|
||||
message QuotePaymentsRequest {
|
||||
RequestMeta meta = 1;
|
||||
string idempotency_key = 2;
|
||||
repeated PaymentIntent intents = 3;
|
||||
bool preview_only = 4;
|
||||
}
|
||||
|
||||
message QuotePaymentsResponse {
|
||||
string quote_ref = 1;
|
||||
PaymentQuoteAggregate aggregate = 2;
|
||||
repeated PaymentQuote quotes = 3;
|
||||
}
|
||||
|
||||
message InitiatePaymentRequest {
|
||||
RequestMeta meta = 1;
|
||||
string idempotency_key = 2;
|
||||
@@ -259,6 +279,7 @@ message InitiateConversionResponse {
|
||||
|
||||
service PaymentOrchestrator {
|
||||
rpc QuotePayment(QuotePaymentRequest) returns (QuotePaymentResponse);
|
||||
rpc QuotePayments(QuotePaymentsRequest) returns (QuotePaymentsResponse);
|
||||
rpc InitiatePayment(InitiatePaymentRequest) returns (InitiatePaymentResponse);
|
||||
rpc CancelPayment(CancelPaymentRequest) returns (CancelPaymentResponse);
|
||||
rpc GetPayment(GetPaymentRequest) returns (GetPaymentResponse);
|
||||
|
||||
Reference in New Issue
Block a user