---
title: "Retrieve an options list based on given option name"
method: POST
path: "/options/{apiKey}/{optionsName}"
tags: ["options"]
---

# Retrieve an options list based on given option name

`POST /options/{apiKey}/{optionsName}`

## Request

- Base URL: `https://gateway.tillpayments.com/api/v3`
- URL: `https://gateway.tillpayments.com/api/v3/options/{apiKey}/{optionsName}`
- Auth: none required
- TypeScript: <https://skmtc.dev/tillpayments/apis/till-payments-gateway/docs/options/:apiKey/:optionsName/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `apiKey` string, required
- `optionsName` string, required

## Request body

- OptionsRequest
  - `parameters` object

## Response `200`

Options response

- OptionsResponse
  - `success` boolean
  - `options` object[]
    - `key` string
    - `value` string
  - `error` string

---

[API](https://skmtc.dev/tillpayments/apis/till-payments-gateway.md) - [All operations](https://skmtc.dev/tillpayments/apis/till-payments-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/tillpayments/apis/till-payments-gateway/revisions/42c40d316a83?raw)
