Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

payex-rest

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

payex-rest

Payex REST API wrapper

  • 0.2.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Payex REST Node.js Library

The Payex REST Node library provides convenient access to the Payex API from applications written in server-side JavaScript.

Please keep in mind that this package is for use with server-side Node that uses Payex access token.

Installation

Install the package with:

yarn add @urbaninfrastructure/payex-rest

Usage

The package needs to be configured with your account's access token which is available in your Payex Admin portal. Require it with the key's value:

const Payex = require('@urbaninfrastructure/payex-rest')
const payex = new Payex('token')

const purchaseResponse = await payex.payment.purchase({
  amount: 1000,
  currency: 'NOK',
  ...
})

Keywords

FAQs

Package last updated on 30 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc