post
https://uatmea-iss-apigw.creditpluspinelabs.com/deviceapi/apis/devices/embossing-requests
The Request Embossing API is used to request embossing for instant cards. When requested, the device application is processed and queued for the device production batch. The embossing file will then be generated through the existing file process. The API request is encrypted. Refer to Message Level Security - AES Encryption section in the CR+ REST API Security Requirements attachment document for detailed information on encryption of JSON payload. It is applicable for instant cards of prepaid, credit and debit products issued on Pine Labs
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.
- Description: This is the description of the error code returned by Credit+ Issuing application.
- Details: This is the detailed description of the error code returned by Credit+ Issuing application
| HTTP Code | Error Code | Description | Details |
|---|---|---|---|
| 200 | OK | The server has successfully processed your request. | |
| 400 | MISSING_REQUIRED_FIELD | Missing Required Field 'mobile.number' | 'Mobile number' field is mandatory when only last 4 digit of device number are provided. |
| 400 | MISSING_REQUIRED_FIELD | Missing Required Field 'mobile.isdCode' | 'ISD Code' field is mandatory when only last 4 digits of device number are provided. |
| 400 | MISSING_REQUIRED_FIELD | Missing Required Field 'device.number', 'device.packID' | At least one field must be present - 'deviceNumber' or 'packID'. |
| 400 | MISSING_REQUIRED_FIELD | Missing Required Field 'device.delivery'. | Missing Required Field 'device.delivery'. |
| 400 | MISSING_REQUIRED_FIELD | Missing Required Field 'ProductType'. | Missing Required Field 'ProductType' |
| 400 | RECORD_NOT_FOUND | Record not found for given search criteria(s) - ''. | Device linked to 'device.number' : XXXX<LAST 4 Digits of DeviceNumber> not found. |
| 400 | RECORD_NOT_FOUND | Device Production Batch is not executed for the card. | |
| 400 | TIMESTAMP_ERROR | Request timestamp is in past. | Request timestamp of '<"dataValidUntilTimestamp">' field value '' is in past. |
| 400 | ERR_CODE_INVALID_FIELD_FORMAT | Invalid Field Value 'dataValidUntilTimestamp'. | dataValidUntilTimestamp field must be in ISO 8601 format. |
| 400 | ERR_DB_PROC | Error inside PRC_INST_DEVICE_DELIVERY_CONF | |
| 403 | AUTHORIZATION_ERROR | User in not authorized to access requested resource. | |
| 409 | RESOURCE_ALREADY_EXISTS | Embossing restricted for Card Pack ID. | One card linked to the Card Pack ID has been embossed/delivered. Use particular Device Number to Request Embossing for other. |
| 409 | RESOURCE_ALREADY_EXISTS | Embossing has already been requested for the device. | |
| 500 | SYSTEM_ERROR | An unexpected error has occurred with the service you have requested. |