neq quotation definition + priced_at field
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package common.gateway.v1;
|
||||
|
||||
option go_package = "github.com/tech/sendico/pkg/proto/common/gateway/v1;gatewayv1";
|
||||
|
||||
import "common/money/v1/money.proto";
|
||||
import "api/proto/common/money/v1/money.proto";
|
||||
import "api/proto/payments/endpoint/v1/endpoint.proto";
|
||||
|
||||
|
||||
enum Operation {
|
||||
@@ -18,17 +21,6 @@ enum Operation {
|
||||
OPERATION_CREATE_ACCOUNT = 9;
|
||||
}
|
||||
|
||||
enum PaymentMethodType {
|
||||
PM_UNSPECIFIED = 0;
|
||||
PM_CARD = 1;
|
||||
PM_SEPA = 2;
|
||||
PM_ACH = 3;
|
||||
PM_PIX = 4;
|
||||
PM_WALLET = 5;
|
||||
PM_CRYPTO = 6;
|
||||
PM_LOCAL_BANK = 7; // generic local rails, refine later if needed
|
||||
}
|
||||
|
||||
// Rail identifiers for orchestration. Extend with new rails as needed.
|
||||
enum Rail {
|
||||
RAIL_UNSPECIFIED = 0;
|
||||
@@ -70,7 +62,7 @@ message OperationCapabilities {
|
||||
|
||||
// Per-method matrix entry
|
||||
message MethodCapability {
|
||||
PaymentMethodType method = 1;
|
||||
payments.endpoint.v1.PaymentMethod method = 1;
|
||||
|
||||
// ISO 4217 currency codes, e.g. "EUR", "USD"
|
||||
repeated string currencies = 2;
|
||||
@@ -187,4 +179,4 @@ message OperationExecutionStatus {
|
||||
common.money.v1.Money executed_money = 3;
|
||||
OperationResult status = 4;
|
||||
OperationError error = 5;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user