# Nestpay Credit Card Integration

## <mark style="color:red;">**Extension Installation**</mark>

### <mark style="color:red;">**Preliminary Works**</mark>

The following information is requested from the provider for the bank and brand-specific. For each bank virtual pos to be used with Nestpay infrastructure, a pos must be added in Omnitron. The credentials to be used here should naturally be specific to the relevant bank and brand. These information can be requested from the bank and Nestpay.

* **Client ID**
* **Username**
* **Password**
* **URL**
* **Store Key**

## <mark style="color:red;">**Omnitron Settings**</mark>

This payment method’s configuration can be done on the **Payment Options & Add/Edit POS/Card Setting** pages on Omnitron. After the settings are completed, it will be accessible under a new tab on the checkout payment screen as it is a credit card type payment integration. Bin number must also be configured. For additional information, refer to the [POS Integrations](/tutorials/omnitron/sales-channels/payment-management/how-to-manage-pos-integrations-in-omnitron.md) tutorial.

### <mark style="color:red;">**Payment Options**</mark>

One payment option must be defined in Omnitron to be specific for the extension installed. Explanations on how the settings should be made at this stage are in the table below.

{% hint style="info" %}
Do not set more than one active payment option with the type “masterpass” or “credit card”.
{% endhint %}

| Field               | Description         |
| ------------------- | ------------------- |
| Payment Type        | Credit Card         |
| Payment Option Name | Any text you prefer |
| Payment Option Slug | credit\_card        |
| Config\*            | {}                  |

{% hint style="info" %}
Fields other than pos\_slug should be determined according to the requirements.
{% endhint %}

### <mark style="color:red;">**POS Integration**</mark>

At least one POS integration must be defined in Omnitron to use credit card payment. Explanations on how the settings should be made at this stage are in the table below.

| Field                | Description                       |
| -------------------- | --------------------------------- |
| Name                 | Nestpay                           |
| Slug                 | nestpay                           |
| Gateway              | nestpay                           |
| Resource URL         | Requested URL from provider       |
| Three D resource url | Requested URL from provider       |
| Username             | Requested username from provider  |
| Password             | Requested password from provider  |
| Store key            | Requested store key from provider |
| ClientID(MerchantID) | Requested client id from provider |

### <mark style="color:red;">**Card Integration**</mark>

At least one CARD integration must be defined in Omnitron to use credit card payment. Explanations on how the settings should be made at this stage are in the table below.

| Field                             | Description                   |
| --------------------------------- | ----------------------------- |
| Name                              | A related name                |
| Slug                              | A related slug                |
| Single payment POS infrastructure | Created POS in above          |
| Installment POS Infrastructure    | Created POS in above          |
| 3D POS Infrastructure             | Created POS in above          |
| Card Payment Type                 | Debit or Credit Card          |
| Card Type                         | The related created card type |
| Bank                              | The related created bank      |
| Commercial Card                   | Yes or No                     |

After creating a card, go to its detail and add bin numbers to it.

## <mark style="color:red;">**Additional Notes**</mark>

* There can be maximum one credit card (or masterpass) payment option per sales channel in Omnitron but POS integrations connected to the payment option can be multiple for different payment providers.
* This integration is compatible with Masterpass. The document can be referenced: [Masterpass REST POS](/technical-guides/3rd-party-integration/masterpass-integrations/masterpass-rest-pos.md).
* To use version 3 hashing, the bank side should define the merchantName value with English characters. It should not have Turkish characters. Faulty value example:
  * "merchantName": "AKINON.COM"


---

# 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://docs.akinon.com/technical-guides/3rd-party-integration/payment-integrations/nestpay-credit-card-integration.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.
