> The index of all pages is at [llms.txt](https://developers.qliro.com/llms.txt). Add `.md` to any page URL for its Markdown.

# Get payment options (/api-reference/merchant/payment-options/get-payment-options)

`POST https://payments.qliro.com/checkout/merchantapi/PaymentOptions`

Production: `https://payments.qliro.com/checkout/merchantapi`. Staging: `https://pago.qit.nu/checkout/merchantapi`

## Body (application/json)

- `Currency` (string | null)
- `Country` (string | null)
- `Language` (string | null)
- `TotalPrice` (number): Format: `decimal`
- `HasRiskItems` (boolean)
- `MerchantConstraintName` (string | null)
- `NumberOfItems` (integer | null): Format: `int32`
- `HasSubscriptionItems` (boolean | null)

## Responses

### 400 (application/json)

- `ErrorCode` (string | null): Unique error code
- `DetailedErrorMessage` (string | null): Detailed error message
- `ErrorReference` (string): A tracking ID from Qliro Checkout. Format: `guid`

Example:

```json
{
  "ErrorCode": "ORDER_NOT_FOUND",
  "DetailedErrorMessage": "Order not found",
  "ErrorReference": "d7da92f4-1ad9-48c3-9cd3-26559c98e64c"
}
```

### 500 (application/json)

- `ErrorCode` (string | null): Unique error code
- `DetailedErrorMessage` (string | null): Detailed error message
- `ErrorReference` (string): A tracking ID from Qliro Checkout. Format: `guid`

Example:

```json
{
  "ErrorCode": "ORDER_NOT_FOUND",
  "DetailedErrorMessage": "Order not found",
  "ErrorReference": "d7da92f4-1ad9-48c3-9cd3-26559c98e64c"
}
```

## Example request

```bash
curl -X POST "https://payments.qliro.com/checkout/merchantapi/PaymentOptions" \
  -H "Content-Type: application/json" \
  -d '{
  "Currency": "string",
  "Country": "string",
  "Language": "string",
  "TotalPrice": 0,
  "HasRiskItems": true,
  "MerchantConstraintName": "string",
  "NumberOfItems": 0,
  "HasSubscriptionItems": true
}'
```
