mobilepay-subscriptions
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

MobilePay Subscriptions

Easily integrate with MobilePay Subscriptions without entering an agreement with a 3rd party PSP.

Usage

Install the package

npm install --save mobilepay-subscriptions 

Integrate

import { Client as MPSClient } from "mobilepay-subscriptions";

const client = MPSClient({
    discoveryEndpoint: ..,
    apiEndpoint: ..,
    merchant: {
        ..
    },
    application: {
        ..
    },
});

await client.initialize();
const response = await client.createAgreement({
    external_id: ..,
    amount: ..,
    ..
});

API Reference

Find the generated API reference here

License

mobilepay-subscriptions is licensed under a MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i mobilepay-subscriptions

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

18.9 kB

Total Files

7

Last publish

Collaborators

  • rhummelmose