BluefinTecsMerchantPortal SDK

BluefinTecsMerchantPortal SDK

Merchant Portal Web Service Documentation client, generated from the OpenAPI spec.

Web service for merchant registration and management.

Learn more about Merchant Portal Web Service Documentation at test.tecs.at.

This is an unofficial SDK for the Merchant Portal Web Service Documentation public API, generated by Voxgig with @voxgig/sdkgen. It is not affiliated with, endorsed by, or sponsored by the upstream API provider.

Learn more about Voxgig SDKs at voxgig.com/sdk.

TypeScript, Python, PHP, Golang, Ruby, Lua, C, Clojure, C++, C#, Dart, Elixir, Haskell, Java, JavaScript, Kotlin, OCaml, Perl, Rust, Scala, Swift, Zig SDKs, a CLI, an interactive REPL, and an MCP server for AI agents — all generated from one OpenAPI spec by @voxgig/sdkgen.

Entities, not endpoints

This SDK exposes the API as 19 semantic entities that you call directly, instead of assembling URL paths and query strings. See the Entities table below for the full list. Entities are Capitalised to mark them as the primary surface, each with the operations they support (load, create):

const client = new BluefinTecsMerchantPortalSDK()
const merchantportalapicontroller = await client.MerchantPortalApiController().create({
  business_reg_number: 'example',
  city: 'example',
  country: 'example',
  currency: 'example',
  merchant_category_code: 1,
  merchant_name: 'example',
  packageid: 'example',
  packageorderuuid: 'example',
  reason_deactivation: 'example',
  reason_reactivation: 'example',
  street: 'example',
  terminal_country_code: 'example',
  terminal_language_code: 'example',
  terminal_location: 'example',
  terminal_serial_number: 'example',
  terminalid: 1,
  vu_nummer: 'example',
  zipcode: 'example',
})

Thinking in entities keeps the mental model small — for people and AI agents alike — rather than reasoning about raw HTTP routes and query parameters.

Offline unit testing

Every SDK ships a built-in test mode that swaps the HTTP transport for an in-memory mock, so your unit tests run fully offline — no server, no network, and no credentials:

TypeScript

const client = BluefinTecsMerchantPortalSDK.test()
const outputdetail = await client.OutputDetail().load({ id: 'test01' })
// outputdetail is a bare OutputDetail populated with mock data
console.log(outputdetail)

Python

client = BluefinTecsMerchantPortalSDK.test()
outputdetail = client.OutputDetail().load({"id": "test01"})
print(outputdetail)

PHP

// Seed fixture data so offline calls resolve without a live server.
$client = BluefinTecsMerchantPortalSDK::test([
    "entity" => ["outputdetail" => ["test01" => ["id" => "test01"]]],
]);
$outputdetail = $client->OutputDetail()->load(["id" => "test01"]);

Golang

client := sdk.Test()
result, err := client.OutputDetail(nil).Load(
    map[string]any{"id": "test01"}, nil,
)

Ruby

# Seed fixture data so offline calls resolve without a live server.
client = BluefinTecsMerchantPortalSDK.test({
  "entity" => { "outputdetail" => { "test01" => { "id" => "test01" } } },
})
outputdetail = client.OutputDetail.load({ "id" => "test01" })

Lua

local client = sdk.test()
local result, err = client:OutputDetail():load({ id = "test01" })

C

#include "core/api.h"

BluefinTecsMerchantPortalSDK* client = test_sdk(NULL, NULL);
PNError* err = NULL;
Entity* output_detail = bluefintecsmerchantportal_output_detail(client, NULL);
voxgig_value* output_detail_rec = output_detail->vt->load(output_detail, cmap(1, "id", v_str("test01")), NULL, &err);
printf("%s\n", voxgig_to_json(output_detail_rec));

Clojure

