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. TOKENIZATION
  4. Customers

Query Tokens

Use to get the list of card tokens for the specified customer.

PreviousCustomersNextRemove Token

Last updated 1 year ago

Endpoint URL
Route

Base URL

api/v1/tokenization/queryTokens

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

customerToken

Alphanumeric mandatory

Customer identify information that is use for management the linked payment tokens.

{
  "requestID": "5761427cf75240f399cdf9d3a39580d4",
  "requestDateTime": "20230727095807",
  "requestData": {
    "customerTo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6InZpIiwiZ2l2ZW5fbmFtZSI6IkpBd2NPIiwiZmFtaWx5X25hbWUiOiJOR1VZRU4gVkFOIiwiZW1haWwiOiJ0aXRyYW4wNjM0NTZAZ21haWwuY29tIn0.fXZU94yL7L4q1DkkTRgzYzivJMIZoB7pc5uQuAeqZqsWGPpOxjGwQQIZ2RaVTgfSArixLIp4NdjpDF4o_ei8YiXk5_QwF7bMQTMiO-ruDMWZzipbZHGBPH7KEd_Qz_kGHdzmU_phBHkVzBB9D7zIU3U69RwyuAC4zPYsrw_tbgF2V3y2WKXwuZJs3whsta4h616EQbh101NCq2dfZw1X_X287EQUie8B8DGLyJEAaMMobzKtnmH9CtWcDfonob54YFnjo8yeA2cGpuSpcA3htan8w_IdoeLhVeHQguuGllw0SocDQkp_OmxiJhbiy1JA6QWpI-0ZT10cJDaMLjaoyQ"
  }
}

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

customerID

Alphanumeric(50) mandatory

Customer ID

2

customerName

Alphanumeric(50) mandatory

Customer Name

2

tokens

JSON Array mandatory

Linked Card Tokens

3

tokenID

Numeric(10) mandatory

Card Token ID

3

accountBrand

Alphanumeric(50) mandatory

Card Brand info

3

accountSource

Alphanumeric(50) mandatory

Card Issuer info

3

accountNumber

Alphanumeric(50) mandatory

Card Masked Number

3

accountName

Alphanumeric(50) mandatory

Cardholder name

{
  "requestID": "5761427cf75240f399cdf9d3a39580d4",
  "responseDateTime": "20230727095809",
  "responseCode": "200",
  "responseMessage": "Transaction is successful.",
  "responseData": {
    "customerID": "1922dafe-706c-4340-8555-f30f604594d3",
    "customerName": "LU THI THIEU HOA",
    "tokens": [
      "tokenID": "784",
      "accountBrand": "VISA",
      "accountSource": "HD BANK",
      "accountNumber": "445653xxxxxx1096",
      "accountName": "LU THI THIEU HOA"
    ]
  }
}

See for more detail

https://uat-secure.galaxypay.vn/api/v1/tokenization/queryTokens
Response Codes