Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobiaslins/mpay24-import-customer
Import profiles from a csv to mpay24
https://github.com/tobiaslins/mpay24-import-customer
Last synced: 14 days ago
JSON representation
Import profiles from a csv to mpay24
- Host: GitHub
- URL: https://github.com/tobiaslins/mpay24-import-customer
- Owner: tobiaslins
- Created: 2017-08-02T09:29:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T12:34:06.000Z (over 7 years ago)
- Last Synced: 2024-10-04T13:21:57.799Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# CLI for importing profiles to mPAY24
This is a command line interface for mPAY24 that will allow you to import your existing creditcard profiles to the mPAY24 system.
![Demo](https://media.giphy.com/media/26n6xVcLjwcQLQXdu/giphy.gif)
## Usage
### Precompiled binary
Download a precompiled binary from [here](https://github.com/tobiaslins/mpay24-import-customer/releases)Display help from CLI
```bash
./mpay24-import-customer -h
```Example
```bash
./mpay24-import-customer -t -u 99999 -p password example.csv
```### Running from source
First install all dependencies by running `npm install` or `yarn` in the direcory.
Display help from CLI
```bash
node build/main.js -h
```Example
```bash
node build/main.js -t -u 99999 -p password example.csv
```## CSV
The CSV should contain three columns (customerid, identifier and expiry)
The first line is important for the program to run`customerid` should be a unique string (reference of the customer)
`identifier` is the 16-19 digit creditcard number
`expiry` is the expiry date of the card in format YYMM### Example
```csv
customerid;identifier;expiry
jones;4444333322221111;2001
mc;5555444433331111;2001
```