0.2.0-0 • Published 4 years ago

payu-api-client v0.2.0-0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

PayU API client

Integration with PayU API v2.1. Full API documentation: http://developers.payu.com/en/restapi.html

Install

npm install payu-api-client

or

yarn add payu-api-client

Usage

import { PayuApiClient } from "payu-api-client"

const payu = new PayuApiClient({
    apiRoot: "https://secure.payu.com/", // or https://secure.snd.payu.com/ for Sandbox
    clientId: "__YOUR_CLIENT_ID__",
    clientSecret: "__YOUR_CLIENT_SECRET__"
})

Todo

  • Add authorization flow
  • Method: create order
  • Method: transaction check
  • Method: merchant and submerchant
  • Use native Node methods and remove dependencies
  • Write unit-tests

Licence

MIT

0.2.0-0

4 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago