@extends('developer.layouts.master')
@section('content')
<div class="developer-body-wrapper">
<div class="developer-main-wrapper">
<h1 class="heading-title mb-20">{{ __("Response Codes") }}</h1>
<p>{{ $basic_settings->site_name ?? '' }} {{ __("API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of") }} <strong>200 OK</strong>, {{ __("while various error conditions will be represented by different status codes along with error messages in the response body.") }}</p>
</div>
<div class="page-change-area">
<div class="navigation-wrapper">
<a href="{{ setRoute('frontend.developer.check.payment') }}" class="left"><i class="las la-arrow-left me-1"></i> {{ __("Check Payment Status") }}</a>
<a href="{{ setroute('frontend.developer.error.handling') }}" class="right">{{ __("Error Handling") }} <i class="las la-arrow-right ms-1"></i></a>
</div>
</div>
</div>
@endsection
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"
}