---
agentTools:
  projectIndex: https://roxbusiness-api-service.readme.io/llms.txt
---

# Get transaction info

Retrieves an online payment gateway information using the 'gateway_id' parameter.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "ErrorMessageV2-1": {
        "properties": {
          "Message": {
            "example": "Attention, <Error_message>",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RetrieveGatewayReturnSchemaV2-1": {
        "properties": {
          "Amount": {
            "example": 100,
            "type": "integer"
          },
          "CreatedAt": {
            "example": 1683066000,
            "type": "integer"
          },
          "Currency": {
            "example": "EUR",
            "type": "string"
          },
          "GatewayId": {
            "example": 9757439,
            "type": "integer"
          },
          "Hash": {
            "example": "1231212312312312231232",
            "type": "string"
          },
          "Link": {
            "example": "https://roxlab.roxlab-payments.eu/?payment=Hash-Value",
            "type": "string"
          },
          "Status": {
            "example": "waiting",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "description": "Enter the token with the `Bearer: ` prefix, e.g. 'Bearer abcde12345'.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {
      "email": "tomaas.starrantino@roxpay.eu",
      "name": "Tomaas"
    },
    "description": "🚀 Welcome to the Rox API Hub! 🌐\n\n&nbsp;\n\nUnleash the power of innovation with our cutting-edge RESTful API, designed to seamlessly connect you to a world of possibilities. \n\nWhether you're a coding maestro, a data explorer, or a digital architect, our API is your canvas to create, experiment, and transform.\n\nNavigate through our meticulously crafted endpoints and bask in the elegance of intuitive design. Embrace the simplicity of REST as you orchestrate requests, explore responses, and embark on a journey where data meets destiny.\n\nAt FutureTech, we believe in limitless potential, and our API is here to amplify yours. So buckle up, fellow developer, as we dive into the heart of modern technology, where lines of code intertwine with the heartbeat of progress.\n\nLet's code the future together. 🌟🔮\n\n&nbsp;\n\nBASE URL: https://app.roxpay.eu/api\n\nIf you need assistance, please call us at: +39 0577 1698000",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Rox Pay Rest API",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/v2-1/payments/gateway/{gateway_id}": {
      "get": {
        "description": "Retrieves an online payment gateway information using the 'gateway_id' parameter.",
        "parameters": [
          {
            "description": "The payment gateway ID",
            "in": "path",
            "name": "gateway_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetrieveGatewayReturnSchemaV2-1"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Bad request."
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Authorization error."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Payload validation error."
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Internal server error."
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "5. | Payments"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://app.roxpay.eu"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 33,
      "2": 133,
      "3": 12,
      "4": 139,
      "5": 233,
      "6": 169,
      "7": 0,
      "8": 16,
      "9": 218,
      "10": 244,
      "11": 231
    }
  }
}
```