PHP TRANSACTION

$transaction = [
‘reference’ => ‘REF-‘ . date(‘Ymd’) . ‘-‘ . rand(10000,99999),
‘date’ => current_time(‘mysql’),
‘customer_name’ => ‘John Doe’,
’email’ => ‘john@example.com’,
‘phone’ => ‘+2348012345678’,
‘payment_method’ => ‘Bank Transfer’,
‘transaction_type’ => ‘Service Payment’,
‘amount’ => 50000,
‘currency’ => ‘NGN’,
‘status’ => ‘Successful’
];