(require '[sdk.api :as api]
         '[sdk.entity.output_detail :as e-output_detail]
         '[voxgig.struct :as vs])

(def client (api/test-sdk nil nil))
(def output_detail (e-output_detail/load (api/output_detail client nil) (vs/jm "id" "test01") nil))
(println output_detail)

C++

auto client = BluefinTecsMerchantPortalSDK::testSDK();
Value output_detail = client->output_detail()->load(vmap({{"id", Value("test01")}}), Value::undef());
std::cout << Struct::jsonify(output_detail) << std::endl;

C#

var client = BluefinTecsMerchantPortalSDK.TestSDK(null, null);
var outputDetail = client.OutputDetail().Load(new Dictionary<string, object?> { ["id"] = "test01" });
Console.WriteLine(outputDetail);

Dart

import 'package:bluefin_tecs_merchant_portal_sdk/BluefinTecsMerchantPortalSDK.dart';

Future<void> main() async {
  final client = BluefinTecsMerchantPortalSDK.test();
  final outputdetail = await client.OutputDetail().load({'id': 'test01'});
  print(outputdetail);
}

Elixir

alias BluefinTecsMerchantPortal.Helpers, as: H

sdk = BluefinTecsMerchantPortal.test()
output_detail = BluefinTecsMerchantPortal.output_detail(sdk)
record = BluefinTecsMerchantPortal.Entity.OutputDetail.load(output_detail, H.deep(%{"id" => "test01"}))
IO.inspect(record)

Haskell

import qualified SdkClient as Sdk
import VoxgigStruct (Value (..), emptyMap)
import SdkHelpers (jo)

main :: IO ()
main = do
  sdk <- Sdk.testSdk0
  ent <- Sdk.output_detail sdk VNoval
  arg <- jo [("id", VStr "test01")]
  ctrl <- emptyMap
  output_detail <- Sdk.eLoad ent arg ctrl
  print output_detail

Java

BluefinTecsMerchantPortalSDK client = BluefinTecsMerchantPortalSDK.testSDK(null, null);
Object outputDetail = client.outputDetail(null).load(Map.of("id", "test01"), null);
System.out.println(outputDetail);

JavaScript

const client = BluefinTecsMerchantPortalSDK.test()
const outputdetail = await client.OutputDetail().load({ id: 'test01' })
// outputdetail is a bare entity populated with mock data
console.log(outputdetail)

Kotlin

val client = BluefinTecsMerchantPortalSDK.testSDK(null, null)
val outputDetail = client.outputDetail(null).load(mutableMapOf<String, Any?>("id" to "test01"), null)
println(outputDetail)

OCaml

let () =
  let client = Sdk_client.test () in
  let result = (Sdk_client.output_detail client Noval).e_load (jo [("id", (Str "test01"))]) Noval in
  print_endline (stringify result)

Perl

use lib 'perl/lib';
use BluefinTecsMerchantPortalSDK;

my $client = BluefinTecsMerchantPortalSDK->test(undef, undef);
my $outputdetail = $client->OutputDetail->load({ 'id' => 'test01' });
print "$outputdetail->{id}\n";

Rust

use bluefin_tecs_merchant_portal_sdk::{jo, test_sdk, Value};

let client = test_sdk(Value::Noval, Value::Noval);
let output_detail = client.output_detail(Value::Noval).load(jo(vec![("id", Value::str("test01"))]), Value::Noval).unwrap();
println!("{:?}", output_detail);

Scala

val client = BluefinTecsMerchantPortalSDK.testSDK(null, null)
val outputDetail = client.outputDetail(null).load(java.util.Map.of("id", "test01"), null)
println(outputDetail)

Swift

let client = BluefinTecsMerchantPortalSDK.testSDK(nil, nil)
let outputDetail = try client.OutputDetail().load(VMap([("id", .string("test01"))]), nil)
print(outputDetail)

Zig

const std = @import("std");
const sdk = @import("sdk");
const h = sdk.h;

const client = sdk.test_sdk(h.vnull(), h.vnull());
switch (client.output_detail(h.vnull()).load(h.jo(&.{.{ "id", h.vstr("test01") }}), h.vnull())) {
    .ok => |output_detail| std.debug.print("{s}\n", .{h.stringify(output_detail)}),
    .err => |e| std.debug.print("load failed: {s}\n", .{e.msg}),
}

Packages

LanguagePackageInstall
TypeScript@voxgig-sdk/bluefin-tecs-merchant-portalpublish pending — install from git tag
Pythonvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
PHPvoxgig-sdk/bluefin-tecs-merchant-portalpublish pending — install from git tag
Golanggithub.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/gogo get github.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/go@latest
Rubyvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Luavoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Cvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Clojurevoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
C++voxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
C#voxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Dartvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Elixirvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Haskellvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Javavoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
JavaScript@voxgig-sdk/bluefin-tecs-merchant-portal-jspublish pending — install from git tag
Kotlinvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
OCamlvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Perlvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Rustvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Scalavoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Swiftvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Zigvoxgig-sdk-bluefin-tecs-merchant-portalpublish pending — install from git tag
Go CLIgithub.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/go-cligo install github.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/go-cli/cmd/bluefin-tecs-merchant-portal@latest
Go MCP servergithub.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/go-mcpgo get github.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/go-mcp@latest

Quickstart

TypeScript

import { BluefinTecsMerchantPortalSDK } from '@voxgig-sdk/bluefin-tecs-merchant-portal'

const client = new BluefinTecsMerchantPortalSDK()

See the TypeScript README for the full guide.

Surfaces

SurfacePath
SDK (TypeScript, Python, PHP, Golang, Ruby, Lua, C, Clojure, C++, C#, Dart, Elixir, Haskell, Java, JavaScript, Kotlin, OCaml, Perl, Rust, Scala, Swift, Zig)ts/ py/ php/ go/ rb/ lua/ c/ clojure/ cpp/ csharp/ dart/ elixir/ haskell/ java/ js/ kotlin/ ocaml/ perl/ rust/ scala/ swift/ zig/
CLIgo-cli/
MCP servergo-mcp/

Use it from an AI agent (MCP)

The generated MCP server exposes every operation in this SDK as an MCP tool that Claude, Cursor or Cline can call directly. Build and register it:

cd go-mcp && go build -o bluefin-tecs-merchant-portal-mcp .

Then add it to your agent’s MCP config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "bluefin-tecs-merchant-portal": {
      "command": "/abs/path/to/bluefin-tecs-merchant-portal-mcp"
    }
  }
}

