post https://programs//enrollments
Enrolls a User into a Product and creates the Account and Card. Also used for card in hand use case to support instant issue enrollment.Also used for upgrade account from GPG to DDA(If the parameter upgradeFlag is true).
This API is used to enrolls a User into a Product and creates the Account and Card. Also used for card in hand use case to support instant issue enrollment.Also used for upgrade account from GPG to DDA(If the parameter "upgradeFlag" is true)
Create New User Create Account Create Payment Instrument support instant issue enrollment support upgrade account
Note: If POST /enrollments is called with a valid request and enrollment fails during processing, the request will be automatically completed if the customer clears OFAC
Name | Comment |
---|---|
200 | success |
400 | bad request, like unsupported operation |
401 | Unauthorized |
Group | Property | Required | Constraint/Scenario | HttpStatus | Code | Sub Code | Description |
---|---|---|---|---|---|---|---|
PACKAGE_LOOKUP_EXCEPTION | 400 | 5020 | 5021 | Connection Issue looking up package info | |||
PACKAGE_NOT_FOUND | 400 | 5020 | 5022 | No package is associated with the provided identifier | |||
PACKAGEID_IN_USE | 400 | 5020 | 5023 | The package associated with the identifier is being already used | |||
INSTANT_ISSUE_NOT_SUPPORTED | 400 | 5030 | 5031 | Product not support Instant Issue enrollment | |||
INSTANT_ISSUE_REQUEST_PHYSICAL_CARD_NOT_SUPPORTED | 400 | 5030 | 5032 | Product does not support requesting physical card during during instant issue enrollment | |||
instantIssue | type | Y ONLY if enrollment is instantIssue | INSTANT_ISSUE_TYPE | 400 | 600 | Required: 6181, Invalid: 6182 | If instantIssue object is provided then type must be provided. Must be CBS |
instantIssue | mappingIdentifier | Y ONLY if enrollment is instantIssue | INSTANT_ISSUE_MAPPING_IDENTIFIER | 400 | 600 | Required: 6183, Invalid: 6184 | If instantIssue object is provided then mappingIdentifier must be provided |
Group | Property | Required | Constraint/Scenario | HttpStatus | Code | Sub Code | Description |
---|---|---|---|---|---|---|---|
accountIdentifier | N | missing/invalid accountIdentifier | 400 | 350 | 0 | accountIdentifier is invalid | |
change user profile | 400 | 4502 | 0 | User profile can‘t changed | |||
account status not normal | 400 | 4503 | 0 | Account status is not healthy | |||
target product code same with current product code | 400 | 4504 | 0 | Account already upgrade success | |||
same requestid, accountidentifier is different | 400 | 4505 | 0 | Account not matched | |||
target product code not allowed for upgrade | 400 | 4506 | 0 | Account already upgrade success | |||
account not found | 400 | 10 | 0 | account or accounthodler or user not found | |||
[CPM]upgrade service return error | 400 | 5030 | 0 | A downstream provider did not return success for Upgrade Account |