nicolas.dorier
709b06baa3
Remove invoices/email for this PR
2020-08-27 11:00:04 +09:00
nicolas.dorier
f900d520da
Add InvoiceTime, Expiration and monitoring to Invoice greenfield API
2020-08-26 21:36:32 +09:00
nicolas.dorier
f2e94e6819
Use nicer representation of payment methods in the Greenfield API
2020-08-26 21:36:32 +09:00
nicolas.dorier
be21e7d253
Remove PaymentMethodData from invoice entity
2020-08-26 21:36:32 +09:00
nicolas.dorier
67b04473b5
Decouple the CreateInvoiceCore from BitpayCreateInvoice, remove some features from greenfield invoice for now
2020-08-26 21:36:32 +09:00
nicolas.dorier
b2ff041ec0
Create Metadata property for InvoiceEntity, migrate all data without logic there
2020-08-26 21:36:31 +09:00
Kukks
8dea7df82a
make individual action items
2020-08-26 21:36:31 +09:00
Kukks
5f6f54db36
Remove old props
2020-08-26 21:36:31 +09:00
Kukks
41bebfedc4
add swagger docs
2020-08-26 21:36:31 +09:00
Andrew Camilleri
4917f32574
Update BTCPayServer/Controllers/GreenField/InvoiceController.cs
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2020-08-26 21:36:30 +09:00
Kukks
d96bd15b3b
add status and refactor
2020-08-26 21:36:30 +09:00
Kukks
cb5601c68b
unarchive endpoint + formatting
2020-08-26 21:36:29 +09:00
Kukks
34e76494e3
GreenField: Invoice API
2020-08-26 21:36:29 +09:00
rockstardev
16eedf4153
Deducing if to perform update check from update url configuration
2020-08-03 03:17:04 -05:00
rockstardev
ce87d2e45c
Making use of options to initalize update check on first admin registration
2020-08-03 03:17:04 -05:00
rockstardev
1b3e40fd70
Fixing typo
2020-08-03 03:17:04 -05:00
Kukks
c2a4bc2603
GreenField: Remove requirement for permissions >= 1 when creating key
...
Sometimes you just want to have an api key to verify a user still exists periodically on a server and do not need any permissions
2020-07-16 10:26:04 +02:00
Kukks
82af723f1f
Enable CORS and fix small doc error
2020-06-30 08:26:19 +02:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de
Cleaning up bom from cs files
2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09:00
Nicolas Dorier
dbb2924ccc
Fix: Create store could be called with a scoped store's modify apikey ( #1696 )
2020-06-27 15:34:03 +09:00
nicolas.dorier
6208706d46
Better error message if permission missing
2020-06-27 14:05:56 +09:00
nicolas.dorier
5e8b379c50
Add invoice refund
2020-06-25 15:31:46 +09:00
nicolas.dorier
d03124dfba
Add an approval state to pull payments
2020-06-25 13:35:10 +09:00
Nicolas Dorier
8230a408ac
Add pull payment feature ( #1639 )
2020-06-24 10:34:09 +09:00
nicolas.dorier
8dd6ecc0b8
Fix lightning implementation, docs and tests
2020-06-09 17:24:34 +09:00
Kukks
f313a5f221
GreenField: Handle status codes, error models consistently
2020-06-07 08:21:45 +02:00
nicolas.dorier
ec4c346e0a
[Greenfield] Document store API
2020-05-31 12:04:23 +09:00
nicolas.dorier
048dff7e9e
Always use second based TimeSpan in Greenfield
2020-05-31 08:52:32 +09:00
nicolas.dorier
d9a93f996f
Merge branch 'master' of https://github.com/btcpayserver/btcpayserver
2020-05-29 18:47:40 +09:00
Kukks
37f4b34b5e
Add Lightmoney json converter + do swagger defs for ln api
2020-05-29 10:04:28 +02:00
nicolas.dorier
66206399e1
Rename LightningPrivateRouteHint =>privateRouteHints
2020-05-29 09:03:07 +09:00
Andrew Camilleri
1e3f62718d
GreenField: Cross-implemenation Lightning Node API ( #1566 )
...
* GreenField: Cross-implemenation Lightning Node API
* switch to hard unrsstricted check
* fix
* set LightningPrivateRouteHints in swagger + stores api
* add priv route hint
* rename models and add swagger defs to models
2020-05-29 09:00:13 +09:00
Andrew Camilleri
79b034b505
GreenField: Add properties to Store API ( #1573 )
...
* GreenField: Add properties to Store API
* Update StoreBaseData.cs
* fix api
* fix swagger
2020-05-24 04:13:18 +09:00
nicolas.dorier
1d092a15fb
Refactor server info data structure
2020-05-20 03:27:06 +09:00
Andrew Camilleri
5b3b96b372
GreenField: Payment Requests CRUD ( #1430 )
...
* GreenField: Payment Requests CRUD
* fixes
* fix swagger
* fix swag
* rebase fixes
* Add new permissions for payment requests
* Adapt PR to archive
* fix tst
* add to contains policxy
* make decimals returned as string due to avoid shitty language parsing issues
* do not register decimal json converter as global
* fix cultureinfo for json covnerter
* pr changes
* add json convertet test
* fix json test
* fix rebase
2020-05-20 02:59:23 +09:00
Dennis Reimann
78d191f7d8
Incorporate code review feedback
2020-05-18 16:51:21 +02:00
Dennis Reimann
3b6dbe76c5
Add sync state
2020-05-18 16:02:15 +02:00
Dennis Reimann
e3b348b55c
GreenField: Add Server Info API basics
2020-05-18 15:29:04 +02:00
Kukks
85517b0344
GreenField: Prep store for more data
...
refactored things around a bit to make it cleaner for when we add more properties to the store model
2020-04-30 16:43:16 +02:00
Andrew Camilleri
c784144a07
Greenfield: Add update store API ( #1495 )
...
* Greenfield: Add update store API
* update update store model
* change greenfield controller name to stop conflict
2020-04-27 20:13:20 +09:00
Nicolas Dorier
7adaa146dc
Merge pull request #1471 from dennisreimann/api-health-endpoint
...
GreenField: Add health check endpoint
2020-04-23 02:44:11 +09:00
Kukks
297b84a18b
add request name validation
2020-04-22 15:05:13 +02:00
Kukks
34c1a304a9
Add Create Store
2020-04-22 15:05:13 +02:00
Kukks
4f1ae4733c
remove store api
2020-04-22 15:05:13 +02:00
Kukks
e009c1a25a
Fixing CheckNoDeadLink test now that btse blocks our call from circleci
2020-04-22 15:05:13 +02:00
Kukks
a6a56e4791
fix controller
2020-04-21 17:09:17 +02:00
Dennis Reimann
22e39998e2
Updates from code review
...
Thanks @kukks!
2020-04-21 16:43:14 +02:00
Dennis Reimann
70d1056d48
API: Health endpoint returns synchronized state
2020-04-21 16:29:54 +02:00