Get Statement HTML
Overview
Get a statement HTML using statement ID. 1
Endpoint URL
https://api-s.nolantechnologies.com/v0/banking/statements/:{statementId}?format=html
Endpoint Data
| Parameter Name | Description |
|---|---|
statementId |
Unit statement ID |
Example Request
curl -i -X GET "https://api-s.nolantechnologies.com/v0/banking/statements/12345?format=html" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Nolan-API-Key: YourNolanApiKey"
Example Response
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 332
ETag: W/"14c-PIXt+3CWLR/8LXvJ5oHPfhWsbyg"
Date: Sat, 23 Sep 2023 20:51:38 GMT
Connection: keep-alive
Keep-Alive: timeout=5
{
"data": {
"html":
"<!DOCTYPE html><html lang=\"en\"><head> <title>Statement</title> <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\" /> <meta charset=\"UTF-8\"/> <style> @font-face { font-family: custom-font; src: url(''); }body { font-family: custom-font, \"Open Sans\", sans-serif; line-height: 1.25; margin: 32px;}.row { display: flex; flex-direction: row; margin-top: 50px; max-width: 50%; break-inside: avoid; }table { border-collapse: collapse; margin: 0; padding: 0; width: 100%; table-layout: fixed;}table caption { font-size: 1.5em; margin: .5em 0 .75em; text-align: left;}table tr { background-color: white; border-bottom: 1px solid #ddd; padding: .35em;}table th,table td { padding: .625em; text-align: left;}table th { color: black; font-size: .85em; letter-spacing: .1em; text-transform: uppercase;}.column { float: left; width: 50%;}/* Clear floats after the columns */.row:after { content: \"\"; display: table; clear: both;}@media screen and (max-width: 900px) {.row { max-width: none; } table { border: 0; } table caption { font-size: 1.3em; } table thead { border: none; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } table tr { border-bottom: 3px solid #ddd; display: block; margin-bottom: .625em; } table td { border-bottom: 1px solid #ddd; display: block; font-size: .8em; text-align: right; min-height: 1em; } table td::before { /* * aria-label has no advantage, it won't be read inside a table content: attr(aria-label); */ content: attr(data-label); float: left; font-weight: bold; text-transform: uppercase; } table td:last-child { border-bottom: 0; } .column { width: 100%; }}.customer-name { margin: 1.5rem 0; font-size: 1.8em; min-height: 2.5rem; font-weight: 600; display: flex; align-items: start;}.address { white-space: pre-line;}.account-number { border-left: 1px solid #C4C4C4; margin-left: 1rem; padding-left: 1rem; font-size: 1rem; font-weight: 700;}.account-number > div { font-weight: 400; font-size: 0.75em;}.details-row { display: flex; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #ddd; margin-top: 20px;}.header-row { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center;}.statement-period, .bank-column { width: 18rem;}.bank-column { margin: 4.5rem 0 1.8rem;}@media screen and (max-width: 600px) { .statement-period, .bank-column { width: initial; }}.statement-period-title { font-size: 0.75em;}.statement-period-dates { font-size: 1em; font-weight: 700;}.transaction-table { margin-top: 1rem;} </style></head><body> <div class=\"header-row\"> <div class=\"statement-period\"> <div class=\"statement-period-title\">Statement Period</div> <div class=\"statement-period-dates\"> Jul 01 2023 - Jul 31 2023 </div> </div> </div> <div class=\"details-row\"> <div class=\"customer-column\"> <div class=\"customer-name\"> Caleb Wiley <div class=\"account-number\"> <div>Account</div> <span style=\"font-family: monospace;\">10XXXX2721 </span></div> </div> <p> <b>Address</b> <br/> <span class=\"address\">Secret Address Do Not Share259Dallas, NV, 75067US</span> </p> </div> <div class=\"bank-column\"> <div> <p> <b>Bank</b> <br/> <span class=\"address\">1600 Pennsylvania Avenue NorthwestWashington, CA, 20500US</span> </p> </div> </div> </div> <table class=\"transaction-table\"> <caption>Statement Summary</caption> <thead> <tr> <th scope=\"col\">Date</th> <th scope=\"col\" style=\"width: 35%;\">Description</th> <th scope=\"col\">Withdrawals / Debit</th> <th scope=\"col\">Deposits / Credit</th> <th scope=\"col\">Balance</th> </tr> </thead> <tbody> <tr class=\"open-row\"> <td data-label=\"Date\">Jul 01</td> <td data-label=\"Description\"><b>Opening Balance</b></td> <td data-label=\"Withdrawals / Debit\"></td> <td data-label=\"Deposits / Credit\"></td> <td data-label=\"Balance\"><b>150.00</b></td> </tr> <tr class=\"close-row\"> <td data-label=\"Date\">Jul 31</td> <td data-label=\"Description\"><b>Closing Balance</b></td> <td data-label=\"Withdrawals / Debit\"></td> <td data-label=\"Deposits / Credit\"></td> <td data-label=\"Balance\"><b>150.00</b></td> </tr> </tbody> </table> <div class=\"row\"> <table class=\"fee-table\"> <caption>Fees Summary</caption> <thead> <tr> <th scope=\"col\">Type</th> <th scope=\"col\">Total for this period</th> </tr> </thead> <tbody> <tr> <td data-label=\"Type\">Fees</td> <td data-label=\"Total for this period\">0.00</td> </tr> </tbody> </table> </div> <div class=\"row\" style=\"display: none;\" > <table class=\"fee-table\"> <caption>Interest</caption> <thead> <tr> <th scope=\"col\">Type</th> <th scope=\"col\">Total for this period</th> </tr> </thead> <tbody> <tr> <td data-label=\"Type\">Interest Accrued This Period</td> <td data-label=\"Interest Accrued This Period\">0.00</td> </tr> <tr> <td data-label=\"Type\">Days In Period</td> <td data-label=\"Days In Period\">31</td> </tr> <tr> <td data-label=\"Type\">Annual Percentage Yield Earned</td> <td data-label=\"Annual Percentage Yield Earned\">0.00%</td> </tr> </tbody> </table> </div> <div style=\"clear:both; margin-top: 50px;\"> <h5>IN CASE OF ERRORS OR QUESTIONS ABOUT YOUR CONSUMER ELECTRONIC TRANSFERS</h5> <p> In case of errors or questions about your electronic transactions, call (602) 671-6704 or send an email at [email protected] if you think your statement or receipt is wrong or if you need more information about a transaction listed in the statement or receipt. </p> <p> We must hear from you no later than 60 days after we sent you the FIRST statement on which the error or problem appeared. </p> You will need to provide us: <ol type=\"a\"> <li>Your name, account number and/or 16-digit Card number</li> <li>Describe the error of the transfer you are unsure about and explain in detail why you believe there is an error or why you need more information. </li> <li>Include the dollar amount of the suspected error.</li> </ol> <p> If you provide this information verbally, we may require that you send your complaint or question in writing within ten (10) business days. We will determine whether an error occurred within ten (10) business days after we hear from you and will correct any error promptly. If we need more time, however, we may take up to forty- five (45) days to investigate your complaint or question. If we decide to do this, we will credit your Account within ten (10) business days for the amount you think is in error, so that you will have use of the money during the time it takes to complete the investigation. If we ask you to put your complaint or question in writing and you do not provide it within ten (10) business days, we may not credit your Account. </p> <p> For errors involving a new Account, POS transactions or foreign-initiated transactions, we may take up to ninety (90) days to investigate your complaint or question. For new accounts, we may take up to twenty (20) business days to credit your Account for the amount you think is in error. We will notify you with the results within three (3) business days after completing the investigation. If we decide that there was no error, we will send you a written explanation. You may request copies of the documentation used in the investigation </p> <h5>IN CASE OF ERRORS OR QUESTIONS ABOUT YOUR STATEMENT</h5> <p> If you think your statement is incorrect, or if you need more information about a transaction on your statement, notify us immediately.</p> <p> We must hear from you no later than 60 days after we sent you the first statement on which the error or problem appeared. You can call us, but doing so will not preserve your rights.</p> You will need to provide us: <ol type=\"a\"> <li>Your name, account number and/or 16-digit Card number</li> <li>Describe the error of the transfer you are unsure about and explain in detail why you believe there is an error or why you need more information. </li> <li>Include the dollar amount of the suspected error.</li> </ol> <p> You do not have to pay any amount in question while we are investigating, but you are still obligated to pay the amounts of your bill that are not in question. While we investigate your inquiry we cannot report you as delinquent or take any action to collect the amount in question. </p> </div></body></html>"
}
}
-
Read more about this endpoint in the Unit API docs ↩