38 lines
1001 B
Protocol Buffer
38 lines
1001 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package payments.quotation.v2;
|
|
|
|
option go_package = "github.com/tech/sendico/pkg/proto/payments/quotation/v2;quotationv2";
|
|
|
|
import "api/proto/payments/shared/v1/shared.proto";
|
|
import "api/proto/payments/transfer/v1/transfer.proto";
|
|
import "api/proto/payments/quotation/v2/interface.proto";
|
|
|
|
|
|
message QuotePaymentRequest {
|
|
payments.shared.v1.RequestMeta meta = 1;
|
|
string idempotency_key = 2;
|
|
payments.transfer.v1.TransferIntent intent = 3;
|
|
bool preview_only = 4;
|
|
string initiator_ref = 5;
|
|
}
|
|
|
|
message QuotePaymentResponse {
|
|
payments.quotation.v2.PaymentQuote quote = 1;
|
|
string idempotency_key = 2;
|
|
}
|
|
|
|
message QuotePaymentsRequest {
|
|
payments.shared.v1.RequestMeta meta = 1;
|
|
string idempotency_key = 2;
|
|
repeated payments.transfer.v1.TransferIntent intents = 3;
|
|
bool preview_only = 4;
|
|
string initiator_ref = 5;
|
|
}
|
|
|
|
message QuotePaymentsResponse {
|
|
string quote_ref = 1;
|
|
repeated payments.quotation.v2.PaymentQuote quotes = 3;
|
|
string idempotency_key = 4;
|
|
}
|