Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 574 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 574 Bytes

Finnotech.ir Client

Laravel/PHP Finnotech Api Client

Finnotech

Home Page: https://finnotech.ir

Api Doc: https://apibeta.finnotech.ir

Sandbox Dashboard Url: https://sandboxbeta.finnotech.ir

Mainnet Dashboard Url: https://devbeta.finnotech.ir

Usage

Create a OAuth athorization redirect

FinnotechClient::createOAuthRedirect(["scope" => ['refund:deposit-card:post'], "bank" => config("finnotech.bank")]);

Handle Callback

Route::get('/callback', function (Request $request) {
    return FinnotechClient::callback($request->input("code"));
});