Discussions

Ask a Question
Back to All

Please Give Live data of my HDFC Bank DEtails to verify

here example given kodak bank i need to hdfc bank what are the input data i need to give as below

FOR kodak For HDFC

1.bankcode:KKBK

2.accounts/1711650498

string url = "https://staging.eko.in:25004/ekoapi/v1/banks/bankcode:KKBK/accounts/1711650498";
string body = "initiator_id=9910028267&customer_id=8800776655&client_ref_id=AVS20181123144419311";

        var client = new RestClient(url);
        var request = new RestRequest(Method.POST);
        request.AddHeader("content-type", "application/x-www-form-urlencoded");
        request.AddHeader("cache-control", "no-cache");

        /*Adding developer key in header*/
        request.AddHeader("Postman-Token", "db8fca45-045a-4062-85a3-9e4c5f0271e0");
        request.AddHeader("cache-control", "no-cache");
        request.AddHeader("secret-key-timestamp", "1516705204593");
        request.AddHeader("secret-key", "MC6dKW278tBef+AuqL/5rW2K3WgOegF0ZHLW/FriZQw=");
        request.AddHeader("developer_key", "becbbce45f79c6f5109f848acd540567");

        request.AddParameter("application/x-www-form-urlencoded", body, ParameterType.RequestBody);
        IRestResponse response = client.Execute(request);
        var content = response.Content; /// Contains response from the server