post
https://uatmea-iss-apigw.creditpluspinelabs.com/deviceapi/apis/devices/clients
This API is used to register non-personalized debit cards for existing customers. The system allocates pre-generated cardsto existing customers as a new primary, supplementary or add-on card. 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. Also refer to Debit Card Registration for Existing Client Encryption Parameters table under the Request Format of this section for specifications of the encryption parameters.
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 Code | Reason |
|---|---|---|
| 201 | OK | The request has been fulfilled and resulted in a new resource being created. |
| 400 | MISSING_REQUIRED_FIELD | Error example: Missing Required Field 'baseCurrency'. |
| 400 | INVALID_FIELD_VALUE | 'productType' field value 'pre-paid' is invalid. |
| 400 | INVALID_FIELD_FORMAT | Invalid Field Format Base Currency. |
| 400 | INVALID_FIELD_LENGTH | Program Code Size must be between 2 and 10. |
| 400 | INVALID_PROGRAM_CODE | Program code 'XYZ' must be part of multi-currency program. |
| 400 | APPUP00103 | Device Promotion Plan does not exist. |
| 400 | 997 | Device Plan Promo Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character. |
| 400 | 997 | devicePlanPromoCode field value must have max length 10. |
| 400 | 997 | Onboarding is not allowed on Device Plan: [Device plan code related to the device]. |
| 403 | PERMISSION_DENIED | It seems you don't have permission to access this API. |
| 409 | CONFLICT | The requested operation failed because it tried to create a resource that already exists. |