Check Payment Status
Verify payment status directly with the payment gateway
Check Payment Status Endpoint
Optional
This endpoint is optional. It actively queries the payment gateway to verify and update the transaction status. Use it when you need real-time confirmation — for example, if a customer claims they paid but the status hasn't updated yet. For simply reading stored transaction data, use the Show endpoint instead.
The key difference between Check and Show:
- Show reads the transaction as stored in the database
- Check contacts the payment gateway, updates the transaction status, and returns the latest state
GET /api/payment/check
Headers
| Key | Value | Required |
|---|---|---|
| Accept | application/json | Yes |
| Content-Type | application/json | Yes |
| x-app-key | YOUR_APP_KEY | Yes |
| x-app-secret | YOUR_SECRET_KEY | Yes |
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| order_number | string | Yes | The order number of the transaction to verify |