https://github.com/scientifichackers/dart-paytm-api
Paytm internal APIs for dart
https://github.com/scientifichackers/dart-paytm-api
Last synced: 11 months ago
JSON representation
Paytm internal APIs for dart
- Host: GitHub
- URL: https://github.com/scientifichackers/dart-paytm-api
- Owner: scientifichackers
- License: other
- Created: 2019-09-16T15:28:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-19T15:13:44.000Z (over 5 years ago)
- Last Synced: 2025-06-24T06:06:15.741Z (12 months ago)
- Language: Dart
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dartlang.org/packages/paytm_api)
# Paytm API
A wrapper on paytm internal APIs, reverse-engineered from the paytm app.
## Usage
1. Generate Access token
```dart
import 'package:paytm_api/paytm_api.dart' as paytm;
var loginToken = await paytm.login('', '');
var oauthToken = await paytm.enterOTP(loginToken, '');
var accessToken = await paytm.getAccessToken(oauthToken);
```
2. Use Access token for full access to account
```dart
print(await paytm.getWalletHistory(accessToken));
```
## Thanks 🙏
- [Charles Proxy](https://www.charlesproxy.com/)
- [Magisk](https://magiskmanager.com/)
- [MagiskTrustUserCerts](https://github.com/NVISO-BE/MagiskTrustUserCerts)