You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'The missing link between your C# backend and the future of interoperable digital finance.'
2
+
title: 'Open Payments meet .NET'
3
+
description: 'Integrate Open Payments into your stack with native DI, full type safety and automatic GNAP signatures.'
4
4
date: 2026-03-19
5
5
slug: open-payments-dotnet-sdk
6
6
authors:
@@ -13,11 +13,11 @@ tags:
13
13
- Updates
14
14
---
15
15
16
-
We're excited to announce the release of the [**Open Payments .NET SDK**](https://github.com/interledger/open-payments-dotnet), a fully typed, idiomatic C# client for the [Open Payments](https://openpayments.dev/)API standard. If you're building payment experiences in .NET, this SDK gives you everything you need to integrate interoperable payments into your backend.
16
+
Building payment experiences in C# just got a lot simpler. We’ve officially launched the [Open Payments .NET SDK](https://github.com/interledger/open-payments-dotnet), removing the friction of manual API wiring. It’s a production-ready, type-safe gateway that gives .NET developers everything they need to integrate secure, interoperable finance into their applications.
17
17
18
18
## What is Open Payments?
19
19
20
-
[Open Payments](https://openpayments.dev/) is an open API standard that enables interoperable digital payments across banks, digital wallets, and mobile money providers. It covers eCommerce checkout, peer-to-peer transfers, subscriptions, Web Monetization, and more - all through a unified set of APIs for account discovery, payment management, and [GNAP](https://datatracker.ietf.org/doc/html/draft-ietf-gnap-core-protocol)-based authorization. Until now, .NET developers had to wire all of this up manually. Not anymore.
20
+
[Open Payments](https://openpayments.dev/) is an API standard for banks, mobile money providers, and other account servicing entities. It allows developers to build payment capabilities into their apps without the need for custom integrations or third-party payment processors.
21
21
22
22
## Why a .NET SDK?
23
23
@@ -117,6 +117,31 @@ Every authenticated request is automatically signed using Ed25519 HTTP Message S
117
117
118
118
The `Interledger.OpenPayments.HttpSignatureUtils` package is also available separately if you need HTTP signature functionality in other contexts.
119
119
120
+
## Error Handling
121
+
122
+
The SDK provides structured error handling through typed exceptions. API errors are surfaced as `ApiException<ErrorResponse>`, giving you access to the HTTP status code, the raw response and a deserialized error model:
Auth server errors include specific GNAP error codes like `invalid_client`, `request_denied`, and `too_fast` (rate limiting), so you can handle each scenario appropriately.
144
+
120
145
## Real-World Payment Scenarios
121
146
122
147
The SDK ships with eight annotated guides covering end-to-end payment flows:
0 commit comments