Download OpenAPI specification:Download
REST API for creating and managing SupportHub tickets, intended for the Partner.
Each call requires a JWT OAuth 2.0 (Bearer) token obtained from Microsoft Entra ID using the client_credentials flow.
POST https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials
client_id={CLIENT_ID}
client_secret={CLIENT_SECRET}
scope=https://service.flow.microsoft.com//.default
Tenant ID: {tenantId}
The token is valid for ~1 hour (expires_in: 3599). Renew it before expiration.
Z suffix (e.g. 2025-10-21T14:12:44Z).Status values in JSON payloads include a space (e.g. In progress); in path/query URL use the compact form (e.g. InProgress).description and closingResponse fields must not contain unsafe HTML tags (script, iframe, PHP).Opens a new report in SupportHub. Returns the unique caseNumber to be used in subsequent calls.
| walletid | string or null Unique identifier of the involved wallet. Required if |
| product required | string Enum: "wallet" "cards" Product type for which the ticket is opened. |
| impact | string or null Enum: "isolato" "massivo" Ticket severity. |
| type required | string Enum: "Consumer" "Alert" "Business" Nature of the report:
|
| category required | string Enum: "Saldo non aggiornato" "Ricarica non visibile" "Ricarica SCT/CASH non visibile" "Ricarica welfare" "Altri problemi sui pagamenti" "Rimborso cash" "SDD" "Validazione IBAN" "Registrazione servizio" "Chiusura wallet" "Indisponibilita del servizio" "Segnalazioni B2B" "Altro" Report category. For |
| description required | string Detailed description of the issue. Must not contain unsafe HTML tags (script, iframe, PHP). |
{- "walletid": "19c57d27-8fc7-4dec-afe0-5023488df4b9",
- "product": "wallet",
- "impact": "isolato",
- "type": "Consumer",
- "category": "Saldo non aggiornato",
- "description": "The wallet balance has not updated for 3 days despite performed top-ups."
}{- "Response": {
- "message": "Ticket created successfully.",
- "caseNumber": "TK-000001234"
}
}Adds a textual comment to the timeline of an existing ticket.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
| text required | string Comment text. If the ticket is in |
{- "text": "I update the report with additional information."
}{- "response": "OK"
}Returns the paginated list (10 tickets per page) of the Partner's tickets filtered by status and optionally by type.
| status required | string (TicketStatusUrl) Enum: "New" "InProgress" "WaitingForCustomer" "Resolved" "Closed" "Canceled" "Rejected" Example: InProgress Ticket status as used in path URLs and query parameters (no spaces, system is case-insensitive). |
| type | string Enum: "Management" "Wallet" |
| page | integer <int32> >= 0 Default: 0 Example: page=0 0-based page number. Page size is 10 tickets. |
{- "response": [
- {
- "casenumber": "TK-000001093",
- "status": "new",
- "product": "cards",
- "type": "consumer",
- "priority": 2,
- "creationDate": "2026-07-13T08:56:56Z",
- "closureDate": "",
- "impact": ""
}
]
}Returns the full detail of a ticket by its caseNumber.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
{- "response": {
- "casenumber": "TK-000001094",
- "status": "waitingforcustomer",
- "product": "wallet",
- "type": "consumer",
- "category": "saldo non aggiornato",
- "priority": 1,
- "partner": "HEALTH",
- "walletID": "19c57d27-8fc7-4dec-afe0-5023488df4b9",
- "openingDate": "2026-07-13T09:08:54Z",
- "expirationDate": "2026-07-15T18:00:00Z",
- "resolvedDate": "",
- "closureDate": "",
- "closureResponse": "",
- "takenInChargeOn": "",
- "impact": ""
}
}Returns all tickets associated with a specific wallet.
| walletid required | string <uuid> |
{- "response": [
- {
- "casenumber": "TK-000001094",
- "walletID": "19c57d27-8fc7-4dec-afe0-5023488df4b9",
- "status": "waitingforcustomer",
- "type": "consumer",
- "priority": 1,
- "creationDate": "2026-07-13T09:08:54Z",
- "closureDate": "",
- "impact": ""
}
]
}Returns the chronological sequence of all events, comments and status changes of a ticket.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
{- "response": [
- {
- "createdby": "[Partner] User",
- "createdon": "2024-04-29T09:09:29Z",
- "text": "[Partner]: test"
}
]
}Updates the ticket status by passing the new status as a path parameter in the URL.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
| newStatus required | string (TicketStatusUrl) Enum: "New" "InProgress" "WaitingForCustomer" "Resolved" "Closed" "Canceled" "Rejected" Example: InProgress Ticket status as used in path URLs and query parameters (no spaces, system is case-insensitive). |
| closingResponse | string or null Closing response/reason. Required for the |
{- "closingResponse": "I confirm the resolution of the reported issue."
}{- "Response": "OK"
}Returns attachment metadata.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
{- "response": [
- {
- "id": 0,
- "filename": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "contentType": "string",
- "filecontent": "string"
}
]
}Uploads a binary file to an existing ticket.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
| filename required | string |
{- "message": "string",
- "id": 0,
- "caseNumber": "string",
- "filename": "string"
}Returns a single attachment.
| casenumber required | string Example: TK-000001234 Unique ticket identifier (e.g. |
| attachmentid required | integer |
{- "response": {
- "id": 0,
- "filename": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "contentType": "string",
- "filecontent": "string"
}
}