Entities

The API exposes 19 entities:

EntityDescriptionAPI path
MerchantPortalApiControllerThe MerchantPortalApiController entity (create)./merchantportalws/deactivateTerminal
MerchantPortalCommonControllerThe MerchantPortalCommonController entity (load)./merchantportalws/logDeveloperInfo
MerchantPortalPamContractControllerThe MerchantPortalPamContractController entity (create)./merchantportalws/generateContract
MerchantPortalPamDocumentControllerThe MerchantPortalPamDocumentController entity (create)./merchantportalws/documentsList
MerchantPortalPamFormControllerThe MerchantPortalPamFormController entity (create)./merchantportalws/applicationForm
MerchantPortalPamMandatorControllerThe MerchantPortalPamMandatorController entity (create)./merchantportalws/createMandatorConfig
MerchantPortalPamMerchantControllerThe MerchantPortalPamMerchantController entity (create)./merchantportalws/contractNumber
MerchantPortalPamPackageControllerThe MerchantPortalPamPackageController entity (create)./merchantportalws/availablePackages
MerchantPortalPamProductControllerThe MerchantPortalPamProductController entity (create)./merchantportalws/approveProduct
OutputAddProductThe OutputAddProduct entity (create)./merchantportalws/addProductsToPackage
OutputCreateProductThe OutputCreateProduct entity (create)./merchantportalws/createNewProduct
OutputDetailThe OutputDetail entity (load)./merchantportalws/batch/registerAdditionalTerminal/details/{id}
OutputListThe OutputList entity (create)./merchantportalws/batch/registerAdditionalTerminal/list
OutputMessageThe OutputMessage entity (load)./merchantportalws/batch/registerAdditionalTerminal/restart/{id}
OutputMoveTidThe OutputMoveTid entity (create)./merchantportalws/moveTid
OutputRemoveProductThe OutputRemoveProduct entity (create)./merchantportalws/removeProductsFromPackage
OutputStartThe OutputStart entity (create)./merchantportalws/batch/registerAdditionalTerminal/start
OutputStatusThe OutputStatus entity (load)./merchantportalws/batch/registerAdditionalTerminal/status/{id}
OutputUpdateProductThe OutputUpdateProduct entity (create)./merchantportalws/updateProduct

The operations available across these entities are load, create — see each entity’s own list above for exactly which it supports.

Quickstart in other languages

Python

from bluefintecsmerchantportal_sdk import BluefinTecsMerchantPortalSDK

client = BluefinTecsMerchantPortalSDK()

PHP

<?php
require_once 'bluefintecsmerchantportal_sdk.php';

$client = new BluefinTecsMerchantPortalSDK();

Golang

import sdk "github.com/voxgig-sdk/bluefin-tecs-merchant-portal-sdk/go"

client := sdk.New()

Ruby

require_relative "BluefinTecsMerchantPortal_sdk"

client = BluefinTecsMerchantPortalSDK.new

Lua

local sdk = require("bluefin-tecs-merchant-portal_sdk")

local client = sdk.new()

