Lune Insights API
To make use of the enriched transactions and gain real-time insights on your customers’ spending, raw transaction data and unique customer identifiers should be sent in bulk using the corresponding end points. Once received, the data is processed asynchronously in preparation for insights across value & volume of transactions across demographics and different time series.
Bulk upload customers' accounts
Bulk upload customers' accounts
AUTHORIZATIONS:
APIKey
REQUEST BODY SCHEMA :
application/json
Array [
account_number
string (Unique Customer identifier) [ 1 .. 36 ] charcters . A unique identifier, not necessary the bank account number e.g. it could be SHA-256 hashed value of the actual bank account number or any other value as long it is unique identifier of the customer
currency_code
string (Currency code) 3 charcters ISO currency code
account_holder_gender
string (Account holder gender) [ 1 .. 36 ] charcters
account_holder_dob
string (Account holder DOB) [ 1 .. 36 ] charcters
account_holder_nationality
string (Account holder nationality) 2 character ISO country code
account_holder_mobile
string (account_holder_mobile) [ 1 .. 36 ] charcters
]
Responses
- 201 Success
POST
https://api.lunedata.io/api/v1/accounts/
Payload
application/json
Content type
Bulk upload customers' transactions
Bulk upload customers' transactions
AUTHORIZATIONS:
APIKey
REQUEST BODY SCHEMA :
application/json
Array [
raw_description
required
string (Raw Description)
amount
required
float (Amount) >=1.0
local_id
required
string (Local ID is used to identify the transactions) [ 1 .. 36 ] charcters
transaction_id
string (Transaction ID) [ 1 .. 36 ] charcters
transaction_date
string (Transaction Date) [ 1 .. 36 ] charcters
mcc
string (Mcc) [ 1 .. 36 ] charcters
currency_code
string (Currency code) 3 charcters ISO currency code
account_number
string (Unique Customer identifier) [ 1 .. 36 ] charcters . A unique identifier, not necessary the bank account number e.g. it could be SHA-256 hashed value of the actual bank account number or any other value as long it is unique identifier of the customer
]
Responses
- 201 Success
POST
https://api.lunedata.io/api/v1/transactions/
Payload
application/json
Content type