{ "paths": { "/misc/lang": { "get": { "tags": [ "Miscalleneous" ], "summary": "Language codes", "description": "The supported language codes", "operationId": "langCodes", "responses": { "200": { "description": "The supported language codes", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string", "description": "The language code", "nullable": false }, "currentLanguage": { "type": "string", "description": "The language name", "nullable": false } } } } } } } }, "security": [] } }, "/i/{invoiceId}": { "parameters": [ { "name": "invoiceId", "in": "path", "required": true, "description": "The invoice id", "schema": { "type": "string" } }, { "name": "lang", "in": "query", "required": false, "description": "The preferred language of the checkout page. You can see the list of language codes with [this operation](#operation/langCodes).", "schema": { "type": "string" } } ], "get": { "tags": [ "Miscalleneous" ], "summary": "Invoice checkout", "description": "View the checkout page of an invoice", "responses": { "200": { "description": "The checkout page", "content": { "text/html": { "example": "The HTML checkout page of the invoice" } } } }, "security": [] } } }, "tags": [ { "name": "Miscalleneous" } ] }