update debitAccess

This commit is contained in:
Mothana 2024-09-28 16:20:04 +04:00
parent 849c5d03b7
commit ac7ffc6e37
11 changed files with 148 additions and 4 deletions

View file

@ -453,6 +453,12 @@ service LightningPub {
option (http_route) = "/api/user/debit/authorize";
option (nostr) = true;
}
rpc EditDebit(structs.DebitAuthorizationRequest) returns (structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";
option (http_route) = "/api/user/debit/edit";
option (nostr) = true;
}
rpc BanDebit(structs.DebitOperation) returns (structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";