Pay with Option
Use to create a payment request with payment options, then customer can select the payment methods at GALAXY PAY
Last updated
Use to create a payment request with payment options, then customer can select the payment methods at GALAXY PAY
Last updated
See information of Pay with option
See integration detail in
Base URL
api/v1/transaction/payWithOption
Example:
1
apiKey
Alphanumeric mandatory
Request authenticate
1
signature
Alphanumeric mandatory
Request signature
1
requestID
Alphanumeric(50) mandatory
Unique ID for each transaction request
Recommend: GUID
1
requestDateTime
Numeric(14) mandatory
yyyyMMddHHmmss
1
requestData
JSON Object
2
apiVersion
Numeric(5) optional
Specify the api version. Current supported version is 2. If this field is omitted, the default value of apiVersion is 1
2
apiOperation
Alpha(20) mandatory
PAY or PAY_WITH_CREATE_TOKEN
PAY_WITH_CREATE_TOKEN: Only use for request payment and create token.
2
orderID
Alphanumeric(50) mandatory
Transaction ID at Merchant
2
orderNumber
Alphanumeric(20) optional
Order Number or Bill Number
2
orderAmount
Numeric(16) mandatory
Transaction Amount
2
orderCurrency
Alpha(3) mandatory
2
orderDateTime
Numeric(14) mandatory
yyyyMMddHHmmss
2
orderDescription
Alphanumeric(250) mandatory
Transaction Description
2
language
Alpha(2) optional
vi or en
vi: Vietnamese
en: English
2
successURL
Alphanumeric(500) optional
Callback URL when Payment is success
2
failureURL
Alphanumeric(500) optional
Callback URL when Payment is failure
2
cancelURL
Alphanumeric(500) optional
Callback URL when Customer cancel payment
2
ipnURL
Alphanumeric(500) optional
IPN URL
2
extraData
JSON Object optional
Extra data.
1
signature
Alphanumeric mandatory
Response signature
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 mandatory
GALAXY PAY transaction ID
2
endpoint
Alphanumeric mandatory
Secure Payment URL
(Use for Redirect)
Send the code in
Same as
See for more detail