{"id":13666721,"url":"https://github.com/lnbits/satspay","last_synced_at":"2025-03-02T20:28:53.550Z","repository":{"id":66748703,"uuid":"603059670","full_name":"lnbits/satspay","owner":"lnbits","description":"Create onchain and LN charges","archived":false,"fork":false,"pushed_at":"2024-11-29T08:26:09.000Z","size":519,"stargazers_count":8,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-29T09:27:59.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-17T14:34:54.000Z","updated_at":"2024-11-29T08:25:28.000Z","dependencies_parsed_at":"2023-11-06T23:00:33.155Z","dependency_job_id":"76fb2ac3-6d50-4e63-99ef-39709fd41514","html_url":"https://github.com/lnbits/satspay","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fsatspay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fsatspay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fsatspay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fsatspay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnbits","download_url":"https://codeload.github.com/lnbits/satspay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241567260,"owners_count":19983464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T06:01:24.114Z","updated_at":"2025-03-02T20:28:53.521Z","avatar_url":"https://github.com/lnbits.png","language":"Python","readme":"# SatsPay Server - \u003csmall\u003e[LNbits](https://github.com/lnbits/lnbits) extension\u003c/small\u003e\n\n\u003csmall\u003eFor more about LNBits extension check [this tutorial](https://github.com/lnbits/lnbits/wiki/LNbits-Extensions)\u003c/small\u003e\n\n## Create onchain and LN charges. Includes webhooks!\n\nEasily create invoices that support Lightning Network and on-chain BTC payment.\n\n1. Create a \"NEW CHARGE\"\\\n   ![new charge](https://i.imgur.com/fUl6p74.png)\n2. Fill out the invoice fields\n   - set a description for the payment\n   - the amount in sats\n   - the time, in minutes, the invoice is valid for, after this period the invoice can't be paid\n   - set a webhook that will get the transaction details after a successful payment\n   - set to where the user should redirect after payment\n   - set the text for the button that will show after payment (not setting this, will display \"NONE\" in the button)\n   - select if you want on-chain payment, LN payment or both\n   - depending on what you select you'll have to choose the respective wallets where to receive your payment\\\n     ![charge form](https://i.imgur.com/F10yRiW.png)\n3. The charge will appear on the _Charges_ section\\\n   ![charges](https://i.imgur.com/zqHpVxc.png)\n4. Your customer/payee will get the payment page\n   - they can choose to pay on LN\\\n     ![offchain payment](https://i.imgur.com/4191SMV.png)\n   - or pay on-chain\\\n     ![onchain payment](https://i.imgur.com/wzLRR5N.png)\n5. You can check the state of your charges in LNbits\\\n   ![invoice state](https://i.imgur.com/JnBd22p.png)\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fsatspay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnbits%2Fsatspay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fsatspay/lists"}