Pensopay 0.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Pensopay --version 0.7.0                
NuGet\Install-Package Pensopay -Version 0.7.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pensopay" Version="0.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pensopay --version 0.7.0                
#r "nuget: Pensopay, 0.7.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pensopay as a Cake Addin
#addin nuget:?package=Pensopay&version=0.7.0

// Install Pensopay as a Cake Tool
#tool nuget:?package=Pensopay&version=0.7.0                

Pensopay Payments

Build Status License Package

Pensopay Payments is the unoffical .net nuget package for the Pensopay API. It is a wrapper for the Pensopay API, and makes it easy to integrate Pensopay into your .net project.

Installation

You can either download our source directly from the GitHub repo, or install the nuget package which can be found on nuget .org.

Usage

Before you can use this package, you need to have a Pensopay account. You can create one here. You also need a payment agreement, which you can create right here

Services

The communication with Pensopay is done through the servies classes. They each represent a part of the Pensopay API. Currently there is support for the following services:

  • PaymentService
  • AccountService
  • SettlementService
  • SubscriptionServce (Not yet implemented, but is planned)

Each service has a set of methods, which corresponds to the endpoints in the Pensopay API. The methods are async, and returns a response object, which contains the response from the Pensopay API. Each service must be initialised with a valid baerer token, which can be obtained from the Pensopay dashboard.

Models

The requests and responses that are supported by the services also comes with model classes, so parsing of the http response is done for you.

Extension

Extension If you need access to other endpoints than what is available in the current version, please feel free to suggest them under issues.

You can also take matters into your own hand and implement the missing parts yourself. To do this you can create your own service class and let it extend the PensoPayRestClient, which will ensure that the correct header values are added to the requests.

Examples

For examples on how to use the package, please see the examples folder in the repo.

Isues

if you find any issues, please report them in the issues section of the repo. It will then get sorted as soon as possible.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Disclaimer

This package is not affiliated with Pensopay in any way. It is an unoffical package, and is not supported by Pensopay.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.5 128 9/18/2024
0.7.0 101 7/14/2024
0.6.0 145 3/17/2024
0.5.0 118 3/14/2024