stripe_updated 5.0.0 copy "stripe_updated: ^5.0.0" to clipboard
stripe_updated: ^5.0.0 copied to clipboard

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

example/example.dart

import 'package:stripe_updated/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);
}
0
likes
135
points
32
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

License

MIT (license)

Dependencies

crypto, dio, json_annotation, logging, meta

More

Packages that depend on stripe_updated