Skip to content

pain001-sdk-dotnet

A typed .NET client for the pain001 REST API (pain001 serve): validate, generate and check ISO 20022 pain.001 and pain.008 payment files from C#, F# or any .NET language. The server does the work; this package turns its JSON into typed async calls, and core's conformance kit proves it against a live server in CI.

using Pain001.Sdk;

using var client = new Pain001Client(new Uri("http://127.0.0.1:8000"));
string csv = await File.ReadAllTextAsync("payments.csv");
UiGenerateResponse result = await client.GenerateAsync(csv, "payments.csv", MessageTypes.Pain001V09);
await File.WriteAllTextAsync("payments.xml", result.Xml);

In this manual