dxp-ux

(0 reviews)

IdentityValidation

/identityValidation

[GET]

Service that allows to validate the identity of the client through a type of identity validation.

URL

https://[localhost]:[port]/dxp-ux/v1/{businessId}/identityValidation

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one is "PR"-Puerto Rico
Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringAn identifier for the current call chain that can be used to tie together log entries on multiple layers (e.g. client, server, mainframe). This identifier must be designed to be unique across all applications.
Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Y
channelIdstringExpected value APPY
x-accountstringaccount number to validateY

QueryParameters

namevaluedescriptionrequired
identityTypestringCustomer identification enum [ id, mobileNumber ,zipCode, email ]Y
identityNumberstringvalue related with the identityTypeY

Possible response success

This section defines all the possible data structures received by the client and that must be considered satisfactory at the time of responding to the method.

[ 200 ] if idStatus=Valid

OK - request processed successfully, response body contains an entity corresponding to the requested resource.

{
  "recordId": "PRgetIdentityValidationCDC2022-10-28T12:24:18.610-04:00",
  "businessId": "PR",
  "identityNumber": "00001",
  "identityType": "id",
  "accountNumber": "8211990010043123",
  "status": true,
  "characteristic": [
    {
      "name": "zipCode",
      "valueType": "string",
      "value": "00909"
    }
  ]
}
[ 200 ] if idStatus=Invalid
{
  "recordId": "PRgetIdentityValidationCDC2022-10-28T12:22:41.957-04:00",
  "businessId": "PR",
  "identityNumber": "00001",
  "identityType": "id",
  "accountNumber": "24",
  "status": false,
  "characteristic": []
}
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
recordIdstringtransaction informationN
businessIdstringBusiness Id for the accountN
identityNumberstringvalue related with the identityTypeN
identityTypestringCustomer identification
enum [ id, mobileNumber ,zipCode, email ]
N
accountNumberstringN
statusbooleanThis is the user status in the system whether active or notN
idStatusbooleanThis is the user status in the system whether active or notN
characteristicarraycharacteristics for client identity validationN
characteristic.namestringN
characteristic.valueTypestringN
characteristic.valuestringN

Reviews