Table of Contents |
---|
...
Version | Description | Author | Date (dd/mm/yyyy) |
1.0.0 | DRAP Onboarding Service (without eKYC flow) Document | Ajai Antony | 07/06/2024 |
1.0.1 | Failure Customer updation failure response update | Ajai Antony | 14/06/2024 |
1.0.2 | AML Alert Closure CallBack API updates | Ajai Antony | 15/10/2024 |
CLASSIFICATION: PUBLIC
...
An access token is a key to the gateway to access any other API. The API will return the access token if the user is successfully authenticated and have the authorization to access these services. Every access token is tagged with validity and the expiry duration is echoed in the response for the calling application to manage the state accordingly. Token if used after its validity period restrict access to any services and a new token to be generated in this case.
API | https://{{baseUrl}}/auth/realms/cdp/protocol/openid-connect/token | |||||
Method | POST | |||||
Headers | Content-Type : application/x-www-form-urlencoded | |||||
Access Token Payload |
| |||||
Refresh Token Payload |
| |||||
Response |
|
...
API to be used to look up customer information by ID type and ID number.
API | ||||||
Authorization | Bearer Token | |||||
Method | POST | |||||
Headers | Content-Type:application/json | |||||
Payload |
| |||||
Success Response HttpStatusCode : 200 |
| |||||
Customer Not Found HttpStatusCode : 200 |
| |||||
Subscription Pending Response HttpStatusCode : 200 |
| |||||
Bad Request HttpStatusCode : 200 |
| |||||
Internal Server Error HttpStatusCode : 200 |
| |||||
Validation Failure Response - Customer Under Compliance Investigation HttpStatusCode : 200 |
| |||||
Validation Failure Response - Blocked Customer HttpStatusCode : 200 |
| |||||
Authentication Failure Response HttpStatusCode : 401 |
|
...
API | https://{{baseUrl}}/caas-lcm/api/v1/CAAS/onBoarding/customer | |||||
Authorization | Bearer Token | |||||
Method | POST | |||||
Headers | Content-Type:application/json | |||||
Payload |
| |||||
Success Response HttpStatusCode : 200 |
| |||||
Validation Failure Response - Customer Under Compliance Investigation HttpStatusCode : 406 |
| |||||
Validation Failure Response - Blocked Customer HttpStatusCode : 406 |
| |||||
Validation Failure Response - Invalid Master Data HttpStatusCode : 400 |
| |||||
Validation Failure Response - Mandatory Field Missing HttpStatusCode : 400 |
| |||||
Customer Updation Failure Responce |
| |||||
Authentication Failure Response HttpStatusCode : 401 |
| |||||
Internal Server Error HttpStatusCode : 502 |
|
...
API | ||||||
Authorization | Bearer Token | |||||
Method | GET | |||||
Headers | Content-Type: application/json | |||||
Payload |
| |||||
Success Response HttpStatusCode: 200 |
| |||||
Authentication Failure Response HttpStatusCode: 401 |
| |||||
Customer Not Subscribed Failure Response HttpStatusCode: 200 |
| |||||
Customer not found Failure Response HttpStatusCode: 200 |
|
...
We will be calling partner API to update the customer status and AML status.
Payload
Code Block | language | json
---|
{ "aml_scan_status": "Accepted", "ecrn": "1058021235161541", "customer_status": "ACTIVE" } |
Name | Data Type | Max Length | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecrn | String | 20 | CDP Customer Unique Identification Number will be present if customer is onboarded to CDP | ||||||||||||||||||||||||||||||
aml_scan_status | String | 20 | AML Scanned Status will be p[resent if customer is onboarded to CDP “Accepted” / “Rejected“ / “Under Investigation”/ “Failed” / “N/A” (not available when screening not done) | ||||||||||||||||||||||||||||||
customer_status | String | 20 | Customer Status will be present if customer is onboarded to CDP
|
Master Data
View file | ||
---|---|---|
|
...