Remove redeemId field from redeem response

- Remove redeemId from successful redemption response
- Remove redeemId from error response
- Update swagger documentation to remove redeemId field
- Update README examples to remove redeemId field
- Clean up API response format for better simplicity
This commit is contained in:
Michilis
2025-07-15 18:03:56 +00:00
parent 52d4735712
commit ba36f96f4c
5 changed files with 30 additions and 19 deletions

View File

@@ -76,7 +76,6 @@ Redeem a Cashu token to a Lightning address. Lightning address is optional - if
```json
{
"success": true,
"redeemId": "8e99101e-d034-4d2e-9ccf-dfda24d26762",
"paid": true,
"amount": 21000,
"invoiceAmount": 20580,
@@ -94,7 +93,6 @@ Redeem a Cashu token to a Lightning address. Lightning address is optional - if
```json
{
"success": true,
"redeemId": "8e99101e-d034-4d2e-9ccf-dfda24d26762",
"paid": true,
"amount": 21000,
"invoiceAmount": 20580,