APIs
The client offers many APIs to communicate with Faire AI services. They are described below.
Persons
Operations on person entities:
POST - /persons
: create a personGET - /persons
: get all personsGET - /persons/{personId}
: get a personPUT - /persons/{personId}
: update a personDELETE - /persons/{personId}
: delete a person
Accounts
Operations on account entities:
POST - /accounts
: create new accountGET - /accounts
: get accounts of a personGET - /accounts/{accountId}
: get accountDELETE - /accounts/{accountId}
: delete accountPATCH - /accounts/{accountId}
: update account operationsPOST - /accounts/{accountId}/transactions
: add transaction to existing accountGET - /accounts/{accountId}/transactions
: get transactions by accountPUT - /accounts/{accountId}/transactions/{transactionId}/recurrence
: update transaction recurrencePUT - /accounts/{accountId}/transactions/{transactionId}/category
: update transaction categoryGET - /accounts/transactions/categories
: list all categories
Account Connections
Operations on account connection entities:
POST - /account-connections
: initialize account connectionGET - /account-connections
: return all account connectionsGET - /account-connections/{id}
: return an account connection
KPIs
GET - /kpis
: get person or account KPIsGET - /kpis/list
: list all available KPIs
Loan Products
Operations on loan product entities:
POST - /loan-products
: create a loan productGET - /loan-products
: get all loan productGET - /loan-products/{loanProductId}
: get a loan productPUT - /loan-products/{loanProductId}
: update a loan productPATCH - /loan-products/{loanProductId}/scheduled-activation
: change loan product scheduled activationGET - /loan-products/{loanProductId}/simulation
: get loan simulationPATCH - /loan-products/{loanProductId}/status
: change loan product status to active or inactive
Loans
Operations on loan entities:
POST - /loans
: create a new loanGET - /loans
: retrieve the loansGET - /loans/{loanId}
: retrieve a loanPATCH - /loans/{loanId}
: update loanPATCH - /loans/{loanId}/instalments/{instalmentReference}
: repay instalment
Additional information
For additional information visit Faire AI documentation.