This document provide guidance for setting up Checkout API backend integration
Step 1 - Demo Account
Partner systems should create a demo account for Lendica on a sandbox server to test the integration. The account created for Lendica should have a company_name
and partner_company_uuid
that Lendica can use to initialize the company in our system. Lendica should also be able to create an invoice to test the checkout feature with.
Step 2 - API key
Universal Token
Lendica should receive a static universal API Key that can authenticate requests for company and invoice data from partner APIs using object IDs. Lendica will store this key in our environment and use it to authenticate requests to partner APIs.
An example request may be:
GET /api/company/{partner_company_uuid}
to get company details, authenticated using Lendica's universal key.
Per-Company Tokens
If the existing API uses different API keys for each company, this key should be available via an API endpoint that Lendica is authorized to request.
Step 3 - Test and Go Live
Lendica will develop the backend integration, and ensure that data is pulled as expected. After a short period of testing on the sandbox server, we are ready to go live!