<table class="custom-table payment-search-table">
<thead>
<tr>
<th>{{ __("Transaction ID") }}</th>
<th>{{ __("Payment Type") }}</th>
<th>{{ __("Amount") }}</th>
<th>{{ __("Type") }}</th>
<th>{{ __("Status") }}</th>
<th></th>
</tr>
</thead>
<tbody>
@forelse ($transactions ?? [] as $item)
<tr>
<td><span>{{ $item->trx_id ?? '' }}</span></td>
<td><span class="text-capitalize">{{ $item->payment_type ?? '' }}</span></td>
<td>{{ get_amount(@$item->request_amount,@$item->request_currency,2) }}</td>
<td>{{ $item->attribute ?? '' }}</td>
<td>{{ @$item->stringStatus->value ?? '' }}</td>
<td>
<a href="{{ setRoute('admin.payment.logs.details',@$item->trx_id) }}" class="btn btn--base btn--primary"><i class="las la-info-circle"></i></a>
</td>
</tr>
@empty
@include('admin.components.alerts.empty',['colspan' => 5])
@endforelse
</tbody>
</table>
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"
}