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

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
140
points
308
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

crypto, dio, http, json_annotation, logging, meta

More

Packages that depend on stripe