21 lines
521 B
Protocol Buffer
21 lines
521 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package payments.transfer.v1;
|
|
|
|
option go_package = "github.com/tech/sendico/pkg/proto/payments/transfer/v1;transferv1";
|
|
|
|
import "api/proto/common/money/v1/money.proto";
|
|
import "api/proto/payments/endpoint/v1/endpoint.proto";
|
|
|
|
|
|
// -------------------------
|
|
// Base value movement
|
|
// -------------------------
|
|
message TransferIntent {
|
|
payments.endpoint.v1.PaymentEndpoint source = 1;
|
|
payments.endpoint.v1.PaymentEndpoint destination = 2;
|
|
common.money.v1.Money amount = 3;
|
|
|
|
string comment = 4;
|
|
}
|