# jofiz

> SDK pur recevoir des paiements mobile et par Carte Bancaire chez Enova TEchnologie

Latest version **1.0.2** (published 2021-03-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install jofiz
pnpm add jofiz
yarn add jofiz
bun add jofiz
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-03-22 |
| First published | 2020-12-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Rodolpho BABATOUNDE |
| Maintainers | chabibabatounde |

## Links

- npm: https://www.npmjs.com/package/jofiz
- Repository: https://github.com/chabibabatounde/enovaPay
- Homepage: https://github.com/chabibabatounde/enovaPay#readme
- Issues: https://github.com/chabibabatounde/enovaPay/issues
- npm.io page: https://npm.io/package/jofiz

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.21.1

## Recent versions

- 1.0.2 (latest) — 2021-03-22
- 1.0.1 — 2020-12-25
- 1.0.0 — 2020-12-25

## README

#Create transaction 

##Importe Jofiz promise
var Jofiz = require('jofiz');
###Response
{ transaction: [Function: transaction], check: [Function: check] }


##Create Transaction
const response = await Jofiz.transaction(
    {
        apiKey: 'my_api_secret_key',
        client: 'The Custumer name',
        amount: '1070',
        description: 'Transaction description',
        cancelUrl: 'https://cancelurl.com',
        successUrl: 'http://succesurl.com',
        previewImageUrl: 'https://my_brand_image.jpg',
        method: 'mobile'
        mode: 'test'
    });

###Response
{
    "code": 200,
    "info": "Created",
    "data": {
        "wallet": "Your Wallet Name",
        "client": "The Custumer name",
        "transactionId": "xxxxxxxxxxxxxxxxxxx",
        "amount": 1070,
        "url": "https://jofiz.enovatechnologie.com/paiement/xxxxxxxxxxxxx"
    }
}


##Check Transaction status
const response = await Jofiz.check(
    {
        apiKey: 'my_api_secret_key',
        mode: 'test',
        transactionId : 'xxxxxxxxxxxxxxxxxxxx'
    });

---
_Source: https://npm.io/package/jofiz · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