C

#include "core/api.h"

BluefinTecsMerchantPortalSDK* client = bluefintecsmerchantportal_sdk_new(NULL);
PNError* err = NULL;

Clojure

(require '[sdk.api :as api]
         '[sdk.entity.merchant_portal_api_controller :as e-merchant_portal_api_controller]
         '[voxgig.struct :as vs])

(def client (api/make-sdk nil))

C++

#include "core/sdk.hpp"

using namespace sdk;

auto client = BluefinTecsMerchantPortalSDK::create();

C#

using BluefinTecsMerchantPortalSdk;

var client = new BluefinTecsMerchantPortalSDK();

Dart

import 'package:bluefin_tecs_merchant_portal_sdk/BluefinTecsMerchantPortalSDK.dart';

Future<void> main() async {
  final client = BluefinTecsMerchantPortalSDK();

}

Elixir

alias BluefinTecsMerchantPortal.Helpers, as: H

sdk = BluefinTecsMerchantPortal.new()

merchant_portal_api_controller = BluefinTecsMerchantPortal.merchant_portal_api_controller(sdk)

Haskell

import qualified SdkClient as Sdk
import VoxgigStruct (Value (..), emptyMap)
import SdkHelpers (jo)

main :: IO ()
main = do
  sdk <- Sdk.newSdk0

Java

import voxgig.bluefintecsmerchantportalsdk.core.BluefinTecsMerchantPortalSDK;

BluefinTecsMerchantPortalSDK client = new BluefinTecsMerchantPortalSDK();

JavaScript

const { BluefinTecsMerchantPortalSDK } = require('@voxgig-sdk/bluefin-tecs-merchant-portal-js')

const client = new BluefinTecsMerchantPortalSDK()

Kotlin

import voxgig.bluefintecsmerchantportalsdk.core.BluefinTecsMerchantPortalSDK

val client = BluefinTecsMerchantPortalSDK()

OCaml

open Voxgig_struct
open Sdk_helpers

let () =
  let client = Sdk_client.make0 () in

Perl

use lib 'perl/lib';
use BluefinTecsMerchantPortalSDK;

my $client = BluefinTecsMerchantPortalSDK->new;

Rust

use bluefin_tecs_merchant_portal_sdk::{jo, BluefinTecsMerchantPortalSDK, Value};

let client = BluefinTecsMerchantPortalSDK::new(Value::Noval);

Scala

import voxgig.bluefintecsmerchantportalsdk.core.BluefinTecsMerchantPortalSDK

val client = new BluefinTecsMerchantPortalSDK()

Swift

import BluefinTecsMerchantPortalSdk

let client = BluefinTecsMerchantPortalSDK()

Zig

const std = @import("std");
const sdk = @import("sdk");
const h = sdk.h;

const client = sdk.BluefinTecsMerchantPortalSDK.new(h.vnull());

Direct and prepare

For endpoints the entity model doesn’t cover, use the low-level methods:

  • direct(fetchargs) — build and send an HTTP request in one step.
  • prepare(fetchargs) — build the request without sending it.

Both accept a map with path, method, params, query, headers, and body. See the How-to guides below.

How-to guides

Make a direct API call

When the entity interface does not cover an endpoint, use direct:

TypeScript:

const result = await client.direct({
  path: '/api/resource/{id}',
  method: 'GET',
  params: { id: 'example' },
})
if (result instanceof Error) {
  throw result
}
console.log(result.data)

Python:

result = client.direct({
    "path": "/api/resource/{id}",
    "method": "GET",
    "params": {"id": "example"},
})

PHP:

$result = $client->direct([
    "path" => "/api/resource/{id}",
    "method" => "GET",
    "params" => ["id" => "example"],
]);

Go:

result, err := client.Direct(map[string]any{
    "path":   "/api/resource/{id}",
    "method": "GET",
    "params": map[string]any{"id": "example"},
})
if err != nil {
    panic(err)
}
fmt.Println(result)

Ruby:

result = client.direct({
  "path" => "/api/resource/{id}",
  "method" => "GET",
  "params" => { "id" => "example" },
})

Lua:

local result, err = client:direct({
  path = "/api/resource/{id}",
  method = "GET",
  params = { id = "example" },
})

C:

PNError* err = NULL;
voxgig_value* result = sdk_direct(client, cmap(3,
    "path", v_str("/api/resource/{id}"),
    "method", v_str("GET"),
    "params", cmap(1, "id", v_str("example"))), &err);

Clojure:

(def result
  (api/direct client
    (vs/jm "path" "/api/resource/{id}"
           "method" "GET"
           "params" (vs/jm "id" "example"))))

C++:

Value result = client->direct(vmap({
    {"path", Value("/api/resource/{id}")},
    {"method", Value("GET")},
    {"params", vmap({{"id", Value("example")}})},
}));

C#:

var result = client.Direct(new Dictionary<string, object?>
{
    ["path"] = "/api/resource/{id}",
    ["method"] = "GET",
    ["params"] = new Dictionary<string, object?> { ["id"] = "example" },
});

Dart:

final result = await client.direct({
  'path': '/api/resource/{id}',
  'method': 'GET',
  'params': {'id': 'example'},
});

Elixir:

result = BluefinTecsMerchantPortal.direct(sdk, BluefinTecsMerchantPortal.Helpers.deep(%{
  "path" => "/api/resource/{id}",
  "method" => "GET",
  "params" => %{"id" => "example"}
}))

Haskell:

import qualified SdkClient as Sdk
import qualified SdkFeatures as F
import VoxgigStruct (Value (..))
import SdkHelpers (jo)

main :: IO ()
main = do
  sdk <- Sdk.newSdk0
  params <- jo [("id", VStr "example")]
  args <- jo [("path", VStr "/api/resource/{id}"), ("method", VStr "GET"), ("params", params)]
  result <- F.direct sdk args
  print result

Java:

Map<String, Object> result = client.direct(Map.of(
    "path", "/api/resource/{id}",
    "method", "GET",
    "params", Map.of("id", "example")));

JavaScript:

const result = await client.direct({
  path: '/api/resource/{id}',
  method: 'GET',
  params: { id: 'example' },
})
if (result instanceof Error) {
  throw result
}
console.log(result.data)

Kotlin:

val result = client.direct(mutableMapOf<String, Any?>(
    "path" to "/api/resource/{id}",
    "method" to "GET",
    "params" to mapOf("id" to "example")))

OCaml:

let result = Sdk_client.direct client (jo [
    ("path", Str "/api/resource/{id}");
    ("method", Str "GET");
    ("params", jo [("id", Str "example")]);
]) in
ignore result

Perl:

my $result = $client->direct({
    'path' => '/api/resource/{id}',
    'method' => 'GET',
    'params' => { 'id' => 'example' },
});

Rust:

let result = client.direct(jo(vec![
    ("path", Value::str("/api/resource/{id}")),
    ("method", Value::str("GET")),
    ("params", jo(vec![("id", Value::str("example"))])),
]));

Scala:

val result = client.direct(java.util.Map.of(
    "path", "/api/resource/{id}",
    "method", "GET",
    "params", java.util.Map.of("id", "example")))

Swift:

let result = client.direct(VMap([
    ("path", .string("/api/resource/{id}")),
    ("method", .string("GET")),
    ("params", .map([("id", .string("example"))])),
]))

Zig:

const result = client.direct(h.jo(&.{
    .{ "path", h.vstr("/api/resource/{id}") },
    .{ "method", h.vstr("GET") },
    .{ "params", h.jo(&.{.{ "id", h.vstr("example") }}) },
}));

Advanced

Everyday use only needs the sections above. This explains the internals behind every call — relevant when writing custom features.

Every SDK call runs the same five-stage pipeline:

  1. Point — resolve the API endpoint from the operation definition.
  2. Spec — build the HTTP specification (URL, method, headers, body).
  3. Request — send the HTTP request.
  4. Response — receive and parse the response.
  5. Result — extract the result data for the caller.

A feature hook fires at each stage (e.g. PrePoint, PreSpec, PreRequest), so features can inspect or modify the pipeline without forking the SDK.

Features

FeaturePurpose
TestFeatureIn-memory mock transport for testing without a live server

Pass custom features via the extend option at construction time.

Per-language documentation

Upstream API

This SDK is generated from the upstream OpenAPI specification. It is an unofficial client and is not affiliated with the API provider.

Security

Please report security issues to security@voxgig.com. See SECURITY.md. Do not open public issues for suspected vulnerabilities.


Generated from the Merchant Portal Web Service Documentation OpenAPI spec by @voxgig/sdkgen.

Get the Voxgig dispatch

Short notes on building SDKs, CLIs, REPLs, and MCPs for API-first teams, plus the occasional Fireside episode pick.

By signing up you agree to our Terms and Conditions.