post
https://uatmea-iss-apigw.creditpluspinelabs.com/deviceapi/apis/v1/services/cardholder/accounts
This API is used to create and attach accounts or walletsto an existing card. It is applicable only for the Primary, Supplementary, and Add-on cards of the Prepaid product. A request sent with Card Number Alias (CNA) fetches the associated device for further processing only if the status of device code is Normal. When the request isreceived with form factor as Card Pack ID (CPI) or Card (CRD), it is processed for all devices statuses other than Cancelled or Replaced. A maximum of 15 GPR accounts or wallets can be linked to the card
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 |
|---|---|---|
| 400 | GPR100 | Invalid Card number alias |
| 400 | GPR101 | Duplicate CNA found |
| 400 | GPR102 | Invalid id/card pack id/device/CAN |
| 400 | GPRW001 | Device not found |
| 400 | GPRW005 | Wallet plan 1 Field is mandatory. |
| 400 | GPRW006 | Duplicate wallet plans present in request. |
| 400 | GPRW003 | Service request allowed only for GPR program. |
| 400 | GPRW007 | Wallet plan not attached to program. |
| 400 | GPRW008 | Invalid/Expired promotion plan. |
| 400 | GPRW009 | Existing wallet plan cannot be used for generating new wallet. |
| 400 | GPRW010 | Maximum 15 wallets other than Closed status are allowed. |
| 400 | GPRW011 | New wallet under wallet plan can not be created as same characteristic wallet is already attached. |
| 400 | GPRW013 | Error Creating GPR Wallet |
| 400 | GPRW014 | Error while creating device wallet link. |
| 400 | GPR104 | Device isin Cancelled/Replaced/Upgrade Status |
| 400 | MISSING_REQUIRED_FIELD | Missing Required Field identifier or packID or alias or number. |
| 400 | INVALID_FIELD_LENGTH | Device Numbersize must be between 15 and 19. |
| 400 | INVALID_FIELD_LENGTH | Id size must be between 14 and 36. |
| 400 | INVALID_FIELD_LENGTH | Card Pack ID size must be between 10 and 24. |
| 400 | INVALID_FIELD_LENGTH | Aliassize must be between 1 and 24. |
| 400 | INVALID_FIELD_LENGTH | Program Code size must be between 1 and 10. |
| 400 | INVALID_FIELD_LENGTH | Device Plan Code size must be between 1 and 10. |
| 400 | INVALID_FIELD_LENGTH | Plan Code Code size must be between 1 and 10. |
| 400 | INVALID_FIELD_LENGTH | Promotion Code size must be between 1 and 10. |