Голомт Банк
  • 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

Token transactions

A method for a customer to make a transaction without re-entering the card information (Send a transaction request from merchant’s backend to Golomt bank’s API).

genToken

send the genToken field with Y value on the api/invoice or invoice request. It enables a token to represent the payment card in case of successful payment of the invoice.

Merchant keeps this token on its user and uses this token for next transactions.

token is created only for successful transactions.
Created token is shown during transaction check or calling up the api/inquiry function

Service advantages

  1. Simple service card for customers.
  2. Faster transaction processes

Function calling path

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

Parameters for merchant’s request

Json

{
  "amount": "string",
  "checksum": "string",
  "transactionId": "string",
  "lang": "string",
  "token": "string"
}
ParametersTypeLengthDefinitions
amountString256Transaction amount
checksumString256checksum = amount + transactionId + token
transactionIdString256Merchant’s transaction number
langString256Language to see transaction details
MN Mongolian
EN English
tokenString256Value sent by the bank to represent the card information

checksum- read this link for details.

Response

{
  "amount": "1.00",
  "errorDesc": "Амжилттай",
  "checksum": "9ffd1bb0544990197e4f26ab71b0feaae5f8ee3d824e70c8bcb52d14b5584652",
  "errorCode": "000",
  "cardNumber": "498738******3883",
  "transactionId": "R749P918K873"
}
ParameterTypeDescription
amountStringAmount withdraw from the card
errorDescStringSee status code definitions here
checksumStringchecksum = transactionId + errorCode + amount
errorCodeStringSee transaction status code here
cardNumberStringTransaction card number
transactionIdStringUnique transaction number from the organization
← Check Token transactionInvoice call up →
  • genToken
    • Service advantages
    • Function calling path
  • Parameters for merchant’s request
    • Json
  • Response
Facebook Open Source
Copyright © 2024 Golomt Bank