Skip to content

About

Official PayCow server-side JavaScript SDK

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PayCow JavaScript SDK

Server-side JavaScript client for the PayCow non-custodial USDT payment API.

Requirements

  • Node.js 18 or newer
  • PayCow merchant API key and secret

Installation

Download and extract the SDK archive, then install it from the local directory.

npm install ./paycow-javascript-sdk

Usage

const { PayCowClient } = require('@paycow/sdk');

const paycow = new PayCowClient({
  apiKey: process.env.PAYCOW_API_KEY,
  apiSecret: process.env.PAYCOW_API_SECRET
});

const payment = await paycow.createPayment({
  userId: 'customer-2048',
  amount: '50.00',
  network: 'TRC20',
  idempotencyKey: 'order-2048-001'
});

See https://paycow.net/docs/sdk/javascript for the complete reference.

About

Official PayCow server-side JavaScript SDK

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages