1.99.0 • Published 1 day ago

@channelpayments/node-sdk v1.99.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 day ago

Channel Payments Node SDK

Channel Payments provides developers with a user-friendly SDK, designed to streamline the integration process with the Channel Payments API.

This SDK offers a range of tools and functionalities that simplify the implementation of our payment features into your applications. For instructions on utilizing specific methods, please refer to the API guides within the Getting Started section.

Installation

npm i @channelpayments/node-sdk

Usage

import { ChannelPaymentsApi } from "@channelpayments/node-sdk";
import * as fs from 'fs';

const channelPaymentsApi = new ChannelPaymentsApi({
    keyId: '<integration key id>',
    privateKey: fs.readFileSync('</path/to/... integration pem file', 'utf8'),
    environment: '<**optional**, set to "sandbox" for sandbox testing>',
});

export async function getMerchant() {
    const result = await channelPaymentsApi.getMerchant();
    console.log('Merchant', result);
}
1.99.0

1 day ago

1.98.0

1 day ago

1.97.0

1 day ago

1.96.0

1 month ago

1.94.0

1 month ago

1.93.0

1 month ago

1.92.0

1 month ago

1.91.0

1 month ago

1.90.0

1 month ago

1.87.1

5 months ago

1.56.0

7 months ago

1.37.0

9 months ago

1.59.0

6 months ago

1.39.0

9 months ago

1.35.4

9 months ago

1.60.0

6 months ago

1.40.0

9 months ago

1.63.0

6 months ago

1.42.0

9 months ago

1.41.1

9 months ago

1.64.0

6 months ago

1.41.0

9 months ago

1.65.0

6 months ago

1.41.3

9 months ago

1.65.1

6 months ago

1.43.0

9 months ago

1.41.2

9 months ago

1.41.5

9 months ago

1.41.4

9 months ago

1.48.0

8 months ago

1.47.0

8 months ago

1.41.6

9 months ago

1.49.0

8 months ago

1.51.0

7 months ago

1.50.0

8 months ago

1.52.1

7 months ago

1.74.1

6 months ago

1.52.0

7 months ago

1.55.0

7 months ago

1.54.0

7 months ago

1.52.2

7 months ago

1.28.2

11 months ago

1.24.0

11 months ago