syntax = "proto3";

package wix.payment.api.pay.v3;

import "google/protobuf/wrappers.proto";
import "wix/api/annotations.proto";
import "wix/api/callback.proto";
import "wix/api/entity.proto";
import "wix/payment/api/pay/v3/resources/payment-event.proto";

option java_package = "com.wix.payment.api.pay.v3";

service DoublePaymentEventsService {

    option (wix.api.service_entity).message = "wix.payment.api.pay.v3.DoublePaymentEvent";

    option (wix.api.event) = {
       topic: "processing-double-payments"
       payload: "wix.payment.api.pay.v3.DoublePaymentEvent"
       permission: "CASHIER.READ_PAYMENTS"
       exposure: PRIVATE
       maturity: GA
    };
    option (wix.api.service_exposure) = PRIVATE;
    option (wix.api.service_maturity) = GA;
}
