API – Get Customer Bank Account Information
Introduction
To retrieve customer bank account information through the API, you will need to send a GET request to the /Loans() endpoint. You can expand the regular loan endpoint to include the bank account information with the $expand token. This URL is unique to each loan because it includes their individual loan ID. This example endpoint is for a loan ID of 2:
GET https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(id=2)?$expand=Customers/PaymentAccounts/CheckingAccount
More information on that $expand token
The "$expand" expression is an example of an endpoint parameter. These are used to filter the results you receive from endpoint requests; or, like in this instance, they can also expand upon endpoint requests. If you would like to learn more about endpoint parameters, check out our API - Paginating Results article.
You can also try this request yourself on our ReadMe page—an interactive API documentation page which lists each of our requests.