{"id":83767,"date":"2018-11-22T10:00:02","date_gmt":"2018-11-22T08:00:02","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=83767"},"modified":"2019-01-17T13:57:24","modified_gmt":"2019-01-17T11:57:24","slug":"j2pay-getting-started","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html","title":{"rendered":"J2Pay &#8211; Getting Started"},"content":{"rendered":"<p>Getting started will guide you how to start using J2pay quickly in very simple steps.<\/p>\n<p><strong>Download<\/strong><\/p>\n<p>J2Pay is available on maven.<\/p>\n<pre class=\"brush:xml\">&lt;dependency&gt;\n        &lt;groupId&gt;com.tranxactive&lt;\/groupId&gt;\n        &lt;artifactId&gt;j2pay&lt;\/artifactId&gt;\n        &lt;version&gt;2.4.0&lt;\/version&gt;\n    &lt;\/dependency&gt;<\/pre>\n<p>You can also download the jar file <a href=\"https:\/\/repo1.maven.org\/maven2\/com\/tranxactive\/j2pay\/\" target=\"_blank\" rel=\"noopener\">here<\/a><\/p>\n<p><strong>Example<\/strong><\/p>\n<p>In this example we will execute <b>Purchase<\/b> and <b>Rebill<\/b> transactions. First we will get the desired gateway i.e Authorize<\/p>\n<pre class=\"brush:java\">Gateway gateway = GatewayFactory.getGateway(AvailableGateways.AUTHORIZE);<\/pre>\n<p>Since we are working on test environment we will enable the test mode.<\/p>\n<pre class=\"brush:java\">gateway.setTestMode(true);<\/pre>\n<p>Next we will ask for the library to show us what are the API paramters for this gateway<\/p>\n<pre class=\"brush:java\">JSONObject apiSampleParameters = gateway.getApiSampleParameters();\n    System.out.println(apiSampleParameters)\n    \n    \/\/output\n    {\"name\":\"also called api user name \/ api login id\",\"transactionKey\":\"the transaction key\"}<\/pre>\n<p>As we can see in output, library is telling us that Authorize gateway requires two API parameters name and transactionKey. Now we will populate these fields by our merchant values.<\/p>\n<pre class=\"brush:java\">apiSampleParameters.put(\"name\", \"&lt;your account's user name here&gt;\");\n    apiSampleParameters.put(\"transactionKey\", \"&lt;your account's transaction key here&gt;\");<\/pre>\n<p>Next we will use Customer and CustomerCard classes to pass the information to purchase method<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<pre class=\"brush:java\">Customer customer = new Customer();\n        \n    customer\n        .setFirstName(\"test first name\")\n        .setLastName(\"test last name\")\n        .setCountry(Country.US)\n        .setState(\"TX\")\n        .setCity(\"test city\")\n        .setAddress(\"test address\")\n        .setZip(\"12345\")\n        .setPhoneNumber(\"1234567890\")\n        .setEmail(\"email@domain.com\")\n        .setIp(\"127.0.0.1\");\n        \n    CustomerCard customerCard = new CustomerCard();\n    \n    customerCard\n        .setName(\"test card name\")\n        .setNumber(\"5424000000000015\") \/\/Authorize test card\n        .setCvv(123)\n        .setExpiryMonth(\"01\")\n        .setExpiryYear(\"2022\");<\/pre>\n<h2>Purchase<\/h2>\n<p>We are all set to call purchase method<\/p>\n<pre class=\"brush:java\">HTTPResponse purchaseResponse = gateway.purchase(apiSampleParameters, customer, customerCard, Currency.USD, 2.5f);<\/pre>\n<h2>Handling Purchase Response<\/h2>\n<p>Now we can check whether the transaction was success or fail.<\/p>\n<pre class=\"brush:java\">if(purchaseResponse.isSuccessful()){\n        \/\/some code\n    }<\/pre>\n<p>To print out the full response see below snippet<\/p>\n<pre class=\"brush:js\">System.out.println(purchaseResponse.getJSONResponse());\n    \n    \/\/output\n    {\n        \"lr\": {\n            \"success\": true,\n            \"message\": \"SUCCESS\",\n            \"transactionId\": \"3902990127\",\n            \"amount\": 45,\n            \"cardExpiryYear\": \"2017\",\n            \"cardFirst6\": \"601160\",\n            \"cardExpiryMonth\": \"12\",\n            \"maskedCard\": \"601160******6611\",\n            \"rebillParams\": {\n                \"customerVaultId\": \"174302554\"\n            },        \n            \"voidParams\": {\n                \"transactionId\": \"3902990127\"\n            },\n            \"currencyCode\": \"USD\",\n            \"cardLast4\": \"6611\",\n            \"refundParams\": {\n                \"transactionId\": \"3902990127\"\n            }\n        },\n        \"gr\": { \/\/ long gateway response }\n    }<\/pre>\n<h2>Note<\/h2>\n<p>Response is defined in great detail in <a href=\"http:\/\/www.j2pay.org\/api_responses.php\">API Responses section.\u00a0<\/a>For this example the only thing you should to know is gateway response is divided into two keys.<\/p>\n<ol>\n<li>lr, library response<\/li>\n<li>gr, gateway response<\/li>\n<\/ol>\n<p>Library response only contains the values that library thinks important for you and could be useful for further actions like refund\/void\/rebill. Keep in mind library response has already prepared the parameters required for further actions on this transaction. i.e. refund, rebill or void.<\/p>\n<h2>Rebill<\/h2>\n<p>Remember, we saved the purchase respons in purchaseResponse variable. Below is the code showing how to execute rebill transaction in just two lines.<\/p>\n<pre class=\"brush:java\">JSONObject rebillParams = purchaseResponse.getJSONObject(\"lr\").getJSONObject(\"rebillParams\");    \nHTTPResponse rebillResponse = gateway.rebill(apiSampleParameters, rebillParams, 50);<\/pre>\n<p>Congratulations on complete getting started guide. Please feel free to write us on\u00a0<a href=\"mailto:info@tranxactive.com\">info@tranxactive.com<\/a><\/p>\n<p>You can also see the detailed example\u00a0<a href=\"http:\/\/www.j2pay.org\/example.php\">here<\/a>.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>Published on Java Code Geeks with permission by Muhhamad Ilyas, partner at our <a href=\"\/\/www.javacodegeeks.com\/join-us\/jcg\/\" target=\"_blank\" rel=\"noopener\">JCG program<\/a>. See the original article here: <a href=\"http:\/\/j2pay.tranxactive.com\/getting-started.php\" target=\"_blank\" rel=\"noopener\">Getting Started<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Getting started will guide you how to start using J2pay quickly in very simple steps. Download J2Pay is available on maven. &lt;dependency&gt; &lt;groupId&gt;com.tranxactive&lt;\/groupId&gt; &lt;artifactId&gt;j2pay&lt;\/artifactId&gt; &lt;version&gt;2.4.0&lt;\/version&gt; &lt;\/dependency&gt; You can also download the jar file here Example In this example we will execute Purchase and Rebill transactions. First we will get the desired gateway i.e Authorize Gateway &hellip;<\/p>\n","protected":false},"author":36887,"featured_media":73,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1823,670],"class_list":["post-83767","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-j2pay","tag-maven"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>J2Pay - Getting Started - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Interested to learn about J2Pay? Check our article introducing a getting started will guide you how to start using J2pay quickly in very simple steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"J2Pay - Getting Started - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Interested to learn about J2Pay? Check our article introducing a getting started will guide you how to start using J2pay quickly in very simple steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/muhammad.ilyas.756412\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-22T08:00:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-17T11:57:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Muhammad Ilyas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Muhammad Ilyas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html\"},\"author\":{\"name\":\"Muhammad Ilyas\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/1a01767a4d8df4dc489c5358581145ad\"},\"headline\":\"J2Pay &#8211; Getting Started\",\"datePublished\":\"2018-11-22T08:00:02+00:00\",\"dateModified\":\"2019-01-17T11:57:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html\"},\"wordCount\":326,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"keywords\":[\"J2Pay\",\"Maven\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html\",\"name\":\"J2Pay - Getting Started - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"datePublished\":\"2018-11-22T08:00:02+00:00\",\"dateModified\":\"2019-01-17T11:57:24+00:00\",\"description\":\"Interested to learn about J2Pay? Check our article introducing a getting started will guide you how to start using J2pay quickly in very simple steps.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-maven-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2018\\\/11\\\/j2pay-getting-started.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"J2Pay &#8211; Getting Started\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/1a01767a4d8df4dc489c5358581145ad\",\"name\":\"Muhammad Ilyas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fda302610ed7b18fbe45e22ceee70735b16e928a11617633749eb74631eba46d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fda302610ed7b18fbe45e22ceee70735b16e928a11617633749eb74631eba46d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fda302610ed7b18fbe45e22ceee70735b16e928a11617633749eb74631eba46d?s=96&d=mm&r=g\",\"caption\":\"Muhammad Ilyas\"},\"description\":\"Muhammad is a senior Software Engineer having expertise in famous programming languages like Java, php, c#, perl. He has also worked on mysql and mongodb. He is a co-founder of J2pay.\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/muhammad.ilyas.756412\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/muhammad-ilyas-2012\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/muhammad-ilyas\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"J2Pay - Getting Started - Java Code Geeks","description":"Interested to learn about J2Pay? Check our article introducing a getting started will guide you how to start using J2pay quickly in very simple steps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html","og_locale":"en_US","og_type":"article","og_title":"J2Pay - Getting Started - Java Code Geeks","og_description":"Interested to learn about J2Pay? Check our article introducing a getting started will guide you how to start using J2pay quickly in very simple steps.","og_url":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"https:\/\/www.facebook.com\/muhammad.ilyas.756412","article_published_time":"2018-11-22T08:00:02+00:00","article_modified_time":"2019-01-17T11:57:24+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","type":"image\/jpeg"}],"author":"Muhammad Ilyas","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Muhammad Ilyas","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html"},"author":{"name":"Muhammad Ilyas","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/1a01767a4d8df4dc489c5358581145ad"},"headline":"J2Pay &#8211; Getting Started","datePublished":"2018-11-22T08:00:02+00:00","dateModified":"2019-01-17T11:57:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html"},"wordCount":326,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","keywords":["J2Pay","Maven"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html","url":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html","name":"J2Pay - Getting Started - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","datePublished":"2018-11-22T08:00:02+00:00","dateModified":"2019-01-17T11:57:24+00:00","description":"Interested to learn about J2Pay? Check our article introducing a getting started will guide you how to start using J2pay quickly in very simple steps.","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-maven-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2018\/11\/j2pay-getting-started.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"J2Pay &#8211; Getting Started"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/1a01767a4d8df4dc489c5358581145ad","name":"Muhammad Ilyas","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fda302610ed7b18fbe45e22ceee70735b16e928a11617633749eb74631eba46d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fda302610ed7b18fbe45e22ceee70735b16e928a11617633749eb74631eba46d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fda302610ed7b18fbe45e22ceee70735b16e928a11617633749eb74631eba46d?s=96&d=mm&r=g","caption":"Muhammad Ilyas"},"description":"Muhammad is a senior Software Engineer having expertise in famous programming languages like Java, php, c#, perl. He has also worked on mysql and mongodb. He is a co-founder of J2pay.","sameAs":["https:\/\/www.facebook.com\/muhammad.ilyas.756412","https:\/\/www.linkedin.com\/in\/muhammad-ilyas-2012\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/muhammad-ilyas"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/83767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/36887"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=83767"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/83767\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/73"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=83767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=83767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=83767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}