Skip to content

Checkout Supporting Operations

Shipu Ahamed edited this page Jul 17, 2020 · 6 revisions

$checkout initialization here.

In laravel use Shipu\Bkash\Facades\Checkout instead of $checkout if you want.

Query Organization Balance

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

or 

$checkout->queryOrganizationBalance();

Intra-Account Transfer

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

or 

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

$currency is optional. $currency default value BDT.

Search Transaction Details

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

or 

$checkout->searchTransaction( $trxId );

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

Refund

$checkout->support()->refundTransaction( $amount, $paymentID, $trxID, $reason, $sku );

or 

$checkout->refundTransaction( $amount, $paymentID, $trxID, $reason, $sku );

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

Refund Status

$checkout->support()->refundStatus( $paymentID, $trxID );

or 

$checkout->refundStatus( $paymentID, $trxID );

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

← Checkout Payout | Checkout Token →

Clone this wiki locally