Transaction By Hash

Retrieve Transaction By Hash

This API enables Merchant to retrieve the Transaction Detail utilizing Transaction Hash

URI

Method

Headers

/api/getTransactionDetailByHash

POST

Content-Type: application/json

charset: UTF-8

Authorization: Bearer <Access Token>

Request Parameters

Field

Description

Data Type

Length/Range

Mandatory

hash

Transaction Hash

String

20-100

Y

app_name

Merchant Application Name

String

9

Y

session_id

User Session Id

String

65

Y

Response Parameters

Field

Description

Data Type

status

Response Status

String

merchant_id

Merchant Id

String

txn_ref_id

Transaction Reference Id

String

from_address

Sender Address

String

to_address

Receiver Address

String

transaction_hash

Transaction Hash

String

amount

Transaction Amount (Crypto)

Number

itemcost_crypto

Item Cost (Crypto)

Number

fee_crypto

Transaction Fees (Crypto)

Number

actual_process_fee

Actual Processing Fees (Crypto)

Number

to_from_crypto

From/To CryptoCurrency Type

String

payment_reference

Payment Reference

String

merchant_time_zone

Merchant Time Zone

String

settlement_type

Settlement Type (1 - Crypto, 2 - FIAT)

Number

transaction_date

Transaction Date

Date

description

Transaction Description

String

remarks

Transaction Remarks

String

txn_status

Transaction Status (1 - Completed, 2 - Failed)

Number

transaction_type

Transaction Type

String

Sample Request

curl -v -X POST https://sandbox.everuspay.com/api/getTransactionDetailByHash \
-H "Content-Type: application/json" \
-d '{    
    "hash":"1f8ae3712d92ac549728783486e15af683eed4957e34ea1d99f9aa23f64c8f64",    
    "app_name":"EVERUSPAY",    
    "session_id":"90d6fc012790a4c4ddf29545d0b8ea5c988a2a07f9e9106a54e96a22388086f3"
}'

Sample Response

{    "merchant_id": "EVR23457JKLU",    
     "txn_ref_id": "121674499590475",    
     "from_address": "2MsNKwQhpudqZvUQwcKtCsuhm8t5obPqyAg",    
     "to_address": "muAK81Po7kMwGJznuv1HTV79ymT3oFFWEs",    
     "transaction_hash": "1f8ae3712d92ac549728783486e15af683eed4957e34ea1d99f9aa23f64c8f64",    
     "amount": 383.64536828,    
     "itemcost_crypto": 382.50129661,    
     "fee_crypto": 1.14407167,    
     "actul_process_fee": 1.14,    
     "to_from_crypto": "EVR To EVR",    
     "payment_reference": "EVERUSPAY - 5CB805C864383181",    
     "merchant_time_zone": "America/Los_Angeles",    
     "settlement_type": 2,    
     "transaction_date": "2019-04-18 13:07:04",    
     "description": "Transfer tokens From Users evr to Admin evr",    
     "remarks": "EVR Tokens Transfer",    
     "txn_status": 1,    
     "transaction_type": "ETH TO ETH"
}

Last updated