Skip to content

Tokenized Payment

Shipu Ahamed edited this page Sep 29, 2019 · 6 revisions

$tokenized initialization here.

In laravel use Shipu\Bkash\Facades\Tokenized instead of $tokenized if you want.

Create Payment

$tokenized->payment()->create( $agreementId, $amount, $merchantInvoiceNumber, $callbackUrl, $intent, $currency);

or 

$tokenized->createPayment($agreementId, $amount, $merchantInvoiceNumber, $callbackUrl, $intent, $currency);

you can get $agreementId after execute agreement api call. $callbackUrl, $intent and $currency optional.

Execute Payment

$tokenized->payment()->execute($paymentId);

or 

$tokenized->executePayment($paymentId);

you can get $paymentId after create payment api call

Payment Status

$tokenized->payment()->status($paymentId);

or 

$tokenized->statusPayment($paymentId);

you can get $paymentId after execute payment api call

← Tokenized Checkout | Tokenized Supporting Operations →