> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/integrations/integration-reference/mariana-tek/automated-reward-redemptions.md).

# Automated reward redemptions

Rewards can be set up to automatically distribute dollar and service credits to your customers in Mariana Tek upon redemption.

{% hint style="info" %}
Connected dollar and service credits are processed in **real time** when the reward is redeemed. This replaces the previous scheduled process that could take approximately 5–30 minutes.
{% endhint %}

Existing Mariana Tek rewards that were already connected to this fulfillment flow were transitioned automatically; no reward reconfiguration is required.

## Voucher status

When creating these rewards, please make sure to set the initial voucher status as **Pending further processing**. This status triggers the integration to process the redemption and apply the credit in Mariana Tek.

<figure><img src="https://2181708597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSiE75SeColbiBVbet0NZ%2Fuploads%2FrWWnBenEGfjuYfxScQbA%2FScreenshot%202025-07-28%20at%201.44.40%E2%80%AFPM.png?alt=media&amp;token=0b4b94d0-2472-4707-a130-ff4ea55ef4ba" alt=""><figcaption></figcaption></figure>

## Finding service credit IDs

{% hint style="warning" %}
We need the ID for the credit type and not the credit package
{% endhint %}

{% embed url="<https://support.marianatek.com/en/articles/1979201-how-do-i-create-a-credit-type>" %}

To [automate the redemption of Mariana Tek credits](https://docs.marianatek.com/#tag/credit_transactions/operation/credit_transactions_create) Perkville's implementation team will need the credit IDs you'd like distributed for each reward. To find these follow the below steps:

1. Log into your Mariana Tek dashboard
2. Click **Products** in the left-hand menu
3. Click **Credits** in the sub-menu
4. Click to edit the credit type you'd like automatically redeemed
5. The credit ID is at the end of the URL of this page. Here is an example where the credit ID is 2324: `https://yourbusiness.marianatek.com/admin/products/credits/credit-types/edit/2324`
6. Give this ID along with any other credits your want automated to your Perkville rep.

<figure><img src="https://2181708597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSiE75SeColbiBVbet0NZ%2Fuploads%2FdpGxJwXBHeZDFHRtj5Mk%2FScreenshot%202025-03-26%20at%203.23.54%E2%80%AFPM.png?alt=media&amp;token=bce5792d-8e12-4797-a27e-f0b73432bdd9" alt=""><figcaption><p>The credit page where you'll find your credit ID in the URL</p></figcaption></figure>

## Finding product IDs

To configure product-specific coupons to [load into Perkville](https://docs.perkville.com/features/settings/redeeming-options.md) you'll need the product ID(s) for included products. To find these follow the below steps:

1. Log into your Mariana Tek dashboard
2. Click **Products** in the left-hand menu
3. Click **Products** in the left-hand sub-menu
4. Click to edit the products you'd like to have coupons created for
5. The product ID is at the end of the URL of this page. Here is an example where the product ID is 2324: `https://yourbusiness.marianatek.com/admin/products/credits/products/edit/2324`
6. Give this ID along with any other products you want coupons created for

## FAQ

### Do I need a credit type ID or a credit package ID?

Provide the **credit type ID** for each service reward. A package ID is not interchangeable with the credit type ID. Dollar credits and discount coupons use different reward configurations; confirm the mapping with your Perkville representative.

### What should I check if a credit does not appear?

Confirm the reward is connected to the intended credit, the initial voucher status is **Pending further processing**, and the customer has the expected Mariana Tek account. Contact [Perkville Support](https://docs.perkville.com/overview/support.md) with the voucher and reward details before retrying fulfillment, to avoid duplicate credits.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.perkville.com/integrations/integration-reference/mariana-tek/automated-reward-redemptions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
