---
title: "POST /api/v1.0/{appId}/restaurant-vouchers/paygreen"
method: POST
path: "/api/v1.0/{appId}/restaurant-vouchers/paygreen"
tags: ["RestaurantVouchersPayGreen"]
---

# POST /api/v1.0/{appId}/restaurant-vouchers/paygreen

`POST /api/v1.0/{appId}/restaurant-vouchers/paygreen`

## Path parameters

- `appId` string, required

## Request body

- CreatePayGreenConfigurationRequest — CreatePayGreenConfigurationRequest.
  - `Name` string — Name.
  - `PayGreenId` string — PayGreenId.
  - `PayGreenPrivateKey` string — PayGreenPrivateKey.
  - `AssignedStores` integer[] — AssignedStores.

## Response `200`

OK

- RestApiResultRestaurantVoucherPayGreenConfiguration — Rest api result
  - `Data` RestaurantVoucherPayGreenConfiguration, required — RestaurantVoucherPayGreenConfiguration.
    - `Name` string — Name.
    - `PayGreenId` string — PayGreenId.
    - `PayGreenConfigurationId` integer — PayGreenConfigurationId.
    - `AssignedStores` RestaurantVoucherAssignedStore[] — AssignedStores.
      - `StoreId` integer — StoreId.
      - `Name` string — Name.
      - `Active` boolean — Active.

## Other responses

- `400` — BadRequest
- `401` — Authentication has been denied for this request.
- `403` — Successful authentication, but authorization has been denied for this request.

---

[API](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flipdish/flipdish-open-api-v1-0/revisions/a72c0465da74/schema)
