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

›E-COMMERCE English

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

Push Notification

Definitions

Merchant receives the payment information from bank through back-end to back-end. This prevents risk of not receiving the information due to customer’s device, web browser, and internet connection, as well the bank also receives the payment status.

Bank requirements

In order to get the service, the merchant must register its API url to receive notification in the bank.
API must support only the POST method. Other methods as GET, PUT ,DELETE must be disabled.
SSL must be set

Information to be sent by the bank

ProtocolHTTP
MethodPOST
Content-Typeapplication/json

Example of successful transaction

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

Example of unsuccessful transaction

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

Параметрүүд

ParameterTypeDefinition
amountStringAmount withdrawn from the card
bankStringCard issuer bank
errorDescStringTransaction status definition
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

token is a value to represent the card information provided to the merchant only for successful transactions. Here, the pre-token setting or genToken parameter had to be set to “Y” on the invoice request to the bank.

← Invoice call upMerchant Redirect →
  • Definitions
  • Bank requirements
  • Information to be sent by the bank
    • Example of successful transaction
    • Example of unsuccessful transaction
    • Параметрүүд
Facebook Open Source
Copyright © 2024 Golomt Bank