0.1.7 • Published 2 years ago

@easets/cinet-pay-node-sdk v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CinetPay NODE.JS SDK

A simple SDK for calling the CinetPay APIS. Currently, two APis calls are integrated

Initialization

The SDK can be initialized by using the following method

const cinet = CinetPay.init(config);

The config is an object with the following properties:

  • apikey: string;
  • site_id: string;
  • baseUrl: string

Start a payment

const response = await cinet.initiate(request);

The request object have the properties described in the documentation

This method will expose a payment object as described in the documentation

Get information about a payment

const response = await cinet.check(request);

The request is an object with the following properties:

  • apikey: string;
  • site_id: string;
  • transaction_id: string
0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago