inttegro 0.5.0 copy "inttegro: ^0.5.0" to clipboard
inttegro: ^0.5.0 copied to clipboard

Official typed server-side Dart SDK for Inttegro.

Inttegro Dart SDK #

The official typed Dart client for server-side Inttegro integrations. This package does not depend on Flutter and is separate from the mobile payment-sheet SDK. Never embed a server API key in a Flutter, browser, or other customer-facing app.

dart pub add inttegro
import 'dart:io';
import 'package:inttegro/inttegro.dart';

final client = Client(apiKey: Platform.environment['INTTEGRO_API_KEY']!);
final order = await client.orders.lookup(
  const LookupOrderRequest(orderId: 'order_...'),
);
print(order.id);
client.close();

All methods return domain values; wire response envelopes remain private.

Observability and error reporting #

Provide a Telemetry and/or ErrorReporter implementation to Client. Telemetry emits prepared, received, decoded, and failed lifecycle events without API keys, request bodies, or resource identifiers. Error reports are not constructed unless a reporter is configured. The default unexpected policy reports transport, decoding, unknown, and server failures.

See the API reference and Inttegro Studio.

0
likes
0
points
992
downloads

Publisher

unverified uploader

Weekly Downloads

Official typed server-side Dart SDK for Inttegro.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on inttegro