Result & IPN Callback

  • Result URL: Use for Merchant to show result for Customer. Support http method POST or GET

  • IPN URL: Use for Merchant to receive payment result and process business workflow.

Note:

Response Signature is create by applying hash algorithm SHA256 the response data with Salt.

signature = SHA256(data + salt)

Body

Level
Field Name
Data Type
Description

1

data

Alphanumeric mandatory

Base-64 string

1

signature

Alphanumeric mandatory

Response Signature signature = SHA256(data + Salt)

Data (Decode Base-64 String)

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

See Response Codes for more detail

1

responseMessage

Alphanumeric(250) mandatory

Response message

1

responseData

JSON Object mandatory

Response data

2

transactionID

Alphanumeric(38) mandatory

GALAXY PAY transaction ID

2

transactionStatus

Numeric(14) optional

Only available in apiVersion 2 See Response Codes for more detail

2

transactionDescription

Alphanumeric(20) optiona

Only available in apiVersion 2

2

paymentMethod

Alpha(20) optional

Only available in apiVersion 2 See Payment Method for more detail

2

sourceType

Alphanumeric(20) optional

Only available in apiVersion 2 See Payment Method for more detail

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

yyyyMMddHHmmss

2

orderDescription

Alphanumeric(250) mandatory

Order Description

2

language

Alpha(2) mandatory

vi or en

vi: Vietnamese

en: English

2

tokenization

JSON Object optional

Only Return on IPN callback when

· Transaction is successful (ResponseCode = 200)

· APIOperation = PAY_WITH_CREATE_TOKEN

3

accountBrand

Alphanumeric(50) optional

Card Brand info

3

accountSource

Alphanumeric(50) optional

Card Issuer info

3

accountNumber

Alphanumeric(50) optional

Card Masked Number

3

accountName

Alphanumeric(50) optional

Cardholder name

3

token

Alphanumeric(50) optional

Card Token

3

status

Alphanumeric(3) mandatory

Token Creation Result

3

message

Alphanumeric(250) mandatory

Token Creation Message

Response Message (FOR IPN ONLY)

1

ipnStatus

Alphanumeric(50) mandatory

Response Code for IPN Request.

Accepted value:

200: Transaction Success

404: Transaction Not Found

409: Transaction Completed

1

ipnDescription

Alphanumeric(250) optional

Response Description

Last updated