anivex_partner_api

Dart/Flutter client for the Anivex Partner API -- create escrows, check status, release funds, and resolve buyer/seller Anivex accounts.

Usage

import 'package:anivex_partner_api/anivex_partner_api.dart';

final client = AnivexPartnerApiClient.instance;

final lookup = await client.lookupUserByEmail('buyer@example.com');
if (lookup.isSuccess) {
  final escrow = await client.createEscrow(
    buyerId: lookup.data['user_id'],
    sellerEmail: 'seller@example.com',
    description: 'Order #123',
    amount: 15000,
  );
}

Pass your API key at build time:

flutter run --dart-define=ANIVEX_PARTNER_API_KEY=avn_test_...

See the full integration manual for endpoint details, scopes, and security guidance.

Libraries

anivex_partner_api
Dart/Flutter client for the Anivex Partner API.