payment_id
returned by the Generate Payment endpoint.
In this endpoint, it is crucial to ensure that the “success” field is true before attempting to parse the API’s content. Once confirmed, the payload will reveal the precise status of the transaction at the time of the API call. The transaction status can be one of the following:
- SUCCESS: This indicates that the transaction has been confirmed and the payment was successful.
- PENDING: The session is still active, and a payment can still be confirmed.
- EXPIRED: The session has expired, and no payment is expected.
- FAILURE: The payment has failed, and details regarding the failure, including the reason, are accessible via the API.
Path Parameters
The ID of the payment to verify.