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

›API

E-COMMERCE

  • Танилцуулга
  • Workflow
  • API

    • Ерөнхий
    • Нэхэмжлэх үүсгэх
    • Гүйлгээ шалгах
    • Токен гүйлгээ шалгах
    • Токеноор гүйлгээ хийх
  • Нэхэмжлэх дуудах
  • Push Notification
  • Merchant Redirect
  • Токен үүсгэх
  • Гүйлгээний өндөрлөө хийсэн дэлгэрэнгүй
  • Алдааны коднууд
  • Checksum

    • Тайлбар
    • Samples

E-COMMERCE English

  • Introduction
  • Workflow
  • API

    • General
    • Create an invoice
    • Check transaction
    • Check Token transaction
    • Token transactions
  • Invoice call up
  • Push Notification
  • Merchant Redirect
  • Create a token
  • Details of settlemented transactions
  • Error codes
  • Checksum

    • Definitions
    • Samples

Check transaction

Verify successful or unseccessful transaction.

Service workflow

  1. Redirect the customer’s browser to the merchant’s url along with such general information as transaction number and status.
  2. Merchant uses this information to request transaction confirmation by the Golomt bank.

Reason to check a transaction

As there is no way to confirm the accuracy of the information coming from the customer, it is necessary to re-check by sending a request to the bank for security reasons.

Recommendations

It is recommended to re-check by sending us a confirmation request if there is no response from the customer at the end of the Session.

  • A timer is included in the web page to eliminate such problems as a customer who filled the card information but left without finishing the transaction. The transaction is cancelled automatically if it is not finished within 2-10 minutes. The time can be adjusted for the merchant.

  • As the timer (10 min) on the web page expires, the merchant sends a check request to the bank system and receives information about the payment performance.

Function calling path

https://ecommerce.golomtbank.com/api/inquiry

Parameters required for merchant’s check request

Json :

{
  "checksum": "string",
  "transactionId": "string"
}
ParameterTypeSizeDescription
transactionIdString256Unique transaction number transferred from the organization
checksumString256checksum = transactionId + transactionId

checksum read this link for details.

Response

Example of successful transaction

{
  "status": "SENT",
  "amount": "1",
  "bank": "Голомт банк",
  "errorDesc": "Амжилттай",
  "checksum": "8e2538fac797d6828.....................3c6863f60aac",
  "errorCode": "000",
  "cardHolder": "Golomt bank",
  "transactionId": "test000001",
  "cardNumber": "949625******0003",
  "token": "9ffd1bb0544990........b0feaae5f8ee3d824e"
}

Example of unsuccessful transaction

{
  "status": "SENT",
  "amount": "1",
  "bank": "Голомт банк",
  "errorDesc": "Картын хугацаа дууссан",
  "checksum": "8e2538fac797d6828ca93c34a4487c54e75803a18978d425dfec3c6863f60aac",
  "errorCode": "300",
  "cardHolder": "Golomt bank",
  "transactionId": "test000001",
  "cardNumber": "949625******0003"
}

Parameter definition

ParameterTypeDefinition
statusStringSENT=Payment information is sent, PENDING=Payment is pending
amountStringAmount withdrawn from the card
bankStringCard issuer bank
checksumStringchecksum = transactionId + errorCode + amount + token
When token is not created token token field is not included
errorCodeStringSee transaction status code here
cardHolderStringCard holder
transactionIdStringMerchant's transaction number
cardNumberStringTransaction card number
tokenStringToken number to present the card
← Create an invoiceCheck Token transaction →
  • Service workflow
    • Reason to check a transaction
    • Recommendations
    • Function calling path
  • Parameters required for merchant’s check request
    • Json :
  • Response
    • Example of successful transaction
    • Example of unsuccessful transaction
    • Parameter definition
Facebook Open Source
Copyright © 2024 Golomt Bank