Install
dotnet add package PaidySDK --version 1.2.3
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README

PaidySDK
PaidySDK is the simple and thin Paidy API wrapper library for .NET that supports following features.
Support platforms
- .NET Framework 4.6.2+
- .NET Standard 2.0+
- .NET 10.0+
How to use
API
API wrapper services are provided via Microsoft.Extensions.DependencyInjection.
.AddPaidy();- Gets API wrapper service instance via DI.
using Microsoft.Extensions.DependencyInjection;
using Paidy;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
var options = new PaidyOptions
{
ApiEndpoint = "https://api.paidy.com",
SecretKey = "sk_...",
ApiVersion = null,
};
services.AddPaidy(options);
}
}
using Microsoft.AspNetCore.Mvc;
using Paidy.Payments;
using Paidy.Tokens;
public class SampleController : Controller
{
private readonly PaymentService _paymentService;
private readonly TokenService _tokenService;
public SampleController(PaymentService paymentService, TokenService tokenService)
{
this._paymentService = paymentService;
this._tokenService = tokenService;
}
}
Webhooks
Allows you to parse the JSON payload that is sent from Paidy webhook easily.
var payload = "{ Paidy payment webhook payload }";
var request = PaymentRequest.From(payload);
var payload = "{ Paidy token webhook payload }";
var request = TokenRequest.From(payload);
Installation
Getting started from downloading NuGet package.
dotnet add package PaidySDK
Paidy docs
License
This library is provided under MIT License.
Author
Takaaki Suzuki (a.k.a @xin9le) is software developer in Japan who awarded Microsoft MVP for Developer Technologies (C#) since July 2012.
Changes from Previous Version
v1.2.2v1.2.3
Added Frameworks
net11.0
Removed Frameworks
net8.0net9.0
Added Dependencies
Microsoft.Extensions.Http(net11.0)
Removed Dependencies
Microsoft.Extensions.Http(net8.0)
Microsoft.Extensions.Http(net9.0)
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.