15 lines
468 B
Protocol Buffer
15 lines
468 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package common.payment.v1;
|
|
|
|
option go_package = "github.com/tech/sendico/pkg/proto/common/payment/v1;paymentv1";
|
|
|
|
// CustomPaymentDetails carries an opaque, gateway-specific payment method
|
|
// encoded as JSON bytes.
|
|
message CustomPaymentDetails {
|
|
// id is the unique identifier for this payment method instance.
|
|
string id = 1;
|
|
// payment_method_json is the raw JSON payload understood by the target gateway.
|
|
bytes payment_method_json = 2;
|
|
}
|