
Configuration Overview
When setting up a data connector, you’ll need to define the following components:1
Headers
Key-value pairs that are included in the request, often used for authentication.
2
Query Parameters
URL parameters that customize the request (e.g., filtering, pagination).
3
Body
Optional data payload to send with the request (for POST/PUT requests).
4
Request URL
The endpoint where the data will be fetched from.
5
Response Mapping
Mapping the response data from your platform to the corresponding fields in Lehjah.
Data Types and Request Samples
Lehjah supports various data types that can be pulled from your platform. Below are the available data types and their configuration requirements:1. Business Profile
This data type pulls the business profile information from your platform.Business profile data connection is mandatory for the widget embedding to work. As the user (i.e business) will be authorized based on your platform authorization token.
Business profile mapping keys
2. Wallets
This data type retrieves all wallets associated with a business.Wallet mapping keys
3. Invoices
This data type fetches invoices from your platform.4. Bills
This data type retrieves bills for the business.5. Transactions (Bank or Wallet)
This data type pulls bank transactions that correspond to payments.Transaction keys
6. Inventory Items
This data type retrieves inventory items from your platform.Inventory item keys