Skip to content

Commit

Permalink
add billing prepay confirm event
Browse files Browse the repository at this point in the history
  • Loading branch information
rx-837 committed Nov 3, 2022
1 parent a87a21d commit 0dbdc96
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions proto/v1/BillingEvent.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
syntax = "proto3";

package beget.emitter.v1.billing;

enum PrepayType {
BILL = 0;
BITCOIN = 1;
COMPAY = 2;
LIQPAY = 3;
PAYPAL = 4;
QIWI = 5;
QIWI_UA = 6;
RBK = 7;
RECEIPT = 8;
ROBO_ALL = 9;
ROBO_CARD = 10;
ROBO_YANDEX = 11;
WM = 12;
WMR = 13;
WMZ = 14;
YANDEX_CARD = 15;
YANDEX_REPEAT = 16;
YANDEX_WALLET = 17;
YANDEX_WM = 18;
APPLE_PAY = 19;
GOOGLE_PAY = 20;
LIQPAY_REPEAT = 21;
FONDY = 22;
CLOUDPAYMENTS = 23;
CLOUDPAYMENTS_KZ = 24;
PAYBOX = 25;
PAYSELECTION = 26;
PAYKEEPER = 27;
}

message BillingPrepayConfirmEvent {
uint32 payment_id = 1;
string external_payment_id = 2;
PrepayType type = 3;
uint32 customer_id = 4;
uint32 payer_id = 5;
}

0 comments on commit 0dbdc96

Please sign in to comment.