missing proto definition
This commit is contained in:
@@ -22,6 +22,9 @@ service PaymentOrchestratorService {
|
||||
// ExecutePayment creates/starts payment execution from an accepted quote.
|
||||
rpc ExecutePayment(ExecutePaymentRequest) returns (ExecutePaymentResponse);
|
||||
|
||||
// ExecuteBatchPayment creates/starts execution for all intents in a quoted batch.
|
||||
rpc ExecuteBatchPayment(ExecuteBatchPaymentRequest) returns (ExecuteBatchPaymentResponse);
|
||||
|
||||
// GetPayment returns one payment by reference.
|
||||
rpc GetPayment(GetPaymentRequest) returns (GetPaymentResponse);
|
||||
|
||||
@@ -40,10 +43,6 @@ message ExecutePaymentRequest {
|
||||
|
||||
// Optional caller-side correlation key.
|
||||
string client_payment_ref = 3;
|
||||
|
||||
// Optional intent selector for batch quotations.
|
||||
// Must be provided when quotation_ref resolves to multiple intents.
|
||||
string intent_ref = 4;
|
||||
}
|
||||
|
||||
// ExecutePaymentResponse returns the created or deduplicated payment.
|
||||
@@ -51,6 +50,26 @@ message ExecutePaymentResponse {
|
||||
Payment payment = 1;
|
||||
}
|
||||
|
||||
// ExecuteBatchPaymentRequest starts orchestration for all intents resolved by
|
||||
// one accepted quotation_ref.
|
||||
message ExecuteBatchPaymentRequest {
|
||||
// Organization and trace context; idempotency should be supplied via
|
||||
// meta.trace.idempotency_key.
|
||||
payments.shared.v1.RequestMeta meta = 1;
|
||||
|
||||
// Required accepted quotation reference.
|
||||
string quotation_ref = 2;
|
||||
|
||||
// Optional caller-side correlation key.
|
||||
string client_payment_ref = 3;
|
||||
}
|
||||
|
||||
// ExecuteBatchPaymentResponse returns created or deduplicated payments for
|
||||
// grouped batch execution.
|
||||
message ExecuteBatchPaymentResponse {
|
||||
repeated Payment payments = 1;
|
||||
}
|
||||
|
||||
// GetPaymentRequest fetches one payment by payment_ref.
|
||||
message GetPaymentRequest {
|
||||
payments.shared.v1.RequestMeta meta = 1;
|
||||
|
||||
Reference in New Issue
Block a user