Service identity
GET
/v1
const url = 'https://api.sulpayments.ch/v1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.sulpayments.ch/v1Answers the service name and deployed version at the versioned root.
Responses
Section titled “Responses”Service and version
Media typeapplication/json
Service identity, answered at the API root.
object
service
required
string
version
required
string
Example
{ "service": "api", "version": "0.2.0"}