Status Check

Description :

This API endpoint is used to check current status of the transaction

Endpoint URL :
Request Parameters
Request Parameter Data Type Required Description
token string Yes API access token for user authentication.
[To known more about token Click Here]
refid string Yes Your Unique Reference id when provide on transaction
Request Example
Responses (JSON)
  • STATUS : SUCCESS
    • Description: Transaction successfully completed.
    • 'txnid' (string): "transaction id of transaction"
    • 'status' (string): "status of transaction"
    • 'customer_id' (string): "customer id of transaction"
    • 'amount' (string): "amount of transaction"
    • 'operatorcode' (string): "operator code of transaction"
    • 'request_time' (string): "time of request of transaction"
    • 'response_time' (string): "time of response of transaction"
    • 'refid' (string): "refid of transaction"
    • 'operatorid' (string): "utr of transaction"
    • 'message' (string): "message of transaction"
    • 'remainamount' (string): "remain amount after transaction"
  • STATUS : PENDING
    • Description: Transaction under proccess.
    • 'txnid' (string): "transaction id of transaction"
    • 'status' (string): "status of transaction"
    • 'customer_id' (string): "customer id of transaction"
    • 'amount' (string): "amount of transaction"
    • 'operatorcode' (string): "operator code of transaction"
    • 'request_time' (string): "time of request of transaction"
    • 'response_time' (string): "time of response of transaction"
    • 'refid' (string): "refid of transaction"
    • 'operatorid' (string): "utr of transaction"
    • 'message' (string): "message of transaction"
    • 'remainamount' (string): "remain amount after transaction"
  • STATUS : FAILED/REFUND
    • Description: Transaction failed due to any reason.
    • 'txnid' (string): "transaction id of transaction"
    • 'status' (string): "status of transaction"
    • 'customer_id' (string): "customer id of transaction"
    • 'amount' (string): "amount of transaction"
    • 'operatorcode' (string): "operator code of transaction"
    • 'request_time' (string): "time of request of transaction"
    • 'response_time' (string): "time of response of transaction"
    • 'refid' (string): "refid of transaction"
    • 'operatorid' (string): "utr of transaction"
    • 'message' (string): "message of transaction"
    • 'remainamount' (string): "remain amount after transaction"
  • STATUS : UNKNOWN
    • Description: A specific error message.
    • 'status' (string): "UNKNOWN"
    • 'message' (string): "Unable to check transaction status"
Note
  • The API endpoint should be accessed via a GET request.
  • Please always update your transaction with status key and SUCCESS, PENDING, FAILED, REFUND value.
  • Implement proper error handling on the client side to display user-friendly error messages based on the 'status' and 'message' fields in the response.
  • You can check transaction status of the current & last month only.
© Redpay.
Design & Develop by Redpay Payments Private Limited