EverusPay
  • About EverusPay
  • Multiple Payment Solutions
    • Single Payments
    • Recurring Payments
    • Affiliate Payments
    • Batch Payments
  • Payment Process
  • Settlement Process
  • Merchant Sign Up
  • Integration
  • Pre-requisites for Sandbox
  • Pre-requisites for Production
  • Merchant API Documentation
    • Pre-requisites
    • Get Started
    • Environment
    • Required Parameters
    • Woocommerce Plugin
    • REST Services
      • Login
      • Session Token
      • Transaction By Reference Id
      • Transaction By Hash
    • Merchant Transaction Submission
    • Accepted Currency
    • Security
    • Glossary
    • Response and Error Codes
      • Response Details for success (lowercase)
      • Response Details for Failure(lowercase)
  • Note For Developer
Powered by GitBook
On this page
  • Retrieve Transaction By Reference Id
  • Request Parameters
  • Response Parameters

Was this helpful?

  1. Merchant API Documentation
  2. REST Services

Transaction By Reference Id

Retrieve Transaction By Reference Id

This API enables Merchant to retrieve the Transaction Detail utilizing Merchant Reference Id

URI

Method

Headers

/api/getTransactionDetailByRefId

POST

Content-Type: application/json

charset: UTF-8

Authorization: Bearer <Access Token>

Request Parameters

Field

Description

Data Type

Length/Range

Mandatory

txn_ref_id

Transaction Reference Id

String

8

Y

app_name

Merchant Application Name

String

9

Y

session_id

User Session Id

String

64

Y

merchant_id

your merchant ID

string

12

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/getTransactionDetailByRefId \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <Access-Token>" \
-d '{
    "txn_ref_id":"121674499590475"
    "app_name":"EVERUSPAY",
    "merchant_id":"EVRVBSD35617",
    "session_id":"90d6fc012790a4c4ddf29545d0b8ea5c988a2a07f9e9106a54e96a22388086f3"
}'

Sample Response

