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

General

General information about Request

API
ProtocolHTTP
MethodOnly POST
Content-Typeapplication/json
AuthorizationBearer token

token: : receive from bank after signing the merchant contract

Response

StatusDescription
200Successful, a json-formatted value of the function is received.
400Bad request, dissatisfied the requirements for the function call up.
403A blank value is returned if Header authorization is not set or incorrect, or blank token is sent
500System error

Value at 400 and 500

Paraneter definitions

ParameterTypeDefinition
timestampStringDate of action
statusIntegerError type value. 400 403 500
errorStringError type description. Validation NotFound Internal Forbidden types are returned
messageStringError details
pathStringPath of the called function

Example

{
  "timestamp": "2020-06-02T10:51:56.359+0000",
  "status": 400,
  "error": "Validation",
  "message": "returnType is missing.",
  "path": "/api/invoice"
}
{
  "timestamp": "2020-06-02T10:51:56.359+0000",
  "status": 400,
  "error": "NotFound",
  "message": "Payment not found",
  "path": "/api/inquiry"
}
{
  "timestamp": "2020-06-02T10:51:56.359+0000",
  "status": 500,
  "error": "Internal",
  "message": "SQL exception",
  "path": "/api/pay"
}
{
  "timestamp": "2020-06-02T10:51:56.359+0000",
  "status": 403,
  "error": "Forbidden",
  "message": "Access Denied",
  "path": "/api/pay"
}
← WorkflowCreate an invoice →
  • General information about Request
  • Response
    • Value at 400 and 500
    • Paraneter definitions
Facebook Open Source
Copyright © 2024 Golomt Bank