Skip to content

sdk 0.0.1-beta.5

Install from the command line:
Learn more about npm packages
$ npm install @sumup/sdk@0.0.1-beta.5
Install via package.json:
"@sumup/sdk": "0.0.1-beta.5"

About this version

sumup-ts

NPM Version JSR Version Build Status

IMPORTANT: This SDK is under heavy development and subject to breaking changes.

The Node.js SDK for the SumUp API.

To learn more, check out our API Reference and Documentation.

Requirements

Node 18 or higher.

Installation

Install the package with:

npm install @sumup/sdk
# or
yarn add @sumup/sdk

Install from jsr:

deno add jsr:@sumup/sdk
# or
npx jsr add @sumup/sdk

Usage

const sumup = require('@sumup/sdk')({
  apiKey: 'sup_sk_MvxmLOl0...'
});

sumup.merchant.get()
  .then(merchant => console.info(merchant))
  .catch(error => console.error(error));

Or using ES modules and async/await:

import SumUp from "@sumup/sdk";

const client = new SumUp({
  apiKey: 'sup_sk_MvxmLOl0...',
});

const merchant = await client.merchant.get();
console.info(merchant);

Examples

Run examples:

npx tsx examples/checkout/index.ts

Details

  • sdk
  • @sumup sumup
  • about 7 hours ago
  • Apache-2.0
  • 6 dependencies

Assets

  • sdk-0.0.1-beta.5.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0