product qr

This commit is contained in:
hatim boufnichel 2023-03-24 00:23:25 +01:00
parent 38241a3266
commit 8b7ab71078
18 changed files with 1752 additions and 1263 deletions

View file

@ -49,7 +49,7 @@ message NewInvoiceResponse{
string invoice = 1;
}
message DecodeInvoiceRequest{
string invoice=1;
string invoice = 1;
}
message DecodeInvoiceResponse{
int64 amount=1;
@ -152,4 +152,19 @@ message GetUserOperationsResponse{
UserOperations latestIncomingInvoiceOperations=2;
UserOperations latestOutgoingTxOperations=3;
UserOperations latestIncomingTxOperations=4;
}
message AddProductRequest {
string name = 1;
int64 price_sats = 2;
}
message Product {
string id = 1;
string name = 2;
int64 price_sats = 3;
}
message GetProductBuyLinkResponse {
string link = 1;
}