GALAXY PAY - API Reference Guide
  • Payment Gateway
    • Payment solution
      • General integration steps
      • Modal checkout
        • Integration Guide for Web Desktop & Mobile Browser
      • Merchant checkout
      • Merchant Hosted Checkout
      • Pay with option
      • Pay with token
      • Fast pay
      • Pay with QR
      • Pay with E-Wallet
    • Demo
    • API Specification
      • Integration Keys
      • Definitions
        • Message Structure
        • Signature Algorithm
      • Data Flight
      • PAYMENT
        • Pay
        • Pay with create token
        • Pay with token
        • Pay with Option
        • Pay with QR
        • Checkout(for modal checkout)
        • Payment Link
        • Fast pay
      • TOKENIZATION
        • Merchants
          • Delete Token
        • Customers
          • Query Tokens
          • Remove Token
      • MANAGEMENT
        • Query Transaction
        • Refund Transaction
        • Void Transaction
        • Capture Transaction
      • IPN & CALLBACK
        • Result & IPN Callback
        • Cancel Callback
    • Appendix
      • Response Codes
      • Currencies
      • Domestic Banks
      • International Card Brands
      • eWallets
      • Payment Hubs
        • Apple Pay Validation
      • QR Payment Providers
      • Buy Now Pay Later
      • Test Information
      • Glossary
  • Payment Link
    • IPN callback
  • Archive
    • QR Payment (Old version)
      • API create QR
      • API query status
      • How to test
    • API create PaymentLink
Powered by GitBook
On this page
  • Request Message
  • Response Message
  1. Payment Gateway
  2. API Specification
  3. MANAGEMENT

Query Transaction

Use to query a transaction status.

PreviousMANAGEMENTNextRefund Transaction

Last updated 7 months ago

Endpoint URL
Route

Base URL

api/v1/transaction/query

Example:

Request Message

Header

Level
Field Name
Data Type
Description

1

apiKey

Alphanumeric mandatory

Request authenticate

1

signature

Alphanumeric mandatory

Request signature

Body

Level
Field Name
Data Type
Description

1

requestID

Alphanumeric(50) mandatory

Unique ID for each transaction request

Recommend: GUID

1

requestDateTime

Numeric(14) mandatory

yyyyMMddHHmmss

1

requestData

JSON Object

2

transactionID

Alphanumeric(50) mandatory

GALAXY PAY transaction ID

{
  "requestID": "da4a0d27e6d44ff3841b1f3586339b34",
  "requestDateTime": "20230727111432",
  "requestData": {
    "transactionID": "2307274612216981190343178"
  }
}

Response Message

Header

Level
Field name
Data Type
Description

1

signature

Alphanumeric mandatory

Response signature

Body

Level
Field name
Data type
Description

1

requestID

Alphanumeric(50) mandatory

Original Request ID

1

responseDateTime

Numeric(14) mandatory

yyyyMMddHHmmss

1

responseCode

Numeric(3) mandatory

1

responseMessage

Alphanumeric(250) mandatory

Response message

1

responseData

JSON Object mandatory

Response data

2

transactionID

Alphanumeric(38) mandatory

GALAXY PAY transaction ID

2

transactionDateTime

Numeric(14) mandatory

yyyyMMddHHmmss

2

transactionStage

Alphanumeric(50) mandatory

Transaction Stage: INIT

PROCESSING

SUCCESSFUL

FAILURE

2

transactionStatus

Alphanumeric(3) mandatory

Transaction Status

2

transactionDescription

Alphanumeric(250) mandatory

Transaction Description

2

orderID

Alphanumeric(50) mandatory

Transaction ID at Merchant

2

orderNumber

Alphanumeric(20) optional

Order Number or Bill Number

2

orderAmount

Numeric(16) mandatory

Order Amount

2

orderCurrency

Alpha(3) mandatory

Order Currency

2

orderDateTime

Numeric(14) mandatory

Order Date Time

2

orderDescription

Alphanumeric(250) mandatory

Order Description

{
    "requestID": "da4a0d27e6d44ff3841b1f3586339b34",
    "responseDateTime": "20230727111432",
    "responseCode": "200",
    "responseMessage": "Success",
    "responseData": {
        "transactionID": "2307274612216981190343178",
        "transactionStatus": "",
        "transactionDescription": "Transaction is not completed.",
        "orderID": "55aa36a39e1746d09a0da63625763672",
        "orderNumber": "20230727111413",
        "orderAmount": "10000",
        "orderDescription": "",
        "orderCurrency": "VND",
        "orderDateTime": "20230727111413"
    }
}

See for more detail

https://uat-secure.galaxypay.vn/api/v1/transaction/query
Response Codes