Payment Link

Use to create a dynamic payment link.

Integration

See integration detail in General integration steps

circle-info

Refer to the Code Samples and API Playgroundarrow-up-right for detailed sample code and API testing.

Endpoint URL
Route

Base URL

api/v1/transaction/createPaymentLink

Example:

Request Message

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

orderID

Alphanumeric(50) mandatory

Transaction ID at Merchant

2

orderName

Alphanumeric(250) mandatory

Transaction Reference

2

orderAmount

Numeric(16) mandatory

Transaction Amount

2

orderCurrency

Alpha(3) mandatory

Send the code in Currenciesarrow-up-right

2

orderDescription

Alphanumeric(250) mandatory

Transaction Description

2

expiryDuration

Integer mandatory

Payment link expiration

2

expiryUnit

Alpha optional

DAY or HOUR or MINUTE Default = DAY

2

paymentMethods

JSON Array mandatory

2

paymentFields

JSON Array mandatory

2

ipnURL

Alphanumeric(500) optional

IPN URL

2

language

Alpha(2) optional

vi or en

vi: Vietnamese

en: English

2

subMerchant

JSON Object optional

Only use for master merchant scope

3

identifier

String(50) optional

Sub-merchant

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

responseData

JSON Object mandatory

Response data

2

orderNo

Alphanumeric mandatory

GALAXY PAY order no

2

shortLink

Alphanumeric mandatory

Payment Link URL

1

responseCode

Numeric(3) mandatory

See Response Codes for more detail

1

responseMessage

Alphanumeric(250) mandatory

Response message

Last updated