gateway-getnet-limber
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

gateway-getnet

Installation

npm install gateway-getnet

Usage

Use to make payment:

var gatewayGetnet = require('gateway-getnet');

function checkout(body) {
    gatewayGetnet.payment(body, (err, result) => {
        console.log(err, result)
    })
}

Body

{
"order_id": INTEGER,
"authentication": {
    "sellerId": STRING,
    "authorization": STRING,
    "ipAddress": STRING,
    "deviceId": STRING
},
"customer": {
    "id": STRING,
    "name": STRING,
    "email": STRING,
    "document_type": STRING,
    "document_number": STRING
},
"credit": {
    "amount": FLOAT,
    "number_installments": INTEGER,
    "card": {
        "holder_name": STRING,
        "number": STRING,
        "security_code": STRING,
        "brand": STRING,
        "expiration": STRING
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i gateway-getnet-limber

Weekly Downloads

2

Version

1.0.10

License

MIT

Unpacked Size

9.91 kB

Total Files

4

Last publish

Collaborators

  • ivanhoinacki