API Documentation
NeoX documents
NeoX documents
  • Introduction
  • NeoX App
    • E-Wallet
    • eKYC
    • Functionality
  • Payment Gateway
    • Payment Methods
    • Integrations
      • Hosted Checkout
        • Plugin/Extenstion
        • iOS SDK
        • Android SDK
        • React Native SDK
        • Web SDK
        • APIs
      • Direct API
        • Tokenization
      • Refund
        • APIs
        • IPN
    • Transaction Management
      • Query DR
      • Cancel
      • IPN
      • Error Codes
      • Refund on portal
    • Reconciliation
    • Settlement
  • Disbursement
    • Integration
      • Introduction
      • How To Register
      • Security Method
      • Generate token API
      • Get merchant profile API
      • Request disbursement API
      • Get disbursement transaction API
      • Get exchange rate API
      • Inquiry bank account API
      • Currency conversion API
      • Event Notification
      • Response Data Structure
      • Error codes
    • Disbursement Account
    • Disbursement request
    • Transaction Management
      • Query Request/Transaction
      • Webhook
      • Error Codes
    • Reconciliation
  • Collections
    • Integration
      • Introduction
      • How To Register
      • Security Method
      • API authenPlatform
      • API upload file
      • APIs for virtual accounts management
        • API create list of virtual accounts
        • API update KYC virtual account information
        • API update Virtual Account transaction data from merchant
        • API set active/inactive Virtual Account
        • API get list virtual accounts
        • API get detail virtual account
      • APIs for transactions management
        • API update transaction documents
        • API get list transactions
        • API get detail transaction
      • APIs for refund requests management
        • API create refund request
        • API get list refund requests
        • API get detail refund request
      • APIs for withdraw requests management
        • API get list withdraw banks
        • API create withdraw request
        • API get list withdraw requests
        • API get detail withdraw request
      • Event Notification
      • SFTP upload document file of collection transaction
      • Error Codes
    • Virtual Account Management
      • Virtual Account
      • Virtual Account Status
      • Webhook
    • Transaction Management
      • Webhook
    • Transaction Status Management
      • Webhook
    • Refund Request Management
      • Webhook
    • Withdraw Request Management
      • Webhook
    • Reconciliation
    • Settlement
  • Merchant Portal
    • Onboarding
    • Payment Gateway
      • Reconciliation
      • Withdraw
    • Disbursement
      • Reports
    • Collections
      • Reports
      • Withdraw
Powered by GitBook
On this page
  • Structure of QueryDR Request
  • Table of Parameter
  • Table of Data Response

Was this helpful?

  1. Payment Gateway
  2. Transaction Management

Query DR

Structure of QueryDR Request

https://neopay-domain?[key1=value]&[key2=value]&... (below table is the description of key and value, no ordering required)

Table of Parameter

Parameter
Data type
Required
Description

neo_MerchantCode

String

Y

The merchant code is provided by NeoX

neo_Version

String

Y

Version of API, "1" as default

neo_Command

String

Y

“QUERY_DR” as default

neo_MerchantTxnID

String

Y

Unique - The merchant transaction ID is provided by merchant

neo_SecureHash

String

Y

Use SHA256 to hash the above parameters (sort the key by Alphabet order) + Secret Key (is provided by NeoX after actual integrating)

Table of Data Response

Parameter
Data type
Description

neo_DRExists

String

Indicate that transaction exists or not. - Y: transaction existed - N: transaction is not exists

neo_ResponseCode

Number

neo_ResponseMsg

String

Error description.

neo_MerchantCode

String

The merchant code is provided by NeoX.

neo_Currency

String

Transaction currency, default is “VND”

neo_Locale

String

The language will use on payment page, support: “vi”, “en".

neo_Version

String

Payment gateway version, “1” as default

neo_Command

String

"PAY" as default.

neo_Amount

Number

Order amount.

neo_MerchantTxnID

String

Transaction ID is provided by merchant, it must be unique on merchant’s system and on each request, accept only characters, numerics and list of symbols: “-”, “_”.

neo_OrderID

String

Order ID of the transaction, only accept characters, numerics and list of symbols: “-”, “_”.

neo_OrderInfo

String

Order information, max length 256

neo_TransactionID

String

Unique - Transaction ID is generated by NeoX.

neo_TransAmount

number

Transaction amount (partial payment).

neo_ExtData

Object

Extra data of transaction.

Note: Should call this API 5 mins after payment made.

PreviousTransaction ManagementNextCancel

Last updated 7 months ago

Was this helpful?

Result of transaction: 0: transaction success != 0: transaction failed, refer to

table of error code