Skip to content

Payment Supporting Operations

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

$payment initialization here.

In laravel use Shipu\Bkash\Facades\Payment instead of $payment if you want.

Query Organization Balance

$payment->support()->queryOrganizationBalance();

or 

$payment->queryOrganizationBalance();

Intra-Account Transfer

$payment->support()->intraAccountTransfer( $amount, $transferType, $currency );

or 

$payment->intraAccountTransfer( $amount, $transferType, $currency);

$currency is optional. $currency default value BDT.

Search Transaction Details

$payment->support()->searchTransaction( $trxId );

or 

$payment->searchTransaction( $trxId );

you can get $trxId after checkout execute payment api call.

Refund

$payment->support()->refund( $trxId, $amount, $currency );

or 

$payment->refund( $trxId, $amount, $currency );

you can get $trxId after checkout execute payment api call. $currency is optional. $currency default value BDT.

Clone this wiki locally