Голомт Банк
  • E-Commerce
  • WC Payment Plugin
  • IPPOS
  • Instore
  • Card Gateway
  • Instore v2
  • Tokenization
  • Socialpay

›Web based IPPOS

IPPOS

  • Танилцуулга
  • Workflow
  • Хэрэгцээт файлууд
  • Жишээ код

    • Холболт шалгах
    • Гүйлгээ
    • Буцаалт
    • Өдөр өндөрлөх
    • SocialPay
  • Баримтны шаардлага
  • Web based IPPOS

    • GLMTPOS service суулгах
    • GLMTPOS service specification

    SP630ПОС заавар

    • SP630ПОС-н IPPOS-р ажиллах заавар

IPPOS English

  • Introduction
  • Workflow
  • Required files
  • Example code

    • Check connection
    • Transaction
    • Void
    • Settlement
    • SocialPay
  • Receipt requirements
  • Web based IPPOS

    • GLMTPOS service specification

GLMTPOS service specification

Request message

Field nameFormatDescriptionExample
requestIDstringRequest ID can be any number. In order to make it easy to find your request later, it is advisable to keep it non-overlapping"789"
portNostringIndicates which PORTs on the Cash register PCs are connected. If it is connected to COM1, it will send “1”."1"
timeoutstring"540000"
terminalIDstringTerminal ID of the POS. It is configured at the POS by the bank"13133707"
amountstringTransaction amount. Enter operation code "1" and "4". Last two digits are the fractions. If "1000" is entered, it will be 10 MNT at the POS"1000"
currencyCodestringCurrency"496"
operationCodestringOperation code to perform. See the Operation code section"1"
bandWidthstring"115200"
cModestring
cMode2string
additionalDatastring
cardEntryModestring
fileDatastring

When sending a request, all fields must be sent. Field can be empty. Convert request JSON string to Base64 string and send GET request after “http://localhost:8500/requestToPos/message?data=” =" followed by Base64 string. The response will come in the following format.

Response message

Field nameFormatExample
dataThe response message is sent as a Base64 string. If it is empty, there is no response from the POS
responseCodeSee Response Code and Message below
responseDescSee Response Code and Message below

Operation code

Operation codeDescription
1Purchase
2Cash advance
4Refund
26Check connection
53Reversal
59Settlement

Response code

Field nameFormat
0SUCCESS
1Command mode 201
10show “Dclink error description”
11show “Dclink error description”
A0Invalid request message
A1Invalid request message. Invalid token
91Issuer system error
99Other error

Sample request

{
    "requestID":"7901",
    "portNo":"9",
    "timeout":"540000",
    "terminalID":"13133707",
    "amount":"",
    "currencyCode":"496",
    "operationCode":"26",
    "bandWidth":"115200",
    "cMode":"",
    "cMode2":"",
    "additionalData":"",
    "cardEntryMode":"",
    "fileData":""
}

http://localhost:8500/requestToPos/message?data=ewogICAgInJlcXVlc3RJRCI6Ijc5MDEiLAogICAgInBvcnRObyI6IjkiLAogICAgInRpbWVvdXQiOiI1NDAwMDAiLAogICAgInRlcm1pbmFsSUQiOiIxMzEzMzcwNyIsCiAgICAiYW1vdW50IjoiIiwKICAgICJjdXJyZW5jeUNvZGUiOiI0OTYiLAogICAgIm9wZXJhdGlvbkNvZGUiOiIyNiIsCiAgICAiYmFuZFdpZHRoIjoiMTE1MjAwIiwKICAgICJjTW9kZSI6IiIsCiAgICAiY01vZGUyIjoiIiwKICAgICJhZGRpdGlvbmFsRGF0YSI6IiIsCiAgICAiY2FyZEVudHJ5TW9kZSI6IiIsCiAgICAiZmlsZURhdGEiOiIiCn0=

← Receipt requirements
Facebook Open Source
Copyright © 2024 Golomt Bank