<?php
namespace Database\Factories\Admin;
use App\Models\Admin\Currency;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Admin\Currency>
*/
class CurrencyFactory extends Factory
{
protected $model = Currency::class;
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition()
{
return [
'country' => $this->faker->country,
'name' => "-",
'code' => $this->faker->currencyCode(),
'symbol' => "-",
'admin_id' => 1,
'type' => "FIAT",
'rate' => 1.00,
];
}
}
Checks the status of a payment.
**Response: SUCCESS (200 OK)**
{
"message": {
"success": [
"Success"
]
},
"data": {
"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
"trx_id": "CP44657864",
"payer": {
"username": "testuser",
"email": "user@appdevs.net"
}
"status": "Test",
},
"type": "success"
}