This endpoint provides the status of payment transactions. It is part of the API client's endpoints and is designed for checking the status of payments made through the system.

  • Method: GET
  • Path: /en/api-client/endpoints/payment/status

Usage

To retrieve the payment status, you can send a GET request to the endpoint. Here is an example of how the request might look:

curl -X GET "https://example.com/en/api-client/endpoints/payment/status?transaction_id=123456"

Response

The response will be in JSON format and will contain the following fields:

  • status: The current status of the payment (e.g., "pending", "completed", "failed").
  • transaction_id: The unique identifier for the transaction.
  • message: Additional information about the transaction status.

Example Response

{
  "status": "completed",
  "transaction_id": "123456",
  "message": "The payment has been successfully processed."
}

Related Endpoints

For more information on other endpoints, you can visit the API documentation.

Payment Process Flow