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
<PackageReference Include="Filuet.Pay.SDK" Version="0.0.1" />
<PackageVersion Include="Filuet.Pay.SDK" Version="0.0.1" />
<PackageReference Include="Filuet.Pay.SDK" />
paket add Filuet.Pay.SDK --version 0.0.1
#r "nuget: Filuet.Pay.SDK, 0.0.1"
#:package Filuet.Pay.SDK@0.0.1
#addin nuget:?package=Filuet.Pay.SDK&version=0.0.1
#tool nuget:?package=Filuet.Pay.SDK&version=0.0.1
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 | Versions 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. |
-
net9.0
- Filuet.Infrastructure.Abstractions (>= 1.0.244)
- Filuet.Pay.Dto (>= 0.0.6)
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 |