FinAPIFinAPI aims to provide a simple-to-use and easy-to-implement API for managing financial and insurance-related data.
FinAPI defines:
This is achieved through three prime directives:
To obtain your own JWT Payload and Private Key, please complete the Onboarding Form.
A JWT is needed to make an authenticated API call.
Quick Tip: Be sure to check out the Schemas in the OpenAPI docs to see which info you can get.
Typically, there are four use cases:
Useful if you are currently reviewing a contract and want to ensure it's up to date
Use the contract-list/?id-list=123,43948,123 endpoint
Useful if you want to give the user an overview of all his contracts
Use the contract-list/?holder-id=123 endpoint
Useful if you want to keep your local data up to date periodically
This requires two API calls:
If you are a provider and want to implement your own FinAPI, you can use the OpenAPI docs to see what endpoints are available.
Going Live:
https://finapi.your-company.comhttps://finapi.your-company.com/onboarding/
Validation:
_. For example, if a provider wants its FinAPI users to know if a client has
ever been in debt, they could add a property like _hasEverBeenInDebt to the
client endpoint.
Important: Nested Object properties prefixed with an _ are
possible but discouraged.
Yes, if a contract gets terminated, it should still be transferred with the appropriate status.
In Short: Pagination adds complexity for both the consumer and provider sides, which contradicts two of our prime directives: "Easy to implement" and "Simple to use." Moreover, our updated endpoints can handle over 50,000 entries in a single call, making pagination unnecessary.
Longer Explanation: Assuming a cautious 5MB limit to facilitate seamless
serverless function usage, about 1.2 million characters are available under UTF-8
encoding. By only transferring IDs (averaging about 20 characters each) of, for example,
contracts that have changed, we can safely transfer more than 50,000 IDs in one go.
Therefore, no pagination is needed for the updated endpoints in 99.9% of the cases.
If a single consumer has significantly more than 50,000 updated contracts, they can either
make multiple requests using different time frames or use a server with a higher response
limit than typical serverless functions. Both options are simpler than implementing
pagination.
We recommend storing foreign IDs, such as the contract ID from a foreign system, in your local contract data (for example, as `foreignId`) to help keep your local data synchronized with the foreign system.