edubank

This package provides access to edubank API resources

Get started

Add dependency

You can use the command to add edubank as a dependency with the latest stable version:

$ dart pub add edubank

Or you can manually add dio into the dependencies section in your pubspec.yaml:

dependencies:
  edubank: ^0.0.1

Usage

import 'package:edubank/edubank.dart';

final edubank = Edubank(apiKey: 'apiKey', sellerId: 'sellerId');

final encryptedCard = edubank.encryptCard(
  sellerEncryptionKey: 'sellerEncryptionKey',
  holderName: 'John Doe',
  cardNumber: '4321432143214321',
  expirationMonth: '12',
  expirationYear: '2025',
  securityCode: '124',
  numberInstallments: 5,
);

Additional information

Keys apiKey, sellerId and sellerEncryptionKey are provided by edubankĀ© Contact contato@edubank.com.br

Libraries

edubank