TBankAcquiringNet.Multisplit.Shops 0.2.0-preview.3

Suggested Alternatives

TBankNet.Multisplit

This is a prerelease version of TBankAcquiringNet.Multisplit.Shops.
dotnet add package TBankAcquiringNet.Multisplit.Shops --version 0.2.0-preview.3
                    
NuGet\Install-Package TBankAcquiringNet.Multisplit.Shops -Version 0.2.0-preview.3
                    
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="TBankAcquiringNet.Multisplit.Shops" Version="0.2.0-preview.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TBankAcquiringNet.Multisplit.Shops" Version="0.2.0-preview.3" />
                    
Directory.Packages.props
<PackageReference Include="TBankAcquiringNet.Multisplit.Shops" />
                    
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 TBankAcquiringNet.Multisplit.Shops --version 0.2.0-preview.3
                    
#r "nuget: TBankAcquiringNet.Multisplit.Shops, 0.2.0-preview.3"
                    
#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 TBankAcquiringNet.Multisplit.Shops@0.2.0-preview.3
                    
#: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=TBankAcquiringNet.Multisplit.Shops&version=0.2.0-preview.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TBankAcquiringNet.Multisplit.Shops&version=0.2.0-preview.3&prerelease
                    
Install as a Cake Tool

TBankAcquiringNet.Multisplit.Shops

Dependency-light .NET SDK package for T-Bank Multisplit provider shop registration and updates.

Install

dotnet add package TBankAcquiringNet.Multisplit.Shops --prerelease

Supported API

TBankAcquiringNet.Multisplit.Shops currently includes typed support for:

  • OAuth token acquisition via /oauth/token
  • provider shop registration via POST /sm-register/register
  • shop lookup by shopCode via GET /sm-register/register/shop/{shopCode}
  • provider banking detail updates via PATCH /sm-register/register/{shopCode}
  • typed validation and API error responses

Quick Start

using TBankAcquiringNet.Multisplit.Shops;

using var httpClient = new HttpClient();

var client = new TBankMultisplitShopsClient(httpClient, new TBankMultisplitShopsClientOptions
{
    Username = "login-from-bank",
    Password = "...",
    Environment = TBankMultisplitShopsEnvironment.Test
});

var shop = await client.GetShopAsync("111111111");

Console.WriteLine(shop.Name);
Console.WriteLine(shop.BankAccount?.Bik);

Production access to acqapi.tinkoff.ru may require mTLS certificates and IP allow-listing according to T-Bank registration API requirements.

Registration

Registration uses TBankRegisterShopRequest with typed nested models for addresses, phones, founders, CEO data, licenses, and bank account details.

The client performs conservative local validation for required fields and sends JSON with T-Bank wire names and casing.

Error Handling

Non-success HTTP responses are thrown as TBankMultisplitShopsApiException with typed TBankMultisplitShopsErrorResponse data when the response body can be parsed.

Transport, protocol, and local validation failures are thrown as SDK exceptions.

Repository

Source, issue tracking, and full documentation live in the repository:

https://github.com/ai-iskuzhin/TBankAcquiringNet

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.