refactored notificatoin / tgsettle responsibility boundaries
This commit is contained in:
@@ -6,15 +6,15 @@ option go_package = "github.com/tech/sendico/pkg/proto/payments/payment/v1;payme
|
||||
|
||||
import "api/proto/payments/transfer/v1/transfer.proto";
|
||||
|
||||
|
||||
// -------------------------
|
||||
// External payment semantics
|
||||
// -------------------------
|
||||
// PaymentIntent describes the full intent for an external payment,
|
||||
// wrapping a transfer with payer/payee identity and purpose.
|
||||
message PaymentIntent {
|
||||
// transfer is the underlying value movement.
|
||||
payments.transfer.v1.TransferIntent transfer = 1;
|
||||
|
||||
// payer_ref identifies the entity funding the payment.
|
||||
string payer_ref = 2;
|
||||
// payee_ref identifies the payment beneficiary.
|
||||
string payee_ref = 3;
|
||||
|
||||
// purpose is a human-readable description of the payment reason.
|
||||
string purpose = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user