An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![pub package](https://img.shields.io/pub/v/paytm_api.svg?style=for-the-badge)](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)