Get current contract
Get the request's sender contract from the database
GET
/v1/contracts/AuthorizationBearer <token>
Please provide your device JWT token in the format 'Bearer '
In: header
Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:4004/v1/contracts/"{
"contractType": "FINANCIAL_LEASE_WITH_AUTOMATIC_RENEWAL",
"mainPosCount": 0,
"secondaryPosCount": 0,
"kioskCount": 0,
"kdsCount": 0,
"startedAt": {},
"expireAt": {},
"locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54",
"featuresAccess": [
{
"name": "api_access",
"enabled": true
}
],
"helpCenter": {
"name": "string",
"address": "string",
"phone": "string",
"antennas": [],
"clientReference": "string",
"documentationUrl": "http://example.com"
}
}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}{
"error": "string"
}