SplatDev.Payments.BancoInter
1.0.4
See the version list below for details.
dotnet add package SplatDev.Payments.BancoInter --version 1.0.4
NuGet\Install-Package SplatDev.Payments.BancoInter -Version 1.0.4
<PackageReference Include="SplatDev.Payments.BancoInter" Version="1.0.4" />
<PackageVersion Include="SplatDev.Payments.BancoInter" Version="1.0.4" />
<PackageReference Include="SplatDev.Payments.BancoInter" />
paket add SplatDev.Payments.BancoInter --version 1.0.4
#r "nuget: SplatDev.Payments.BancoInter, 1.0.4"
#:package SplatDev.Payments.BancoInter@1.0.4
#addin nuget:?package=SplatDev.Payments.BancoInter&version=1.0.4
#tool nuget:?package=SplatDev.Payments.BancoInter&version=1.0.4
SplatDev.Payments.BancoInter
Banco Inter payment gateway integration for SplatDev.Payments — models, settings, and API contracts for Pix, Boleto, and Banking operations with Banco Inter (Brazil).
Compatibility
| .NET | Umbraco | Package Version |
|---|---|---|
| 8.0 | 13 | 1.0.0 |
| 10.0 | 17 | 1.0.0 |
Installation
dotnet add package SplatDev.Payments.BancoInter
Configuration
BancoInterSettings
using SplatDev.Payments.BancoInter;
var settings = new BancoInterSettings
{
ClientId = "your-inter-client-id",
ClientSecret = "your-inter-client-secret",
Sandbox = true, // false for production
CertificatePath = "/path/to/cert.pem", // Required for production (mTLS)
CertificateKeyPath = "/path/to/key.pem" // Required for production (mTLS)
};
// Endpoints are derived automatically
Console.WriteLine(settings.BaseUrl); // https://cdpj-sandbox.partners.uatinter.co
Console.WriteLine(settings.TokenUrl); // https://cdpj-sandbox.partners.uatinter.co/oauth/v2/token
appsettings.json
{
"BancoInter": {
"ClientId": "your-inter-client-id",
"ClientSecret": "your-inter-client-secret",
"Sandbox": true,
"CertificatePath": "/path/to/cert.pem",
"CertificateKeyPath": "/path/to/key.pem"
}
}
Sandbox vs Production
| Setting | Sandbox URL | Production URL |
|---|---|---|
Sandbox = true |
https://cdpj-sandbox.partners.uatinter.co |
— |
Sandbox = false |
— | https://cdpj.partners.uatinter.co |
Important: Production requires mTLS with a valid PEM certificate and private key. Both CertificatePath and CertificateKeyPath must be set.
Models
Pix
| Class | Description |
|---|---|
InterPixCharge |
Pix charge request (amount, payer, expiration) |
InterPixChargeResponse |
Pix charge response (txid, QR code, copy-paste string) |
InterPixPayment |
Pix payment request (Pix key, amount, description) |
Boleto
| Class | Description |
|---|---|
InterBoleto |
Boleto issuance request (payer, amount, due date, fine/interest) |
InterBoletoResponse |
Boleto issuance response (barcode, digitable line, PDF URL) |
Banking
| Class | Description |
|---|---|
InterBankingBalance |
Account balance response |
InterTokenResponse |
OAuth token response (access_token, expires_in) |
InterWebhookPayload |
Incoming webhook event payload |
Usage
using SplatDev.Payments.BancoInter;
// 1. Get OAuth token
var token = await GetTokenAsync(settings); // POST {TokenUrl} with client_credentials
// 2. Create a Pix charge
var charge = new InterPixCharge
{
Calendario = new() { Expiracao = 3600 },
Valor = new() { Original = "49.90", ModalidadeAlteracao = 0 },
Chave = "customer-pix-key@email.com",
SolicitacaoPagador = "Order #1234"
};
// POST {BaseUrl}/cob/v2/cob with Bearer token
// 3. Issue a Boleto
var boleto = new InterBoleto
{
SeuNumero = "INV-001",
ValorNominal = 199.90m,
DataVencimento = DateTime.UtcNow.AddDays(7),
Pagador = new()
{
Nome = "John Doe",
CpfCnpj = "12345678901",
Endereco = new() { Cidade = "Sao Paulo", Uf = "SP" }
}
};
// POST {BaseUrl}/cobranca/v3/boletos
Dependencies
| Package | Purpose |
|---|---|
SplatDev.Payments |
Core payment abstractions |
No third-party SDK dependencies — this is a model/contracts library. HTTP calls should be implemented using HttpClient or RestSharp by the consuming application.
Limitations
- Model/contracts library only. No service layer, DI extensions, or HTTP client included.
- mTLS certificate management is the caller's responsibility.
- Token lifecycle (refresh before expiry) must be handled by the consuming app.
- Webhook signature verification not built in.
SplatDev.Payments.BancoInter — part of the SplatDev.Umbraco.Plugins suite. Licensed under MIT. © SplatDev Ltda.
Changelog
1.0.4 — 2026-08-24
Removes a dashboard screenshot that showed an error toast. It was captured against a site where this plugin's API was unreachable, so it advertised a broken dashboard. No screenshot is better than a misleading one; a replacement will be taken against a working install.
1.0.3 — 2026-08-24
Package metadata only: the listing now carries an icon and search tags, and the project and repository links point at the organisation that actually hosts this code. No code changes.
1.0.2 — 2026-08-24
This package now keeps a changelog. Earlier releases predate it and are not reconstructed here — consult the repository history for those. From this version on, every release records what changed for someone using it.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SplatDev.Payments.BancoInter:
| Package | Downloads |
|---|---|
|
SplatDev.Umbraco.Plugins.Payments.BancoInter
Banco Inter payment integration for Umbraco. Supports Pix (immediate and due charges), Boleto com Pix, Banking (outbound Pix, boleto payments, balance/statement), and webhook handling. Supports Umbraco 13 (net8.0) and Umbraco 17 (net10.0). |
GitHub repositories
This package is not used by any popular GitHub repositories.