Skip to content

scientifichackers/dart-paytm-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 🙏

About

Paytm internal APIs for dart

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages