The official C# library for OrvexPay. Built with System.Text.Json for maximum performance. Seamlessly integrate payments into ASP.NET Core, MAUI, or any .NET application.
Fully async API with comprehensive interfaces for the best Dependency Injection experience and testability.
Leverages modern .NET features like Records and System.Text.Json for low-allocation, high-throughput applications.
dotnet add package orvexpayNuGet var client = new OrvexClient("your-api-key");
// Create a new payment invoice
var invoice = await client.CreateInvoiceAsync(new CreateInvoiceRequest(
PriceAmount: "100.00",
PriceCurrency: "USD",
PayCurrency: "USDT",
SuccessUrl: "https://example.com/success",
CancelUrl: "https://example.com/cancel"
));
Console.WriteLine($"Invoice ID: {invoice.Id}");