Filuet.Pay.SDK 0.0.1

dotnet add package Filuet.Pay.SDK --version 0.0.1
                    
NuGet\Install-Package Filuet.Pay.SDK -Version 0.0.1
                    
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="Filuet.Pay.SDK" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Filuet.Pay.SDK" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Filuet.Pay.SDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Filuet.Pay.SDK --version 0.0.1
                    
#r "nuget: Filuet.Pay.SDK, 0.0.1"
                    
#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.
#:package Filuet.Pay.SDK@0.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Filuet.Pay.SDK&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Filuet.Pay.SDK&version=0.0.1
                    
Install as a Cake Tool

Filuet.Pay is a payment aggregator designed to simplify payments in countries around the world. It should be helpful when you are going to start business in a new country, but you do not want to integrate with a local payment provider (or providers). With Filuet.Pay you can integrate with a single API and access multiple payment providers in different countries. Filuet acts as a broker between you and local payment providers.

    var client = new FiluetPayClient(filuetPayApiUrl);
    FiluetPayToken token = await client.LoginAsync(Username, Password); // get a token to authorize further API calls

    client.SetNewIdempotencyKey(); // to allow Filuet.Pay to recognize and prevent duplicate processing of the same operation of creating a new payment 

    // start a new payment
    NewPaymentModel newPayment = await client.StartPaymentAsync(new PaymentAuthorizationModel {
        Country = Country.Latvia,
        Amount = Money.Create(1, Currency.Euro),
        CustomerInfo = new CustomerPayload { Code = "foo", OrderNumber = "bar", FullName = "baz", Email = "foo@bar.baz" },
        Description = "qux"
    });

    // get a payment link
    string paymentLink = await client.GeneratePaymentLinkAsync(newPayment.Id);
    // or generate a qr qode, depending on the payment method supported in the customer's country
    (byte[] imageBytes, string imageType) = await client.GeneratePaymentQRAsync(newPayment.Id);

    // redirect customer to the payment link or generate a QR code for the payment

now be ready to receive a callback from Filuet.Pay:

    // in your callback controller
    [HttpPost("filuetpay/callback")]
    public async Task CallbackAsync([FromBody] PaymentFullModelV1_1 payment) {
        // verify the callback signature to make sure it is from Filuet.Pay
        if (!client.VerifyCallbackSignature(callback)) {
            return BadRequest();
        }
        // let's check the status to protect against fraud JIC
        if (newPayment.Status == PaymentStatus.Approved) {
            PaymentFullModelV1_1 payment = await client.GetPaymentDetailsAsync(newPayment.Id); // get payment details after successful payment authorization
            PaymentStatus realStatus = payment.Status;
            // process the payment status and update your system accordingly, e.g. mark the order as paid
        }

        return Ok(); // respond with 200 OK to acknowledge the callback and prevent retries from Filuet.Pay
    }

Read more information about the API and its capabilities on Github. Check out the Documentation for more examples.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.0.1 130 2/9/2026