response to service

This commit is contained in:
boufni95 2024-10-03 16:56:54 +00:00
parent d2f2ac48eb
commit 1049586646
15 changed files with 354 additions and 51 deletions

View file

@ -471,6 +471,12 @@ service LightningPub {
option (http_route) = "/api/user/debit/reset";
option (nostr) = true;
}
rpc RespondToDebit(structs.DebitResponse) returns (structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";
option (http_route) = "/api/user/debit/finish";
option (nostr) = true;
}
rpc GetLiveDebitRequests(structs.Empty) returns (stream structs.LiveDebitRequest){
option (auth_type) = "User";
option (http_method) = "post";