rapyd 0.1.4 copy "rapyd: ^0.1.4" to clipboard
rapyd: ^0.1.4 copied to clipboard

Rapyd Flutter SDK for accessing the Payments API

example/example.dart

import 'package:rapyd/rapyd.dart';

Future<void> main() async {
  final rapydClient = RapydClient('<rapydAccessKey>', '<rapydSecretKey>');

  try {
    final customer = await rapydClient.createNewCustomer(
      email: 'example@name.com',
      name: 'User',
    );

    print('Created customer successfully, ID: ${customer.data.id}');
  } catch (e) {
    print('ERROR: ${e.toString()}');
  }
}
3
likes
130
pub points
0%
popularity

Publisher

verified publishersouvikbiswas.com

Rapyd Flutter SDK for accessing the Payments API

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

convert, crypto, http

More

Packages that depend on rapyd