diff --git a/documents/account.md b/documents/account.md index 265def18..dfc2a68c 100644 --- a/documents/account.md +++ b/documents/account.md @@ -407,7 +407,7 @@ Account account = instance.account.fetch(accountId); String accountId = "acc_M83Uw27KXuC7c8"; JSONObject request = new JSONObject(); -request.put("files","/Users/your_name/Downloads/sample_uploaded.pdf"); +request.put("files","/Users/your_name/Downloads/sample_uploaded.jpeg"); request.put("document_type","business_proof_url"); Account account = instance.account.uploadAccountDoc(accountId, request); diff --git a/src/test/java/com/razorpay/AccountClientTest.java b/src/test/java/com/razorpay/AccountClientTest.java index 3f81fd65..6ebba9dc 100644 --- a/src/test/java/com/razorpay/AccountClientTest.java +++ b/src/test/java/com/razorpay/AccountClientTest.java @@ -235,7 +235,7 @@ private String getResponse(String account_id) { @Test public void uploadAccountDoc() throws RazorpayException { JSONObject request = new JSONObject(); - request.put("files","/Users/your_name/Downloads/sample_uploaded.pdf"); + request.put("files","/Users/your_name/Downloads/sample_uploaded.jpeg"); request.put("document_type","business_proof_url"); JSONObject mockedResponseJson = new JSONObject();