List Reported Cards
The SaaS application allows users to view all reported card details or retrieve details of a specific card issue by providing the cardId as a query parameter.
GET{baseUrl}/pcs/api/v1/card-reported-issues
Query Parameters
| Attribute | Type | Required | Description |
|---|---|---|---|
| cardId | Integer | No | Card ID for which to see the reported details. |
Response
| Field | Type | Description |
|---|---|---|
| id | Integer | ID of record. |
| description | String | Description related to the reported card. |
| issueResolved | Boolean | Indicates whether the issue is resolved or not. |
| reportedCardStatus | String | Status of the reported card. |
200 — SUCCESS
{
"data": [
{
"id": 7,
"description": "Card is being reported as DAMAGED by admin directly to make it eligible for renewal.",
"issueResolved": true,
"reportedCardStatus": "DAMAGED"
}
],
"pagination": {
"currentPage": 1,
"perPage": 20,
"totalPages": 1,
"totalCount": 1,
"sort": "updatedAt: DESC"
}
}