@extends('developer.layouts.master')
@section('content')
<div class="developer-body-wrapper">
<div class="developer-main-wrapper">
<h1 class="heading-title mb-20">{{ __("Error Handling") }}</h1>
<p>{{ __("In case of an error, the API will return an error response containing a specific error code") }} <strong>400, 403 {{ __("Failed") }}</strong> {{ __("and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.") }}</p>
</div>
<div class="page-change-area">
<div class="navigation-wrapper">
<a href="{{ setRoute('frontend.developer.response.code') }}" class="left"><i class="las la-arrow-left me-1"></i> {{ __("Response Codes") }}</a>
<a href="{{ setRoute('frontend.developer.best.practice') }}" class="right">{{ __("Best Practices") }} <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"
}