lnurl pay info
This commit is contained in:
parent
6382cce337
commit
c5ea8c899d
9 changed files with 2043 additions and 1919 deletions
|
|
@ -144,6 +144,12 @@ service LightningPub {
|
|||
option (http_route) = "/api/app/internal/pay";
|
||||
}
|
||||
|
||||
rpc GetAppUserLNURLInfo(structs.GetAppUserLNURLInfoRequest) returns (structs.LnurlPayInfoResponse) {
|
||||
option (auth_type) = "App";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/app/user/lnurl/pay/info";
|
||||
}
|
||||
|
||||
// </App>
|
||||
|
||||
rpc AddUser(structs.AddUserRequest)returns (structs.AddUserResponse){
|
||||
|
|
|
|||
|
|
@ -87,6 +87,10 @@ message SendAppUserToAppPaymentRequest {
|
|||
int64 amount = 2;
|
||||
}
|
||||
|
||||
message GetAppUserLNURLInfoRequest {
|
||||
string user_identifier = 1;
|
||||
}
|
||||
|
||||
enum AddressType {
|
||||
WITNESS_PUBKEY_HASH = 0;
|
||||
NESTED_PUBKEY_HASH = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue