# SurePay

<figure><img src="/files/MPBSxWQW1ciVpmEYvSs9" alt=""><figcaption></figcaption></figure>

This article will walk you through adding your SurePay gateway.

* [Step 1 - Activate SurePay](#surepay-step1-activatesurepay)
* [Step 2 - Add SurePay credentials](#surepay-step2-addsurepaycredentials)
* [Step 3 - Fill the rest of the gateway profile](#surepay-step3-filltherestofthegatewayprofile)
* [Step 4 - Test the newly added gateway](#surepay-step4-testthenewlyaddedgateway)
* [Step 5 - Apply to live campaign offers](#surepay-step5-applytolivecampaignoffers)

***

### Step 1 - Activate SurePay <a href="#surepay-step1-activatesurepay" id="surepay-step1-activatesurepay"></a>

* Go to **Merchants > Gateway Integrations** and *scroll* down to **SurePay**.
* *Click* on the **SurePay** tile.
* *Click* on **+Activate**.

<figure><img src="/files/DGClrJ1yP2oaGJN1kBao" alt=""><figcaption></figcaption></figure>

### Step 2 - Add SurePay credentials <a href="#surepay-step2-addsurepaycredentials" id="surepay-step2-addsurepaycredentials"></a>

Now the **Create New MID** page will appear. Double-check that *SurePay* is selected in the gateway field and fill in the rest of the info on the gateway profile.

<figure><img src="/files/70SEPNcXou4nqnTmyywi" alt=""><figcaption></figcaption></figure>

* **UserName** and **Password -** These will be the credentials of a user within SurePay. These must be refreshed every 90 days. It is recommended to use **APIKey** instead.
* **APIKey** - Obtained from your SurePay account.
* **DeviceGuid** - This is the DeviceGuid provided by SurePay
* **alwaysCloseBatch -** SurePay processes batch transactions at the end of the day. Use this option to close the batch after every transaction. This will result in an email to the SurePay admin user after every transaction.

{% hint style="warning" %}
Sales Voids will be disabled if alwaysCloseBatch is selected. Auths can still be voided.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.konnektive.com/konnektive-crm/gateway-setup/gateways/surepay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
