{ "info": { "_postman_id": "6af86dcc-3be6-4e9a-b2df-9e8a757dbc48", "name": "Sandbox_RetailAccountApplications", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "CreateAccountApplication", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{token}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "MsgId", "value": "j58wetr", "type": "text" }, { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"applicant\":\r\n {\r\n\t\t\"first_name\": \"John\", \r\n\t\t\"middle_name\": \"Smith\", \r\n\t\t\"last_name\": \"Murray\", \r\n\t\t\"title\": \"Mr.\", \r\n\t\t\"gender\": \"M\", \r\n\t\t\"date_of_birth\": \"1981-04-17\", \r\n\t\t\"nationality\": \"IN\", \r\n\t\t\"second_nationality\": \"US\",\r\n\t\t\"PEP\": \"NPEP\",\t\t\r\n\t\t\"documents\": \r\n\t\t[\r\n\t\t\t{\r\n\t\t\t \"type\": \"EMID\", \r\n\t\t\t \"number\": \"987654321098765\", \r\n\t\t\t \"expiry_date\": \"2019-12-31\" \r\n\t\t\t}\r\n\t\t],\r\n\t\t\"addresses\": \r\n\t\t[\r\n\t\t\t{ \r\n\t\t\t \"line_1\": \"112\", \r\n\t\t\t \"line_2\": \"HSBC Bank\", \r\n\t\t\t \"city\":\"DXB\", \r\n \"po_box\":\"657\",\t\t\t \r\n\t\t\t \"country\": \"AE\", \r\n\t\t\t \"type\": \"MAILING\", \r\n\t\t\t \"preferred\": true \r\n\t\t\t},\r\n\t\t\t{ \r\n\t\t\t \"line_1\": \"112\", \r\n\t\t\t \"line_2\": \"Oud Metha\", \r\n\t\t\t \"city\":\"DXB\", \r\n \"po_box\":\"657\",\t\t\t \r\n\t\t\t \"country\": \"AE\", \r\n\t\t\t \"type\": \"RESIDENCE\", \r\n\t\t\t \"preferred\": false \r\n\t\t\t}\r\n\t\t],\r\n\t\t\"phones\":\r\n\t\t[\r\n\t\t\t{ \r\n\t\t\t \"type\": \"CELLPH1\", \r\n\t\t\t \"country_code\": \"971\", \r\n\t\t\t \"number\": \"563358985\" \r\n\t\t\t}\r\n\t\t]\r\n\t\t,\r\n\t\t\"emails\":\r\n\t\t[\r\n\t\t\t { \r\n\t\t\t \"type\": \"HOMEEML\", \r\n\t\t\t \"email\": \"abc@email.com\" \r\n\t\t\t } \r\n\t\t]\r\n\t\t,\r\n\t\t\"countries_dealing_with\":\"AE|IN|US\",\r\n\t\t\"report_country_details\": \"USA~123445~~remarks| UAE~~No tax number~remarks | IND~ABC12345~Reason B~\",\r\n\t\t\"us_relation\": \"N\",\r\n\t\t\"tin_number\": \"2323\",\r\n\t\t\"fatca_reason\":\"CURRENT US ADDR\",\r\n\t\t\"fatca_documents_collected\": \"ID DOC|LOSS OF NAT CERT|SELF-ATTEST FORM|W8|W9\",\r\n\t\t\"fatca_signed_date\": \"2017-01-01\" \r\n }\r\n ,\r\n \"account\": \r\n {\r\n \"IBAN\": \"AE1234562323323\" \r\n }\r\n}" }, "url": { "raw": "{{url}}/v1/retail/account_applications", "host": [ "{{url}}" ], "path": [ "v1", "retail", "account_applications" ] } }, "response": [ { "name": "CreateAccountApplication", "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "MsgId", "value": "SamSu17", "name": "MsgId", "description": "Custom header" }, { "key": "content-type", "value": "application/json", "name": "content-type", "description": "The mime type of this content" } ], "cookie": [], "body": "{\"account_application_id\":\"RAOP-0000000149-PROCESS\"}" } ] }, { "name": "UpdateAccountApplication", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{token}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "MsgId", "value": "test005", "type": "text" }, { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"applicant\":\r\n {\r\n\t\t\"marital_status\": \"M\",\r\n\t\t\"city_of_birth\": \"DXB\", \r\n\t\t\"country_of_birth\": \"AE\",\r\n\t\t\"employment\": \r\n\t\t{ \r\n\t\t\t\"employment_type\":\"A\",\r\n\t\t\t\"employer_name\" : \"ABC Company\",\r\n\t\t\t\"occupation\":\"11\", \r\n\t\t\t\"industry_segment_code\": \"B\", \r\n\t\t\t\"industry_subsegment_code\": \"KC|KD\"\r\n\t\t},\r\n\t\t\"income\":\r\n\t\t{\r\n\t\t\t\"monthly_income\": 50000,\r\n\t\t\t\"expected_monthly_credit_turnover_AED\" : 50000,\r\n\t\t\t\"monthly_cash_credit_turnover_percentage\" : \"25.5\",\r\n\t\t\t\"monthly_noncash_credit_turnover_percentage\" : \"70.0\",\r\n\t\t\t\"highest_cash_credit_transaction_AED\" : \"5000.00\",\r\n\t\t\t\"highest_noncash_credit_transaction_AED\" : \"10000.00\"\r\n\t\t},\r\n\t\t\"documents\": \r\n\t\t [\r\n\t\t\t{ \r\n\t\t\t \"type\": \"PPT\", \r\n\t\t\t \"number\": \"G5533782\", \r\n\t\t\t \"issue_date\": \"2010-01-01\", \r\n\t\t\t \"expiry_date\": \"2019-12-31\" \r\n\t\t\t},\r\n\t\t\t{ \r\n\t\t\t \"type\": \"VISA\", \r\n\t\t\t \"number\": \"Z1234568\", \r\n\t\t\t \"issue_date\": \"2020-01-01\", \r\n\t\t\t \"expiry_date\": \"2022-12-31\" \r\n\t\t\t},\r\n\t\t\t{ \r\n\t\t\t \"type\": \"VISAUID\", \r\n\t\t\t \"number\": \"435656666\", \r\n\t\t\t \"issue_date\": \"2020-01-01\", \r\n\t\t\t \"expiry_date\": \"2022-12-31\" \r\n\t\t\t}\r\n\t\t] \r\n },\r\n\t \"application_status\":\r\n\t {\r\n\t\t\"status\":\"CUSTOMER_VERIFIED\"\r\n\t }\r\n}" }, "url": { "raw": "{{url}}/v1/retail/account_applications/11111", "host": [ "{{url}}" ], "path": [ "v1", "retail", "account_applications", "11111" ] } }, "response": [ { "name": "CreateAccountApplication", "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "MsgId", "value": "test005", "name": "MsgId", "description": "Custom header" }, { "key": "content-type", "value": "application/json", "name": "content-type", "description": "The mime type of this content" } ], "cookie": [], "body": "{\"account_application_id\":\"RAOP-0000000149-PROCESS\"}" } ] } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{token}}", "type": "string" } ] } }