Skip to content

rhummelmose/mobilepay-subscriptions

Repository files navigation

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.

About

Integrate easily with MobilePay Subscriptions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published