Update dependencies

This commit is contained in:
Jonas Lochmann
2026-06-15 02:00:00 +02:00
parent 2f35b969bf
commit b2bcc3715f
2 changed files with 91 additions and 70 deletions
+22 -1
View File
@@ -23,7 +23,8 @@ On a invalid request body: HTTP status code 400 Bad request
On a invalid auth token: HTTP status code 401 Unauthorized
On success: a JSON object with the property ``canDoPurchase`` (string) and ``googlePlayPublicKey`` (string, base64)
On success: a JSON object with the property ``canDoPurchase`` (string), ``googlePlayPublicKey`` (string, base64)
and ``permitDebts`` (boolean, optional, default false).
possible values of ``canDoPurchase``:
@@ -33,6 +34,26 @@ possible values of ``canDoPurchase``:
The ``googlePlayPublicKey`` is the key by which purchases using google play should be signed.
## POST /purchase/finish-purchase-by-debts
Use this to unlock without payment. Limitations apply.
### request
see [this JSON schema](../schema/candopurchaserequest.md)
Note that ``type`` is not used at all.
### response
On a invalid request body: HTTP status code 400 Bad request
On a invalid auth token: HTTP status code 401 Unauthorized
If not granted: HTTP status code 409 Conflict
On success: HTTP status code 200
## POST /purchase/finish-purchase-by-google-play
Use this to report a purchase to the server/ unlock all features after a purchase