post
https://uatmea-iss-apigw.creditpluspinelabs.com/deviceapi/apis/v1/cardholder/statementRequest
This API is used to retrieve up to latest three months' generated statements. The Credit+ Issuing system receives, validates and returnsthe statement detailsfor each month in XML format. NOTE: This API is applicable for e-mail statement mode only. Further, this API, if sent with Card Number Alias (CNA), will fetch the corresponding associated device for further processing only if DEVICE _STATUS_CODE = NORMAL (0) OR (DEVICE_STATUS_CODE = UPGRADE (9) AND UPGRADE_STATUS = 1).
HTTP Status and Response Status Matrix
- HTTP Code: This is the response status code issued by a server in response to a client's request made to the server.
- Error Code: This is the error code returned by Credit+ Issuing application in the ‘code’ field of the response message indicating if the request was processed successfully or failed.
- Reason: This is the description of the error code returned by Credit+ Issuing application.
| HTTP Code | Error Codes | Reason |
|---|---|---|
| 201 | HDS000 | Request processed successfully. |
| 400 | 997 | Incorrect Month's value passed, should be 1 or 2 or 3. |
| 403 | 900 | Invalid User. |
| 404 | 998 | Device Number does not exists. |
| 400 | 997 | Product type not supported. |
| 400 | 997 | Product Type field is invalid. |
| 400 | 997 | Only alphanumeric characters and underscore are allowed. |
| 400 | 997 | Program Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character. |
| 400 | 997 | Program Code field value must have max length 6. |
| 400 | 997 | Device Plan Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character. |
| 400 | 997 | Device status is not supported. |
| 500 | 999 | Statement not available for last months Data parameter . |
| 500 | 999 | Inactive Wallet. |
| 400 | 997 | Device Plan Code field value must have max length 10. |
| 400 | CNA005 | Multiple device numbers are active for given details. |
| 400 | CNA003 | Record does not exists for the given details. |
| 400 | CNA001 | Bank Does Not Exists |
| 400 | CNA002 | Card Number Alias Functionality is not applicable for this Institution |
| 400 | CNA006 | Error while fetching device details. |
| 400 | 997 | Card Number Alias field value must have max length 24. |
| 500 | 913 | Backward offset time limit violated. |
| 400 | 994 | Invalid Request - Unrecognized field. |
| 400 | 988 | Encryption type Not Supported. |
| 400 | 913 | Forward offset time limit violated. |
| 400 | 994 | Invalid Encryption-Algorithm header value |
| 400 | 994 | Invalid Encryption Request Parameters |
| 400 | 994 | Cryptography error |