manageOperationMethods

Получение статуса транзакции по номеру заказа

Authorization: Bearer {auth_token}.

auth_token должен быть получен в результате обращения к методу.

get/api/v1/transactions/info/invoice/{order_number}

Request

  • Base URL: https://sandbox.webpay.by
  • URL: https://sandbox.webpay.by/api/v1/transactions/info/invoice/{order_number}
  • Auth: none declared

Path parameters

Response

Возвращает статус транзакции

codeinteger

Код ответа

Example response

{
  "code": 200,
  "data": [
    {
      "orderNum": "ORDER-5f6b",
      "transactionId": 174164470,
      "date": "2022-12-23 12:20:02",
      "status": "Completed",
      "amount": 33,
      "currency": "BYN",
      "responseCode": "00",
      "responseText": "",
      "approvalCode": null,
      "cardType": null,
      "cardNumber": null,
      "cardCountry": null,
      "payerName": null,
      "payerEmail": null,
      "payerIp": null,
      "paymentType": "cc",
      "comment": "",
      "rrn": "466232477402",
      "children": []
    },
    {
      "orderNum": "ORDER-5f6b",
      "transactionId": 174164469,
      "date": "2022-12-22 12:20:36",
      "status": "Authorized",
      "amount": 33,
      "currency": "BYN",
      "responseCode": "W0001(00)",
      "responseText": "Операция завершена успешно",
      "approvalCode": "326768",
      "cardType": "VISA",
      "cardNumber": "434179xxxxxx0051",
      "cardCountry": "USA",
      "payerName": "IVANOV IVAN",
      "payerEmail": "test@test.com",
      "payerIp": "151.249.131.33",
      "paymentType": "cc",
      "comment": "",
      "rrn": "466232477402",
      "children": [
        {
          "orderNum": "ORDER-5f6b",
          "transactionId": 162576591,
          "date": "2022-12-23 12:20:02",
          "status": "Completed",
          "amount": 33,
          "currency": "BYN",
          "responseCode": "00",
          "responseText": "",
          "approvalCode": null,
          "cardType": null,
          "cardNumber": null,
          "cardCountry": null,
          "payerName": null,
          "payerEmail": null,
          "payerIp": null,
          "paymentType": "cc",
          "comment": "",
          "rrn": "466232477402"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.