DengiOnline

2017-07-29 03:29:18

Instructions for the GSG test tool

The GSG test tool is available on the page https://gsg-tester.dengionline.com/.

The tool allows validating requests from the Project to the GSG gateway. Access to the Tool is provided to the Project technical specialists for the time of testing. Access can only be gained from the approved IPs.

The Tool consists of three blocks:

1. The intermediate block allows selecting request parameters.

Basic request parameters

Parameter Description Format Mandatory

GSG URL

The GSG gateway address for requests

string

Yes

project

Project ID in the GSG system

integer

Yes

Secret

Project secret key provided by DOL

string

Yes

timestamp

Date and time of the request

integer, Unix time

Yes

action

Expected action

Possible values:

  • paysystems — list of all available payment providers and their parameters;

  • balance — main account balance check;

  • check — payment pre-check;

  • pay — payment request;

  • pay_status — payment status check by ID;

  • errors — list of response codes and their descriptions;

  • transactions — list of transactions for a time period.

string

Yes

params

Additional parameters for system requests.

All possible additional parameters are enlisted in the descriptions of each action.

string / integer,

depending on the information transferred

No

Press Submit button to send the request to the GSG gateway.

2. In the Request block are shown XML and signature string for the submitted request.

3. The Response block contains data received from the GSG gateway in response to the request. Notification codes are listed here.

Basic response parameters

Parameter Description Format

status

Request status
For example, 1 means success while
values over 10 imply failure.

integer

timestamp

Date and time of the request

integer

reference

Unique operation ID in the GSG system

string (255)