{
    "status": "Success",
    "message": {
        "transaction_details": [
            [
                {
                    "MerchantId": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "from_address": "0x6cbd9f0739148c1d777eb90a9da3b6d7bee2b935",
                    "wallet_address": "0xa3c32f8d45c3db7dc9d702a572b5ea91e8370a1f",
                    "transaction_hash": "0x717d9aba4f59ddf4b84d0c2cf0978f31818b5dc1ee205495ee78534c4de7c3db",
                    "amount": "100.00000000",
                    "itemcost_crypto": 100,
                    "fee_crypto": 0.00339633,
                    "actul_process_fee": "0.00",
                    "to_from_crypto": "ETH To ETH",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "merchant_time_zone": "America/Los_Angeles",
                    "settlement_type": "Fiat",
                    "transaction_date": "2019-08-28 19:15:48",
                    "description": "{\"data\":{\"sender_address\":\"0x6cbd9f0739148c1d777eb90a9da3b6d7bee2b935\",\"receiver_address\":\"0xa3c32f8d45c3db7dc9d702a572b5ea91e8370a1f\",\"transaction_hash\":\"0x717d9aba4f59ddf4b84d0c2cf0978f31818b5dc1ee205495ee78534c4de7c3db\",\"confirmation\":0,\"amount\":100,\"s",
                    "reason": "high",
                    "remarks2": "high",
                    "transaction_status": "pending",
                    "transaction_type": "ETH TO ETH",
                    "payment_method": "USD",
                    "received_amount": "13946.063616999998",
                    "expected_amount": "35.46365296801719",
                    "pending_amount": "",
                    "paid_status": "high",
                    "received_amount_crypto": "100",
                    "expected_amount_crypto": "0.25429149",
                    "pending_amount_crypto": "99.74570851",
                    "total_amount": "100.00000000",
                    "amount_crypto": 100,
                    "amount_currency": "0.00",
                    "process_fee_crypto": 0.00339633,
                    "process_fee_currency": "0.00",
                    "http_status_code": "",
                    "payment_mode": "eth",
                    "user_type": "guest",
                    "customer_email": ""
                }
            ]
        ],
        "transaction_history": [
            [
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "Taken post Data a:15:{s:10:\"MerchantId\";s:12:\"EVRVBSD35617\";s:5:\"RefNo\";s:12:\"ORDN2F69D4LL\";s:6:\"Amount\";s:5:\"34.99\";s:8:\"Currency\";s:3:\"USD\";s:8:\"ProdDesc\";s:36:\"BBox1 (1 Month) 1 month Subscription\";s:8:\"UserName\";s:12:\"SRUJAN KUMAR\";s:9:\"UserEmail\";s:22:\"kadarla19011@gmail.com\";s:11:\"UserContact\";s:6:\"SRUJAN\";s:6:\"Remark\";s:2:\"16\";s:4:\"Lang\";s:5:\"UTF-8\";s:8:\"TimeZone\";s:19:\"America/Los_Angeles\";s:9:\"BrandName\";s:7:\"BestBox\";s:11:\"CallBackUrl\";s:41:\"https://dev.bestbox.net/everusPayCallback\";s:10:\"BackendURL\";s:41:\"https://dev.bestbox.net/everusPayCallback\";s:6:\"submit\";s:6:\"submit\";}",
                    "created_at": "2019-08-28 19:11:57"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "Input Validation is completed",
                    "created_at": "2019-08-28 19:11:58"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "First auth completed",
                    "created_at": "2019-08-28 19:11:58"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "redirected to login page",
                    "created_at": "2019-08-28 19:11:58"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "Came to guest login",
                    "created_at": "2019-08-28 19:12:20"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "Guest into payment page",
                    "created_at": "2019-08-28 19:12:20"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "came to guest home page",
                    "created_at": "2019-08-28 19:12:21"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "ETHAddress Created",
                    "created_at": "2019-08-28 19:12:40"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "transactionFailStatus redirection",
                    "created_at": "2019-08-28 19:12:57"
                },
                {
                    "merchant_id": "EVRVBSD35617",
                    "RefNo": "ORDN2F69D4LL",
                    "payment_reference": "EVERUSPAY - 5D66617D64384627",
                    "description": "a:2:{s:4:\"data\";a:18:{s:14:\"sender_address\";s:42:\"0x6cbd9f0739148c1d777eb90a9da3b6d7bee2b935\";s:16:\"receiver_address\";s:42:\"0xa3c32f8d45c3db7dc9d702a572b5ea91e8370a1f\";s:16:\"transaction_hash\";s:66:\"0x717d9aba4f59ddf4b84d0c2cf0978f31818b5dc1ee205495ee78534c4de7c3db\";s:12:\"confirmation\";i:0;s:6:\"amount\";i:100;s:6:\"status\";s:7:\"pending\";s:11:\"merchant_id\";s:12:\"EVRVBSD35617\";s:6:\"ref_id\";s:28:\"EVERUSPAY - 5D66617D64384627\";s:10:\"mer_ref_id\";s:12:\"ORDN2F69D4LL\";s:10:\"req_amount\";s:10:\"0.25429149\";s:13:\"amount_status\";s:4:\"high\";s:17:\"to_wallet_address\";s:42:\"0xc5c11a6dd8ce0e61cd690e2cd458876b230d51bf\";s:15:\"settlement_type\";s:1:\"2\";s:12:\"payment_type\";s:11:\"third_party\";s:22:\"current_currency_value\";s:12:\"139.46063617\";s:12:\"req_cur_type\";s:3:\"USD\";s:13:\"req_cur_value\";s:12:\"139.46063617\";s:14:\"req_cur_symbol\";s:1:\"$\";}s:4:\"type\";s:3:\"ETH\";}",
                    "created_at": "2019-08-28 19:15:48"
                }
            ]
        ]
    }
}
PreviousSession TokenNextTransaction By Hash

Last updated 5 years ago

Was this helpful?