stripe 4.2.0 copy "stripe: ^4.2.0" to clipboard
stripe: ^4.2.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);
}
36
likes
0
points
308
downloads

Publisher

unverified uploader

Weekly Downloads

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