Payment Transactions

Retrieve Transaction

Retrieve Transaction

This method is used to retrieve the transaction details using the reference transaction id.

Original Transaction:

Sample Request

{
    "market_code": "R",
    "method": "CC",
    "test": "0",
    "type": 2,
    "amount": "56.00",
    "nonce": {{$timestamp}},
    "client_ip": "106.51.74.202",
    "card": {
        "expiration_date": "1122",
        "number": "4067772771561673"
    }

}

Sample Response:

{
  "transaction_response": {
    "result_code": 1,
    "result_sub_code": "000",
    "result_text": "APPROVAL",
    "transaction_id": "1038577",
    "transaction_uid": "ebfdd6ed-ba88-445d-a550-f385053355ce",
    "transaction_datetime": "20200922T064112Z",
    "account_type": "VI",
    "account_last_4": "1673",
    "amount": "56.00",
    "approved_amount": "56.00",
    "method": "CC",
    "auth_code": "OK6695",
    "avs_result_code": "",
    "code_result": "",
    "type": "2",
    "expiration_date": "1122",
    "token": "7a1e3f537382400593a276832e54ba27",
    "emv": "",
    "emv_tag_data": "",
    "entry_mode": ""
  },
  "nonce": "1600756869",
  "test": "0",
  "customer": {
    "first_name": "",
    "last_name": "",
    "street_1": "",
    "street_2": "",
    "city": "",
    "state": "",
    "zip": "",
    "country": "",
    "phone_number": "",
    "company": "",
    "customer_id": "",
    "email": "",
    "email_receipt": "",
    "notes": "",
    "action_code": ""
  },
  "card_info": {
    "card_class": "",
    "product_id": "",
    "prepaid_indicator": "",
    "detailcard_indicator": "",
    "debitnetwork_indicator": ""
  }
}

Retrieve Transaction Details Using Transaction ID

Sample Request:

{
    "type": "13",
    "nonce": "",
    "reference_transaction_id": "1038577"
}

Sample Response:

{
  "transaction_response": {
    "result_code": 1,
    "result_sub_code": "000",
    "result_text": "APPROVAL",
    "transaction_id": "1038577",
    "transaction_uid": "ebfdd6ed-ba88-445d-a550-f385053355ce",
    "transaction_datetime": "20200922T064112Z",
    "account_type": "VI",
    "account_last_4": "1673",
    "amount": "56.00",
    "approved_amount": "56",
    "method": "CC",
    "auth_code": "OK6695",
    "avs_result_code": " ",
    "code_result": " ",
    "type": "2",
    "expiration_date": "1122",
    "token": "7a1e3f537382400593a276832e54ba27",
    "emv": "",
    "emv_tag_data": "",
    "entry_mode": ""
  },
  "nonce": "1600756869",
  "test": "0",
  "customer": {
    "first_name": "",
    "last_name": "",
    "street_1": "",
    "street_2": "",
    "city": "",
    "state": "",
    "zip": "",
    "country": "",
    "phone_number": "",
    "company": "",
    "customer_id": "",
    "email": "",
    "email_receipt": "NO",
    "notes": "",
    "action_code": ""
  },
  "custom_fields": [],
  "card_info": {
    "card_class": "",
    "product_id": "",
    "prepaid_indicator": "",
    "detailcard_indicator": "",
    "debitnetwork_indicator": ""
  }
}

Retrieve Transaction Details Using transaction_uid

Sample Request

{
    "type": "13",
    "nonce": "",
    "reference_transaction_id": "ebfdd6ed-ba88-445d-a550-f385053355ce"
}

Sample Response

{
  "transaction_response": {
    "result_code": 1,
    "result_sub_code": "000",
    "result_text": "APPROVAL",
    "transaction_id": "1038577",
    "transaction_uid": "ebfdd6ed-ba88-445d-a550-f385053355ce",
    "transaction_datetime": "20200922T064112Z",
    "account_type": "VI",
    "account_last_4": "1673",
    "amount": "56.00",
    "approved_amount": "56",
    "method": "CC",
    "auth_code": "OK6695",
    "avs_result_code": " ",
    "code_result": " ",
    "type": "2",
    "expiration_date": "1122",
    "token": "7a1e3f537382400593a276832e54ba27",
    "emv": "",
    "emv_tag_data": "",
    "entry_mode": ""
  },
  "nonce": "1600756869",
  "test": "0",
  "customer": {
    "first_name": "",
    "last_name": "",
    "street_1": "",
    "street_2": "",
    "city": "",
    "state": "",
    "zip": "",
    "country": "",
    "phone_number": "",
    "company": "",
    "customer_id": "",
    "email": "",
    "email_receipt": "NO",
    "notes": "",
    "action_code": ""
  },
  "custom_fields": [],
  "card_info": {
    "card_class": "",
    "product_id": "",
    "prepaid_indicator": "",
    "detailcard_indicator": "",
    "debitnetwork_indicator": ""
  }
}