Instance BBaaS

Start instance BBaaS, you need import the package

import 'package:bbaas/bbaas.dart';

BBaaS bbaas = BBaaS(
   scheme: 'https',
   host: 'api.bbaas.com.br',
   clientName: 'mycompany',
   authentication: 'authentication-token',
   privateKey: 'rsa-privatekey',
   network: 'hathor',
   gatewayOptions: AsaasOptions(
   asaasAccessToken:
        '\$aact_AsaasAccessToken==',
   asaasAddressKey: "asaasAddressKey",
 ),
);

Your Authentication-Token is used to get Authorization-Token for each api operations.

Your PrivateKey is used only to signature operations, and it's not send to us.

Keep save your keys.

To Get your first Access, you need follow this steps (Get First Access).

Last updated