# ‌Authentication

To perform any task using PayKun API you will need to provide credentials, below is the details of which type of credentials you will need on the basis of your platform:

### **1.Web**

For the various technical server-side requests like transaction initialization, transaction details retrieval, refund details, settlement details, etc, you need the unique Access Token obtained from your Merchant Account.‌

PayKun provides [unique Access Token and API Secret Key](/technical-guide/api-encryption-key-guide.md) (for web) to every merchant, which is needed to authenticate all of the above mentioned requests.‌

### **2.Mobile**

For the various technical server-side requests like transaction initialization, transaction details retrieval, refund details, settlement details, etc, you need the unique Access Token obtained from your Merchant Account.‌

PayKun provides [unique Access Token and API Secret Key](/technical-guide/api-encryption-key-guide.md) (for app) to every merchant, which is needed to authenticate all of the above mentioned requests.‌

{% hint style="info" %}
Merchant ID, Access Token & API Secret For Live environment and sandbox environment are different and you can generate it from their respective dashboard.
{% 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://docs.paykun.com/technical-guide/untitled/authentication.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.
