Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Fund Transfer External

Aslam edited this page Mar 25, 2021 · 1 revision

Account Validation

Validate the destination account used for the transaction. Usually, it is called before making a transfer request to make sure the source account (specifically the name) is correct

/**
 * Fund transfer external account validation
 *
 * @param string $bankCode
 * @param string $beneficiaryAccount
*/
$FTEAccountValidation = $bri->FTEAccountValidation('014', '8888123123')->toJson();

Transfer

used to make transfer requests from a BRI account (GIRO or TABUNGAN) to another bank account. The maximum number of total transaction limits and daily limits will be determined by BRI.

/**
 * Fund transfer external
 *
 * @param array $data
*/
$FTETransfer = $bri->FTETransfer([
    'noReferral' => '20180212002', // Nomor referensi yang unik, dikirim oleh partner
    'bankCode' => '014', // Kode bank tujuan
    'sourceAccount' => '888801000003301', // Rekening sumber
    'beneficiaryAccount' => '12345678', // Rekening tujuan
    'beneficiaryAccountName' => 'Dummy Name Account',
    'amount' => '1000.00', // Nominal transfer Format ##.##
])->toJson();

List Bank Code

/**
 * Get list bank code
*/
$FTEListBankCode = $bri->FTEListBankCode()->toJson();