This API endpoint, /api/reference/endpoints/payment/status
, provides real-time information about the status of payment transactions.
- Live Status: Get the live status of any payment transaction.
- Use Case: Useful for tracking payments in e-commerce, finance, or any other transactional service.
Request Details
- HTTP Method: GET
- URL:
/api/reference/endpoints/payment/status
- Query Parameters: (Optional)
transaction_id
: Unique identifier for the transaction.
Response
The response will be in JSON format, containing the following fields:
status
: Current status of the payment (e.g., pending, completed, failed).transaction_id
: Unique identifier for the transaction.message
: Additional information or error message (if applicable).
Example
{
"status": "completed",
"transaction_id": "123456789",
"message": "Payment completed successfully."
}
For more information on how to use this endpoint, refer to our API Documentation.
Payment Process Flow