Skip to content

Commit

Permalink
#26 update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
akselsf committed Sep 19, 2024
1 parent ea71749 commit c586a50
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,23 @@
- azure.storage.container-name=
- azure.storage.connection-string=
- environment = dev | prod
- superadmin.emails =

## Current endpoints
**Header required for all requests**

```"Authorization" "Bearer <access token>"```

### /api/auth/check
```GET```
```
{
"success": Boolean,
"admin": Boolean,
"superadmin": Boolean,
}
```

### /api/receipt/create
```POST```
```
Expand All @@ -31,7 +42,12 @@
},
"attachments": [
base64 string, base64 string, ...
]
],
"receiptPaymentInformation": {
cardnumber: String?,
accountnumber: String?,
usedOnlineCard: Boolean,
}
}
```

Expand Down

0 comments on commit c586a50

Please sign in to comment.