Tarif 590 API
All API calls referenced in our documentation start with a base URL which is :
https://api.optamed.ch/v1/
Authentication
All API request should be done by providing an Authorization header using HTTP Basic Auth.
Use 'api' as the username and your API_TOKEN key as the password.
caution
Keep your API_TOKEN key secret!
Routes
[POST] /invoices
Allow to generate a PDF invoice for the Tarif 590.
Request
Get a JSON encoded Invoice object as content.
Response
When success, return a 200 status code with the PDF content.
# Header
Content-Type: application/pdf
On errors, return one of the errors listed in the errors page.