|
6070 | 6070 | <nav id="scrollingNav"> |
6071 | 6071 | <ul class="sidenav nav nav-list"> |
6072 | 6072 | <li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li> |
6073 | | - <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>4.25.0</li> |
| 6073 | + <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>4.26.0</li> |
6074 | 6074 | <li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li> |
6075 | 6075 | <li data-group="Accounting" data-name="createAccount" class=""> |
6076 | 6076 | <a href="#api-Accounting-createAccount">createAccount</a> |
|
6324 | 6324 | <li data-group="Accounting" data-name="getBankTransfers" class=""> |
6325 | 6325 | <a href="#api-Accounting-getBankTransfers">getBankTransfers</a> |
6326 | 6326 | </li> |
| 6327 | + <li data-group="Accounting" data-name="getBatchPayment" class=""> |
| 6328 | + <a href="#api-Accounting-getBatchPayment">getBatchPayment</a> |
| 6329 | + </li> |
6327 | 6330 | <li data-group="Accounting" data-name="getBatchPaymentHistory" class=""> |
6328 | 6331 | <a href="#api-Accounting-getBatchPaymentHistory">getBatchPaymentHistory</a> |
6329 | 6332 | </li> |
@@ -19852,6 +19855,124 @@ <h2>Parameters</h2> |
19852 | 19855 | </div> |
19853 | 19856 | </div> |
19854 | 19857 | </td> |
| 19858 | +</tr> |
| 19859 | + |
| 19860 | + </table> |
| 19861 | + </article> |
| 19862 | + </div> |
| 19863 | + <hr> |
| 19864 | + <div id="api-Accounting-getBatchPayment"> |
| 19865 | + <article id="api-Accounting-getBatchPayment-0" data-group="User" data-name="getBatchPayment" data-version="0"> |
| 19866 | + <div class="pull-left"> |
| 19867 | + <h1>getBatchPayment</h1> |
| 19868 | + <p>Retrieves a specific batch payment using a unique batch payment Id</p> |
| 19869 | + </div> |
| 19870 | + <div class="pull-right"></div> |
| 19871 | + <div class="clearfix"></div> |
| 19872 | + <p></p> |
| 19873 | + <p class="marked"></p> |
| 19874 | + <p></p> |
| 19875 | + <br /> |
| 19876 | + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/BatchPayments/{BatchPaymentID}</span></code></pre> |
| 19877 | + <p> |
| 19878 | + <h3>Usage and SDK Samples</h3> |
| 19879 | + </p> |
| 19880 | + <ul class="nav nav-tabs nav-tabs-examples"> |
| 19881 | + <!-- *****REPLACE***** comment out the other languages <li> --> |
| 19882 | + <li class=""><a href="#examples-Accounting-getBatchPayment-0-javascript">Node</a></li> |
| 19883 | + </ul> |
| 19884 | + <div class="tab-content"> |
| 19885 | + <!-- *****REPLACE***** comment out the other languages tab-pane --> |
| 19886 | + <div class="tab-pane" id="examples-Accounting-getBatchPayment-0-javascript"> |
| 19887 | + <pre class="prettyprint"><code class="language-javascript">await xero.setTokenSet(tokenSet); |
| 19888 | + |
| 19889 | +const xeroTenantId = 'YOUR_XERO_TENANT_ID'; |
| 19890 | +const batchPaymentID = '00000000-0000-0000-0000-000000000000'; |
| 19891 | + |
| 19892 | +try { |
| 19893 | + const response = await xero.accountingApi.getBatchPayment(xeroTenantId, batchPaymentID); |
| 19894 | + console.log(response.body || response.response.statusCode) |
| 19895 | +} catch (err) { |
| 19896 | + const error = JSON.stringify(err.response.body, null, 2) |
| 19897 | + console.log(`Status Code: ${err.response.statusCode} => ${error}`); |
| 19898 | +}</code></pre> |
| 19899 | + </div> |
| 19900 | + </div> |
| 19901 | + <h2>Scopes</h2> |
| 19902 | + <table> |
| 19903 | + |
| 19904 | + <tr> |
| 19905 | + <td>accounting.transactions</td> |
| 19906 | + <td>Grant read-write access to bank transactions, credit notes, invoices, repeating invoices</td> |
| 19907 | + </tr> |
| 19908 | + |
| 19909 | + <tr> |
| 19910 | + <td>accounting.transactions.read</td> |
| 19911 | + <td>Grant read-only access to invoices</td> |
| 19912 | + </tr> |
| 19913 | + |
| 19914 | + </table> |
| 19915 | + <h2>Parameters</h2> |
| 19916 | + <div class="methodsubtabletitle">Path parameters</div> |
| 19917 | + <table id="methodsubtable"> |
| 19918 | + <tr> |
| 19919 | + <th width="150px">Name</th> |
| 19920 | + <th>Description</th> |
| 19921 | + </tr> |
| 19922 | + <tr><td style="width:150px;">BatchPaymentID<span style="color:red;">*</span></td> |
| 19923 | +<td> |
| 19924 | + |
| 19925 | + |
| 19926 | + <div id="d2e199_getBatchPayment_batchPaymentID"> |
| 19927 | + <div class="json-schema-view"> |
| 19928 | + <div class="primitive"> |
| 19929 | + <span class="type"> |
| 19930 | + UUID |
| 19931 | + </span> |
| 19932 | + <span class="format"> |
| 19933 | + (uuid) |
| 19934 | + </span> |
| 19935 | + |
| 19936 | + <div class="inner description marked"> |
| 19937 | +Unique identifier for BatchPayment |
| 19938 | + </div> |
| 19939 | + </div> |
| 19940 | + <div class="inner required"> |
| 19941 | + Required |
| 19942 | + </div> |
| 19943 | + </div> |
| 19944 | + </div> |
| 19945 | +</td> |
| 19946 | +</tr> |
| 19947 | + |
| 19948 | + </table> |
| 19949 | + <div class="methodsubtabletitle">Header parameters</div> |
| 19950 | + <table id="methodsubtable"> |
| 19951 | + <tr> |
| 19952 | + <th width="150px">Name</th> |
| 19953 | + <th>Description</th> |
| 19954 | + </tr> |
| 19955 | + <tr><td style="width:150px;">xero-tenant-id<span style="color:red;">*</span></td> |
| 19956 | +<td> |
| 19957 | + |
| 19958 | + |
| 19959 | + <div id="d2e199_getBatchPayment_xeroTenantId"> |
| 19960 | + <div class="json-schema-view"> |
| 19961 | + <div class="primitive"> |
| 19962 | + <span class="type"> |
| 19963 | + String |
| 19964 | + </span> |
| 19965 | + |
| 19966 | + <div class="inner description marked"> |
| 19967 | +Xero identifier for Tenant |
| 19968 | + </div> |
| 19969 | + </div> |
| 19970 | + <div class="inner required"> |
| 19971 | + Required |
| 19972 | + </div> |
| 19973 | + </div> |
| 19974 | + </div> |
| 19975 | +</td> |
19855 | 19976 | </tr> |
19856 | 19977 |
|
19857 | 19978 | </table> |
|
0 commit comments