stripe 4.1.0 copy "stripe: ^4.1.0" to clipboard
stripe: ^4.1.0 copied to clipboard

outdated

A simple Stripe API wrapper, that is meant to be used on the server.

example/example.dart

import 'package:stripe/stripe.dart';

void main() async {
  // Use your private key here.
  final stripe = Stripe('sk_31JFqK234KJ2n34Kj234...');

  final chargeId = 'ch_foobar';

  // All Stripe calls return dart objects, not generic Maps.
  final charge = await stripe.charge.retrieve(chargeId);
  print(charge.balanceTransaction);
}
33
likes
0
pub points
86%
popularity

Publisher

unverified uploader

A simple Stripe API wrapper, that is meant to be used on the server.

Repository (GitLab)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

crypto, dio, http, json_annotation, logging, meta

More

Packages that depend on stripe