stripedart 1.1.2 copy "stripedart: ^1.1.2" to clipboard
stripedart: ^1.1.2 copied to clipboard

Dart library for the Stripe API. The Stripe Dart library provides convenient access to the Stripe API from applications written in server-side Dart.

Stripe Dart Library #

The Stripe Dart library provides convenient access to the Stripe API from applications written in server-side Dart.

For collecting customer and payment information in Flutter app, use our Stripe Flutter SDK.

Documentation #

See the stripe-node API docs for Node.js.

Usage #

The package needs to be configured with your account's secret key, which is available in the Stripe Dashboard. Require it with the key's value:

var stripe = Stripe('sk_test_...');
var result = await stripe.core.customers.create(params: {
  "email": 'customer@example.com',
});

Configuration #

Initialize with config object #

The package can be initialized with several options:

var stripe = Stripe('sk_test_...', {
  apiVersion: '2020-03-02'
});
Option Default Description
apiVersion null Stripe API version to be used. If not set the account's default version will be used.
8
likes
100
pub points
55%
popularity

Publisher

verified publisheriglu.dev

Dart library for the Stripe API. The Stripe Dart library provides convenient access to the Stripe API from applications written in server-side Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, json_annotation

More

Packages that depend on stripedart