AWS S3 Payment data Integration

AWS S3 Payment data Integration

The Odyssey platform offers multiple ways to integrate mini-grid and solar home system electricity payment data depending on the data source.  Integrating this data makes it available for the following purposes:

  1.  Enabling the remote verification of connections required by some results-based financing programs.
    1.  To learn more about submitting connections and using remote verification, please refer to the Odyssey user guide.
  2. Enable analytics and visualizations of the data via Odyssey’s Analytics platform; providing insights into the operations across your mini-grid sites or solar home system installations; and joined with other data on the Odyssey platform.
  3. Sharing operating data with other users of the Odyssey platform, such as investors or financing program administrators.
    1. When you share, what you share, and who you share with, is entirely up to you and controllable via the Odyssey Project Sharing User Interface. 

AWS S3 Integration



Integration Set-Up

  1. Obtain credentials for accessing S3.  
    1. Send an email to support@odysseyenergsolutions.com directly with the financing facility or initiative you are participating in and request that your credentials be created.
    2. Once completed, you will have;                                     
  1. An Access Key ID
  2. A Secret Access Key
  3. Analytics access in Odyssey
       2. Set up and schedule your integration in the Odyssey platform
  1. Navigate to Analytics > Data Integrations
  2. On the API Data Integrations tab, click the Create button
  3. Complete the following data;
  1. Dataset Name
  2. Choose ODYSSEY as The Data Provider
  3. Choose AWS S3 as the Data Source
  4. Chose Electricity Payments for the Dataset Type
  5. Choose Target - Select either the Program-Level or Project-level optionThis will create one bucket for all of your payment data that will be used for verification. 
If you are integrating your mini-grid data, select the Project-level option. If you are integrating distributed assets (i.e. SHS) select the Program-level option. 

Note:
1. You can download the ELECTRICITY_PAYMENT.csv file by clicking the link 
2. Your IT team is to automatically push your payment data from your CRM using the fields on the CSV file. 
3. Once set up, the integration will run daily, and ingest the file posted to the S3 Bucket specified.

Please note that manual uploads of the CSV file are not allowed


ii) Posting Data to S3

The integration will run daily and ingest the data into the Odyssey Analytics platform.

The file must meet the following specifications to be ingested:
1. The file must be saved as a .csv format.
2. The file must be named ELECTRICITY_PAYMENT.csv as shown in the file path
3. The file must contain the header names included in the sample file (see file definition below).
4. You can use the AWS REST APIs to post data to the S3 bucket for each project.
5. Once the file has been ingested, it will be moved to a sub-directory called Processed ; if there is an error processing the file it will be moved to a sub-directory called Error .

FIELD NAMEDESCRIPTIONREQUIRED?
EXAMPLE
IDUnique ID for the paymentRequired
UC45678
TIMESTAMPDate and time for the readingRequired


Time of payment in UTC timezone using ISO 8601 format
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

2021-05-16T14:16:01
PAYMENT_AMOUNTAmount paidRequired
5000
PAYMENT_CURRENCYThe currency of the transactionRequired
Naira
TRANSACTION_TYPEPossible values: FULL_PAYMENT, INSTALLMENT_PAYMENT, NON_CONTRACT_PAYMENT, DISCOUNT, REVERSAL, ENERGY_CREDITRequired
INSTALLMENT_PAYMENT
TRANSACTION_CHARGESCharges associated with the transactionNot Required
1000
REFERENCE_IDPayment reference IDNot Required

CUSTOMER_IDThe customer ID of the user of the device (SHS device or mini-grid meter). This may be required by the financing organization in order to verify the sale.Required
45987
METER_ID
This is the serial number of the stand alone solar system

The system serial number will serve as the primary identifier in this program.

Required – For remote verification, this must match the external_id value entered in the connections section of the project. Learn more about verification here
Required
45987
CUSTOMER_NAMEName of the customerRequired
John Doe
CUSTOMER_PHONEPhone number of the user of the deviceRequired

+2344567890
CUSTOMER_CATEGORYCategory of the customer who uses the property applicable Required Description device. Dependent on the provider.
Not Required
Public, Prepaid, Residential, Commercial, Business, etc
FINANCING_IDID specific to the financing provider or program.Not Requiried
FIN-ASSET-4567
AGENT_IDThe agent facilitating the transaction, such as a sales person's nameNot Requiried
Name of the Agent/company
LATITUDELatitude of the location of the deviceNot Requiried
1.3,30.14
LONGITUDELongitude of the location of the deviceNot Requiried
1.3,30.14
UTILITY_IDA unique ID for utilityNot Requiried

FAILED_BATTERY_CAPACITY_COUNTThis field will track the number of instances where batteries fail to reach their capacity limit, a crucial metric for understanding payment and operational efficiency.Not Requiried

ACCOUNT_TYPEThis is the customer typeNot Requiried
Credit, debt, Public, Prepaid, Customer, Business, etc.
STATUSPayment statusNot Requiried
Assigned, processed, reversed, pending, error, MANUAL, etc.
NOTESAny other notes you want to addNot Requiried

    • Related Articles

    • AWS S3 Meter metrics / Consumption data Integration

      The Odyssey platform offers multiple ways to integrate mini-grid and solar home system electricity payment data depending on the data source. Integrating this data makes it available for the following purposes: Enabling the remote verification of ...
    • UPYA Integration

      The Odyssey platform offers multiple ways to integrate mini-grid and solar home system electricity payment data depending on the data source. Integrating this data makes it available for the following purposes: Enabling the remote verification of ...
    • Data Analytics - Data Permissioning

      The Odyssey platform offers multiple ways to integrate and share mini-grid and solar home system electricity payment data depending on the data source. Integrating this data makes it available for the following purposes: Enabling the remote ...
    • Angaza Integration

      The Odyssey platform offers multiple ways to integrate mini-grid and solar home system electricity payment data depending on the data source. Integrating this data makes it available for the following purposes: Enabling the remote verification of ...
    • Mojec Integration

      The Odyssey platform offers multiple ways to integrate mini-grid and solar home system electricity payment data depending on the data source. Integrating this data makes it available for the following purposes: Enabling the remote verification of ...