{ "info": { "_postman_id": "7d2edb00-4f24-4079-a106-2f713473419f", "name": "Sandbox_OTPRequest", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "GenerateOTP_AccountPayment", "request": { "method": "POST", "header": [ { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}" }, { "key": "Content-Type", "value": "application/json" }, { "key": "MsgId", "value": "Test_091" }, { "key": "Authorization", "value": "Bearer {{token}}" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"otp_type\": \"DigInvestmentAccount\",\r\n \"to\": {\r\n \"customer_id_type\": \"CIF_ID\",\r\n \"customer_id\": \"1234567\",\r\n \"customer_type\": \"R\"\r\n },\r\n \"otp_metadata\": {\r\n \"account_type\": \"A\",\r\n \"account_id\": 1234567890123,\r\n \"value\": {\r\n \"currency\": \"AED\",\r\n \"amount\": \"5000\"\r\n }\r\n }\r\n}" }, "url": { "raw": "{{url}}/v1/otp_request/123/generate_and_send", "host": [ "{{url}}" ], "path": [ "v1", "otp_request", "123", "generate_and_send" ] } }, "response": [] }, { "name": "GenerateOTP_CardPayment", "request": { "method": "POST", "header": [ { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}" }, { "key": "Content-Type", "value": "application/json" }, { "key": "MsgId", "value": "Test_091" }, { "key": "Authorization", "value": "Bearer {{token}}" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"otp_type\": \"DigInvestmentCreditCard\",\r\n \"to\": {\r\n\t \"customer_id_type\": \"CIF_ID\",\r\n\t \"customer_id\": \"1234567\",\r\n\t \"customer_type\": \"R\"\r\n\t},\r\n \"otp_metadata\": {\r\n \"account_type\": \"C\",\r\n \"value\": {\r\n\t\t\"currency\": \"AED\",\r\n\t\t\"amount\": \"10000\"\r\n\t },\r\n \"masked_credit_card\": \"5123********3225\"\r\n }\r\n}" }, "url": { "raw": "{{url}}/v1/otp_request/123/generate_and_send", "host": [ "{{url}}" ], "path": [ "v1", "otp_request", "123", "generate_and_send" ] } }, "response": [] }, { "name": "RegenerateOTP_AccountPayment", "request": { "method": "POST", "header": [ { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}" }, { "key": "Content-Type", "value": "application/json" }, { "key": "MsgId", "value": "Test05" }, { "key": "Authorization", "value": "Bearer {{token}}" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"otp_type\": \"DigInvestmentAccount\",\r\n \"to\": {\r\n \"customer_id_type\": \"CIF_ID\",\r\n \"customer_id\": \"1234567\",\r\n \"customer_type\": \"R\"\r\n },\r\n \"otp_metadata\": {\r\n \"account_type\": \"A\",\r\n \"account_id\": 1234567890123,\r\n \"value\": {\r\n \"currency\": \"AED\",\r\n \"amount\": \"5000\"\r\n }\r\n }\r\n}" }, "url": { "raw": "{{url}}/v1/otp_request/123/regenerate_and_send", "host": [ "{{url}}" ], "path": [ "v1", "otp_request", "123", "regenerate_and_send" ] } }, "response": [] }, { "name": "RegenerateOTP_CardPayment", "request": { "method": "POST", "header": [ { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}" }, { "key": "Content-Type", "value": "application/json" }, { "key": "MsgId", "value": "Test05" }, { "key": "Authorization", "value": "Bearer {{token}}" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"otp_type\": \"DigInvestmentCreditCard\",\r\n \"to\": {\r\n \"customer_id_type\": \"CIF_ID\",\r\n \"customer_id\": \"1234567\",\r\n \"customer_type\": \"R\"\r\n },\r\n \"otp_metadata\": {\r\n \"account_type\": \"C\",\r\n \"value\": {\r\n \"currency\": \"AED\",\r\n \"amount\": \"5000\"\r\n },\r\n \"masked_credit_card\": \"5123********3225\"\r\n }\r\n}" }, "url": { "raw": "{{url}}/v1/otp_request/123/regenerate_and_send", "host": [ "{{url}}" ], "path": [ "v1", "otp_request", "123", "regenerate_and_send" ] } }, "response": [] }, { "name": "ValidateOTP_AccountPayment", "request": { "method": "POST", "header": [ { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}" }, { "key": "Content-Type", "value": "application/json" }, { "key": "MsgId", "value": "Test04" }, { "key": "Authorization", "value": "Bearer {{token}}" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"otp_type\": \"DigInvestmentAccount\",\r\n \"to\": {\r\n\t \"customer_id_type\": \"CIF_ID\",\r\n\t \"customer_id\": \"1234567\",\r\n\t \"customer_type\": \"R\"\r\n\t},\r\n \"otp\":\"223344\",\r\n \"otp_metadata\": {\r\n \"account_type\": \"A\",\r\n \"account_id\": \"1234567890123\",\r\n \"value\": {\r\n\t \"currency\": \"AED\",\r\n \"amount\": \"5000\"\r\n\t}\r\n }\r\n}" }, "url": { "raw": "{{url}}/v1/otp_request/123/validate", "host": [ "{{url}}" ], "path": [ "v1", "otp_request", "123", "validate" ] } }, "response": [] }, { "name": "ValidateOTP_CardPayment", "request": { "method": "POST", "header": [ { "key": "X-IBM-Client-Id", "value": "{{Client_Id}}" }, { "key": "Content-Type", "value": "application/json" }, { "key": "MsgId", "value": "Test04" }, { "key": "Authorization", "value": "Bearer {{token}}" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"otp_type\": \"DigInvestmentCreditCard\",\r\n \"to\": {\r\n \"customer_id_type\": \"CIF_ID\",\r\n \"customer_id\": \"1234567\",\r\n \"customer_type\": \"R\"\r\n },\r\n \"otp_metadata\": {\r\n \"account_type\": \"C\",\r\n \"value\": {\r\n \"currency\": \"AED\",\r\n \"amount\": \"50.05\"\r\n },\r\n \"masked_credit_card\": \"5123********3225\"\r\n },\r\n \"otp\": \"19563\"\r\n}" }, "url": { "raw": "{{url}}/v1/otp_request/123/validate", "host": [ "{{url}}" ], "path": [ "v1", "otp_request", "123", "validate" ] } }, "response": [] } ] }