paytm_api 0.0.2
paytm_api: ^0.0.2 copied to clipboard

A new Flutter package.

pub package

Paytm API #

A wrapper on paytm internal APIs, reverse-engineered from the paytm app.

Usage #

  1. Generate Access token
import 'package:paytm_api/paytm_api.dart' as paytm;


var loginToken = await paytm.login('<phone number>', '<password>');
var oauthToken = await paytm.enterOTP(loginToken, '<otp>');
var accessToken = await paytm.getAccessToken(oauthToken);
  1. Use Access token for full access to account
print(await paytm.getWalletHistory(accessToken));

Thanks 🙏 #

0
likes
45
pub points
0%
popularity

Publisher

Unknown

A new Flutter package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

LICENSE

Dependencies

flutter, http

More

Packages that depend on paytm_api