Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 2.21 KB

admin-guide-to-link-id-with-financial-address-information.md

File metadata and controls

49 lines (32 loc) · 2.21 KB
layout
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

📔 Link FA (Admin)

Introduction

This document contains step-by-step instructions for the administrator to link IDs with Financial Address (FA) information. The administrator has to run the script to map the National IDs with the bulk FA of the beneficiaries.

Prerequisite

  • Administrator must have a .csv file which contains the bulk FA data of the beneficiaries in the required format. To know the format of the .csv file, refer the sample_data.csv file available in the cloned repository. In .csv file, the mandatory columns are National ID and Account number. The optional columns are Name and Phone.

sample_data.csv

  • The administrator system must have python and its modules cryptography, requests installed

Procedure

The administrator must follow the following sequence process:

  1. The administrator must clone the repository https://github.com/OpenG2P/social-payments-account-registry/tree/develop/scripts
  2. Click the python script file link_mapper.py. The script is displayed.

Python script

In the script, the mapper_link_api_url and the csv_path must be verified and updated.

  1. Double click the script file link_mapper.py to run the script.
  2. After the administrator runs the script, the response is triggered in a cmd prompt which shows that the National IDs are linked to the FA of the beneficiaries.

Sample response message.

  1. Press Enter to exit from the cmd prompt.

Note:

Administrator can use a JSON formatter to format the response triggered in cmd format and to infer the response.