General integration steps

These are the general integration steps; the integration methods differ only in the input fields.

  • Integration Keys:

Name
Value
Remark

Signature Salt (SHA256)

GALAXY PAY will provide

Use for Signature

API Key

GALAXY PAY will provide

Use for Authenticate

Base URL

UAT Environment

PRODUCTION Environment

Note:

API Key and Salt Signature will differ between UAT and PRODUCTION environment.

  • Message structure:

    • Service: REST API

    • HTTP Method: POST

    • Content Type: application/json

    • The Request structure:

#
Component
Param
Description

1

Header

APIKey

Key for authentication request.

Provided by GALAXY PAY.

Signature

Request signature, created with SHA256 & Salt

Accept

Accept encoding: application/json

Content-Type

Request content type: application/json

2

Body

JSON content

General integration steps

1

Step 1: APIKey & Salt:

  • APIKey: Use for Authentication

  • Salt: Use for Signature

GALAXY PAY will provide. If you don’t have an API Key & Salt, use: https://uat-demo.galaxypay.vn/documents#auth

2

Step 2: Signature Algorithm:

Apply hash algorithm SHA256 with Salt.

Signature = SHA256(SignData + Salt)

Sample Code

You can test Signature in API Playground

3

Step 3: Send request message

View the request fields for each integration method here

4

Step 4: Receive response message

View the response fields for each integration method here

Last updated