apollopay 1.1.1 copy "apollopay: ^1.1.1" to clipboard
apollopay: ^1.1.1 copied to clipboard

An Sdk for Apollopay API requests.

example/apollopay_example.dart

import 'package:apollopay/src/api/apollopay.dart';

void main() {
  //Create an instance of Apollopay.
  //Get your application token from your Apollopay account or from your Apollopay representative.
  final apollopay = Apollopay(
      applicationToken:
          'fc1ca73c716cd6227a31f6f9c459dcb4afca447b02cb511f820bf483b38f468d231d6b425fd2d6de28d3a19f42f27e88547bebd4f38561bff61f6a51f0de8bcd',
      apiUrl: 'http://127.0.0.1:8080',
      apiVersion: 'v1.0',
      clientPublicKey: 'abc123',
      clientPrivateKey: '123abc');

  //Call a service method.
  apollopay.cardsService.getCard('card_451f61294cc0cb39ba80e40617261fca');
}
1
likes
90
pub points
27%
popularity

Publisher

verified publisherapollocode.ca

An Sdk for Apollopay API requests.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, http, mongo_dart

More

Packages that depend on apollopay