conekta 6.0.6 copy "conekta: ^6.0.6" to clipboard
conekta: ^6.0.6 copied to clipboard

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

example/main.dart

import 'package:conekta/conekta.dart';

Future<void> main() async {
  var instance = Conekta();
  instance.setBearerAuth("bearerAuth", "key_xxxx");
  final api = instance.getCustomersApi();
  
  var customer = Customer((b) => b
    ..name = 'John Constantine'
    ..email = 'email@gmail.com'
    ..phone = '5555555555'
  );
  var response = await api.createCustomer(customer: customer);
  print(response.data);
}
3
likes
140
points
62
downloads

Publisher

verified publisherconekta.com

Weekly Downloads

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

Repository
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on conekta