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

outdated

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
0
pub points
0%
popularity

Publisher

verified publishersouvikbiswas.com

Rapyd Flutter SDK for accessing the Payments API

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, crypto, http

More

Packages that depend on rapyd