sfs

sfs


Get Bank Records

<h4>Description</h4> <p>Get bank transaction record</p> <h4>Request URL</h4> <p>/api/get-bank-transactions</p> <h4>Reuqest Method</h4> <h4>Parameters</h4> <table> <thead> <tr> <th>Parameter Name</th> <th>Required</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>access_token</td> <td>true</td> <td>string</td> </tr> <tr> <td>status</td> <td>false</td> <td>int</td> <td>Status 1 for matched bank record, 0 for unmatched record.</td> </tr> <tr> <td>payment_type</td> <td>false</td> <td>int</td> <td>type of payment student is currently using, 0 for payment gateway, 1 for card deduction, 2 for offline payment</td> </tr> <tr> <td>charge</td> <td>false</td> <td>int</td> </tr> </tbody> </table> <h4>Response Example</h4> <pre><code class="language-json">{ "code": 200, "message": "", "data": [ { "id": 123124, "charge": 10000, "desc": "1233123123231(for payment id, formally this is just a number)", "status_id": 0, "payment_type": 0 }, { "id": 123125, "charge": 50000, "desc": "1233123123232(for payment id, formally this is just a number)", "status_id": 0, "payment_type": 1 }, { "id": 123123, "charge": 50000, "desc": "住宿费 学费", "status_id": 0, "payment_type": 2 } ] } </code></pre> <h4>Response Parameter Description</h4> <table> <thead> <tr> <th>Parameter Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>int</td> </tr> <tr> <td>charge</td> <td>int</td> </tr> <tr> <td>desc</td> <td>string</td> <td>when using payment gateway or card deduction, the desc will be the payment id that the sfs provide to bank when the payment is generated, the id will be able to match sfs payment to generate final transaction inside sfs. If using offline payment, the desc will be whatever the student add to appendix in the process of charing.</td> </tr> <tr> <td>status</td> <td>int</td> <td>Status 1 for matched bank record, 0 for unmatched record.</td> </tr> <tr> <td>payment_type</td> <td>int</td> <td>type of payment student is currently using, 0 for payment gateway, 1 for card deduction, 2 for offline payment</td> </tr> </tbody> </table>

页面列表

ITEM_HTML