Get Transaction Details API

To Confirm If Your Transaction Was Success Or Declined, You Can Call Bellow New API.

This API Call Is Optional, It Is Just For Security And Transaction Confirmation. You Do Not Need To Call This API To Complete Transaction.

Request Parameter *

Paramters Required Data Type Description
api_key Yes String API key from your account.
order_id Optional String Value you returned from Transaction API.
customer_order_id Optional String Merchant side unique transaction Ref.
URL -
https://dashboard.charge.money/api/get-transaction-details
Method - POST

Note: order_id or customer_order_id One Parameter Should Be Pass. Both Parameter Can Be Pass, But At Least One Is Required.

Response

DESCRIPTION OF SUCCESS JSON PARAMETER

status: success means transaction found in our system.
customer_order_id: This is string sent in transaction API.
transaction_status "success" / "fail" / "pending"

IF TRANSACTION NOT FOUND IN RECORD.
{
"status": "fail",
"message": "Transaction not found."
}
After successful CURL request example :

If there will be no validation errors in request, response will be like:

{
    "status": "success",
    "transaction": {
        "order_id": "16249643005FIFA4ARBU",
        "customer_order_id": "GH56HJ86285CVP",
        "transaction_status": "success",
        "reason": "Your transaction has been processed successfully.",
        "card_no": "XXXXXXXXXXXX4242",
        "ccExpiryMonth": "09",
        "ccExpiryYear": "2034",
        "descriptor": "chargeMoney",
        "currency": "USD",
        "amount": "20.00",
        "transaction_date": "2021-06-23 04:38:50"
    }
}