> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Turkey (Legacy navigation V20260623)

> Historical documentation. Turkey (Legacy navigation V20260623) covering Limits, Collection API, Collection Application.

> [!WARNING]
>
> **Before reading this API document, please make sure to check [**API Description Guide**](https://doc.haipay.net/en/history/V20260623/get-started/api-conventions.md)**

## **Limits**

| Transaction Type | Limit (Unit: TRY) |
| :- | - |
| Collection | 10-99000 |
| Disbursement | 10-99000 |

> **Amount Decimal Places:** TRY — 2 decimal places

## **Collection API**

### **Collection Application**

**Brief Description:**

* Create a collection order

**URL：`/try/collect/apply`**\
Note: appId should use TRY corresponding one, user payment success will increase TRY balance

**Parameters:**

| Parameter Name | Required | Type | Description |
| :- | :- | :- | :- |
| appId | Yes | Long | Business ID (obtained from the backend, must pass the corresponding business ID according to the currency in the URL) |
| orderId | Yes | String | Merchant Order Number (must be unique, max length 48) |
| name | Yes | String | Payee Name |
| phone | Yes | String | Real mobile number (format reference [Phone Number Format](https://doc.haipay.net/en/history/V20260623/resources/faq.md#en_faq_phone-number-format) ) |
| email | Yes | String | Real email |
| amount | Yes | String | Transaction Amount (unit: local currency, accurate to two decimal places; punctuation such as “,” is prohibited) |
| currency | No | String | Currency (TRY) |
| payType | Yes | String | Transaction Type PAYMENT\_GATEWAY |
| inBankCode | Yes | String | [Payment Method](#inBankCode) |
| callBackUrl | Yes | String | Redirect URL after successful payment |
| callBackFailUrl | Yes | String | Redirect URL after failed payment |
| notifyUrl | No | String | Callback URL |
| subject | No | String | Payment Remark |
| body | No | String | Remark Details |
| partnerUserId | Yes | String | Unique user identifier (e.g., user ID userId), used for risk control, must be real and valid, otherwise it may affect the transaction. Format: numbers, uppercase/lowercase letters, or commonly used symbols -\~!@#\$%&\*()\_. |
| sign | Yes | String | Signature |

#####

request

```json theme={null}
{
    "appId": 1054,
    "orderId": "M233323000059",
    "amount": "750.00",
    "phone": "05123456789",
    "email": "ahmet.yilmaz@gmail.com",
    "name": "Ahmet Yilmaz",
    "inBankCode": "GPay",
    "payType": "PAYMENT_GATEWAY",
    "partnerUserId": "149597870",
    "sign": "af0gAHkUOyYHu9owQp8NJ4mPEeUW4vuJcjdxqLIzrVw8AvpLSjD1DXupReSG/CyuSkFRyiIvCp5u703AuGGmfgD2gKDH3Ywau41bAbG2jnHJ8mtjiSJ5iWUzanyd4Kr7d1+rETbzUl7/BkW3t0X8UUFdqpxwG8DPUjAwUKfplWDHV7koG51Ozexd80DCsmW6eWdouAZ1uNXGLYmV3ftE3BmfNRtuv1C5bfTJWrTEIOxbF6g2uYOFZTlIgrQgd7/2PsAYwQQXNz8Q8CYl4OxqCv4pXJxaLWPbR5tqZu9og5kn32C9aHW/NlU1y39vzz+4ef81yPAqUV9oHlSMSPrMmw=="
}
```

va-response

```json theme={null}
{
    "status": "1",
    "error": "00000000",
    "msg": "",
    "data": {
        "orderId": "M233323000059",
        "orderNo": "6023071013539074",
        "payUrl": "",
        "sign": "YEoA8Y2JzQFGVzwJSqmemm1Kfv/bfyIfCqv2dp7RNzT5B72AQvdD+nt2nR4sL1HWscvmNHyVt5ovAi7MMhy3ziih/sMph+wPx4YjH3W1h5DyBvSlWvaKfKrK5ViomZ0pPYWydwRHnnRnicxToHK9S6qtSy7Q73O0hdz4hJ9p41Th3ycBl2Q9SeqSZYSY1ohcPDhdyRf2y0prb8rHgpBKzxZ5BKX/1bsE9OmsSEHAEYT8OGgko6aNe8XPAhr4G48cpWTftvnGQuzh0O65nuZRI/PF+Axt2zJCVbFHDDSREI9NlAT82ebDqhlVdxQzKE67D1nxgjb3dPmDUYHOBpmwxQ=="
    }
}
```

**Response data parameter description**

| Parameter Name | Type | Description |
| :- | :- | :- |
| orderId | String | Merchant order number (must be unique) |
| orderNo | String | Platform order number |
| payUrl | String | Payment link |
| sign | String | Signature |

### **Collection Query**

**Brief Description:**

* Query collection order

**URL：`/try/collect/query`**

#####

**Parameters:**

| Parameter | Required | Type | Description |
| :- | :- | :- | :- |
| appId | Yes | Long | Business ID (obtained from the backend; must match the currency in the URL) |
| orderId | Yes | String | Merchant Order ID |
| orderNo | No | String | Platform Order ID (faster response) |
| sign | Yes | String | Signature |

request

```json theme={null}
{
    "appId": 1054,
    "orderId": "M22222000028",
    "sign": "EmyJGm3ELzG4FsOd0Krs9ncbSjo4oTGuXWML+7djYla3+VAwd9wS17z38p/7U2ZAjroO04XrE7YXcB1o76Dtyipj3h3bJzs7FYma1QNkMUdt9hh7m8U6hMsMQX7vIWHtXNwz4pbTSC75+kQWXaCew7KoE6LXECdJU8AISgNgeki2TK9R0pCfshr0Z2SZBPeuT6OvIH5LdmqgdZhuqnffGU2qnXk4KMkO848e6/WALLBR+LE1wyKHfPnYVcuKSMVYxkvKyyIL5JIPEgW0o5bh4RCbaUn3NZtyYwrU1uQ3ZDFRThm9j6XAQP+LBlmq3nOePqBtp/VDVarRaV+7FbQg3A=="
}
```

response

```json theme={null}
{
    "status": "1",
    "error": "00000000",
    "msg": "",
    "data": {
        "orderId": "M22222000028",
        "orderNo": "6023042811314347",
        "amount": "750.00",
        "actualAmount": "0.00",
        "fee": "0.00",
        "status": 1,
        "sign": "fP433ygWVDLVGxYkVnIJj7riGq0U3vyVX+MbBAImxfGLZkZcEAHVEoVYuULZSmXAAXKRSyd67WlDNm+24pougM54ofAoH4HMtCL2tfCoBReFyz3z02AGKkrKE2xWhSpWoqfQoBvzwuN5iGMMu0s9Q1YvqiwJ8WDVIENnmiIyD8qDJN7caHTW2US14/faG+69AvnuIgJ/nu7/jogOlgEYdZdVYU7gcRDE+d47KjlFGswQkJ/h/uzV7cWtUqrtOO7ZnZ3/z33Xx8awokX36QoYcPSWAU0h+Ij9O9402HNhm1eTbYcLU0uI/z8xCAtyAI/tTyiFijpiNlxUKQj+zKsILw=="
    }
}
```

**Response data parameter description**

| Parameter Name | Type | Description |
| :- | :- | :- |
| orderId | String | Merchant order number (must be unique) |
| orderNo | String | Platform order number |
| amount | String | Transaction amount |
| actualAmount | String | Received amount |
| fee | String | Transaction fee |
| status | Integer | Status (0 not started, 1 collecting, 2 collection success, 3: collection failed, -1 exception pending confirmation) |
| payTime | String | Payment success time (when status=2 has value), format: yyyy-MM-dd HH:mm:ss |
| errorMsg | String | Payment failure reason (when status=3 has value) |
| sign | String | Signature |

***

### **Payment Methods**

| Currency | Payment Type (payType) | Payment Code (inBankCode) | Limit | Status | Description |
| :- | :- | :- | :- | :- | :- |
| TRY | BANK\_ACCOUNT | IBAN | 1000-500000 | Available | International Bank Account Number |
| TRY | PAYMENT\_GATEWAY | PAPARA | 10-99000 | Maintenance | Papara Wallet |

***

## **Disbursement API**

### **Disbursement Apply**

**Brief Description:**

* Create a disbursement order

**URL：`/try/pay/apply`**

**Parameters:**

| Parameter | Required | Type | Description |
| :- | :- | :- | :- |
| appId | Yes | Long | Business ID (obtained from the backend; must match the currency in the URL) |
| orderId | Yes | String | Merchant Order ID (must be unique, maximum length 48) |
| amount | Yes | String | Transaction amount (in local currency) |
| accountType | Yes | String | Account type: `BANK_ACCOUNT`, `EWALLET` |
| bankCode | Yes | String | [Bank Code](#bankCode) |
| identifyType | No | String | Required when `bankCode=PAPARA`: `PAPARA_NUMBER` (Papara ID) `PHONE` (registered Papara phone) `EMAIL` (registered Papara email) `TURKISH_ID` (registered Papara ID number) |
| accountNo | Yes | String | User account (IBAN if `BANK_ACCOUNT`) |
| name | Yes | String | Recipient name |
| phone | Yes | String | Valid phone number |
| email | Yes | String | Valid email |
| notifyUrl | No | String | Callback URL |
| subject | No | String | Payment remark (transaction title, product name, or payment reason) |
| body | No | String | Remark details |
| partnerUserId | Yes | String | Unique user identifier (e.g., userId), required for risk control. Must be valid; otherwise it may affect the transaction. Format: numbers, letters, or symbols `-~!@#$%&*()_`. |
| sign | Yes | String | Signature |

#####

request（accountType为BANK\_ACCOUNT类型时）

```json theme={null}
{
    "appId": 1054,
    "orderId": "M100000450012",
    "amount": "750.00",
    "accountType": "BANK_ACCOUNT",
    "bankCode": "BDO",
    "accountNo": "09876543210",
    "ibanAccount": "09876543210",
    "name": "Ahmet Yilmaz",
    "phone": "05123456789",
    "email": "ahmet.yilmaz@gmail.com",
    "subject": "iphone13",
    "body": "ProMotion technology with adaptive refresh rates up to 120Hz",
    "partnerUserId": "149597870",
    "sign": "I1PeK3eJOVsFFNowxVRqMXpeWm1lr/BcRpBi8WsW4wVo1+5CC3JsrFq/m/L2O69NzKHvtDWi4zia3DL3dPut0yMyUyqL91LNCSaeISbGsQPlhEsQpyTOryS/RKOfsrn2Xo37SCF/phAvndOk2jwwGwqM5xLz1ms9Ukl85wv27QFNrXIMxK2p18oe7MpMYrgf+xvEBE/VqCtKMtN9pO449wWwXzHWNPbZ76s4pAvKwRE9yXQDr7Iw14Dktcnl1FoLM4gWM/obkO+mz6SyAGDuXhVh/+OD/IGNiCyTCNq6ciQY28UnCFV6ZIP40gxsFhfBJKbK+Raw7y1Bh912ifYfug=="
}
```

response

```json theme={null}
{
    "status": "1",
    "error": "00000000",
    "msg": "",
    "data": {
        "orderId": "M100000450013",
        "orderNo": "3023062014149637",
        "sign": "LmhUnkw5j0pMiimsG8rKwdNNZGvXH5MpSmD6mdHZwq1SQwuK5BohmdEoqKB/jkMk28o3da4Cxh6Q+tW97+yTCemRrF+dMaHA73rpOeUuujKQl/UcFvJuMhfLBa2tp09L71NzoBqpPD6aXf37mYAz8E1HmERwFPpac5FVxIYanHG8cqmMLJYsVmHTSxWavgWU03ys9UczBePkBiR8sl2FSOhFABB0wAP28lswrV/ABS68IsLKtyd1fyI3GBfSbIK5nDEEnlE+EdElFdLs9taAxJImeVF1x4eT47+bkPJ2qS8z3K8QGzKLF3W+8SiRZGfSwDTsLKH+2Vycvy5auRl+ag=="
    }
}
```

**Response data parameter description**

| Parameter Name | Required | Type | Description |
| :- | :- | :- | :- |
| orderId | String | Merchant order number (must be unique) | |
| orderNo | String | Platform order number | |
| sign | String | Signature | |

***

### **Disbursement Query**

**Brief Description:**

* Query a disbursement order

**URL：`/try/pay/query`**

**Parameters:**

| Parameter | Required | Type | Description |
| :- | :- | :- | :- |
| appId | Yes | Long | Business ID (obtained from the backend; must match the currency in the URL) |
| orderId | Yes | String | Merchant Order ID |
| orderNo | No | String | Platform Order ID (faster response) |
| sign | Yes | String | Signature |

request

```json theme={null}
{
    "appId": 1000,
    "orderId": "M1234567111",
    "orderNo": "3022111516571436",
    "sign": "ZxkVZL+GAyv0VhvWn4IvuYahTzxgQuthkuV2ONWiqIfIDb2avvHlFOUJVzqZi1q8CPHXZm1ltanRTRVTxfsuftLvGeDioUHglWt46/RU6c1OPznpLGsZ35Q3n5tW2y1EnOsxPynXBFLuDQy+aZ3l9u6AQ30T0zQexMGT+IxuFkmUp02g/6juaHa5ZgNMv7lN67ixIp162wrM7OJuaOif872QijSceRdZhzaMGImAwB0D4MosRV4WMBOKkwgPdmS7GuZN66YUidXk3wTGqX3MYRw6M0kj4eNegSUwPXvp4q4p0KO8Y3xUMld54GY2ApX3WN3CBtC/vpJqEszjGBbbGg=="
}
```

response — Order Failed

```json theme={null}
{
    "status": "1",
    "error": "00000000",
    "msg": "",
    "data": {
        "orderId": "M1234567111",
        "orderNo": "3022111516571436",
        "amount": "100000.00",
        "fee": "0.00",
        "status": 3,
        "errorMsg": "Đơn hàng không tồn tại",
        "sign": "KKuvCl0SuNANJs+l2ogDaJm8pmV+Hi+Xa7q27vJ6D1Ehs4aOp13kRbITfJAhczh3T81BE9qwHeJaYwf+r0EypKM9TL6pMwfG8Az4gRy1D57wiUaVjl2PWcvbEqrn1hL0b+btkjvAM9I+CcSv+wuOW3/uku17Ws3FhgJLj9sFsQUBAPjDO+758VnwBytCOLBmljLBXyKgNgpmFQ1/DNkqWl0UNzyLK45Zw3yf5NiwhEFbvW0jlOWlfu/ql4hluISUQG573jEoFCBEnQLb2tQoRZj1QYNRCXPf5lbej0vzqbEwvR9h+ZOf255t1MocJkdIe463DTV5U3KZdVT87HMagw=="
    }
}
```

response — Order Successful

```json theme={null}
{
    "status": "1",
    "error": "00000000",
    "msg": "",
    "data": {
        "orderId": "M1234567112",
        "orderNo": "3022111517401574",
        "amount": "100000.00",
        "fee": "1003.00",
        "status": 2,
        "payTime": "2024-03-01 23:59:59",
        "sign": "khPtOmGq+cpKX0HFAI/lbP0dx4oVyNAnL5oLsdmhDJdASlQm0yg5I3o+MhImYggEsL6c2bo5fP29t54OZFqSdQDfIuNDvGbAMAr4mRBxc0hoHLkBLyyagfVPBLyQA1JY8XV3ZL4ySzQ3ZQnMCfrh2K39ueUuz6HpZ03Hj0KYijVRCXAZaio/L5jfLBT12QXmvIfAHa8s/k9flhK05ENHPep3zjj/MZGOEaX7jkEJLfjK0duypDCa61BRQjM+oePOdVsgleIl1Yf98UAxMDZ/A3912KFHEb+/jvmdnulNbiJFyuT1fEe+j2teUgw3vFsZAtwNWAgxhC7UO+N0Q5z4EA=="
    }
}
```

**Response data parameter description**

| Parameter Name | Type | Description |
| :- | :- | :- |
| orderId | String | Merchant order number (must be unique) |
| orderNo | String | Platform order number |
| amount | String | Transaction amount |
| fee | String | Transaction fee |
| status | Integer | Order status (0 not started, 1 disbursing, 2 disbursement success (final), 3 disbursement failed (final), -1 exception pending confirmation) |
| payTime | String | Payment success time (when status=2 has value), format: yyyy-MM-dd HH:mm:ss |
| errorMsg | String | Payment failure reason (when status=3 has value) |
| sign | String | Signature |

***

### **Payment Methods**&#x20;

| Currency | Payment Type (accountType) | Payment Code (bankCode) | Limit | Status | Description |
| :- | :- | :- | :- | :- | :- |
| TRY | BANK\_ACCOUNT | AKB | 2000-500000 | Maintenance | AKBANK T.A.Ş. |
| TRY | BANK\_ACCOUNT | Burgan\_Bank | 2000-500000 | Maintenance | AKBANK T.A.Ş. |
| TRY | BANK\_ACCOUNT | CITI\_BANK | 2000-500000 | Maintenance | CITIBANK A.Ş.. |
| TRY | BANK\_ACCOUNT | DENIZ\_BANK | 2000-500000 | Maintenance | DENİZBANK A.Ş.. |
| TRY | BANK\_ACCOUNT | FIBA\_BANK | 2000-500000 | Maintenance | FIBABANKA A.Ş. |
| TRY | BANK\_ACCOUNT | FINANS\_BANK | 2000-500000 | Maintenance | FİNANS BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | QNB | 2000-500000 | Maintenance | QNB Finansbank. |
| TRY | BANK\_ACCOUNT | HSBC\_BANK | 2000-500000 | Maintenance | HSBC BANK A.Ş. |
| TRY | BANK\_ACCOUNT | ING\_BANK | 2000-500000 | Maintenance | ING BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | KUVEYT\_TURK | 2000-500000 | Maintenance | KUVEYT TÜRK KATILIM BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | ODEA\_BANK | 2000-500000 | Maintenance | ODEA BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | SEKER\_BANK | 2000-500000 | Maintenance | ŞEKERBANK T.A.Ş. |
| TRY | BANK\_ACCOUNT | TEKFEN\_BANK | 2000-500000 | Maintenance | TEKFENBANK A.S.. |
| TRY | BANK\_ACCOUNT | YAPI\_KREDI | 2000-500000 | Maintenance | Yapıkredi |
| TRY | BANK\_ACCOUNT | ZIRAAT\_BANK | 2000-500000 | Maintenance | T.C. ZİRAAT BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | VAKIF\_BANK | 2000-500000 | Maintenance | T. VAKIFLAR BANKASI. |
| TRY | BANK\_ACCOUNT | ISB | 2000-500000 | Maintenance | T. İŞ BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | GARANTI\_BANK | 2000-500000 | Maintenance | T. GARANTİ BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | TCMB | 10-99000 | Maintenance | T.C.MERKEZ BANKASI A.Ş. |
| TRY | BANK\_ACCOUNT | ILB | 10-99000 | Maintenance | İLLER BANKASI. |
| TRY | BANK\_ACCOUNT | HALK\_BANK | 10-99000 | Maintenance | T. HALK BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | TSKB | 10-99000 | Maintenance | T.SINAİ KALK. BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | TURK\_EXIMB | 10-99000 | Maintenance | T.IHRACAT KREDI BANKASI A.S. |
| TRY | BANK\_ACCOUNT | KALKINMA\_BANK | 10-99000 | Maintenance | T.KALKINMA BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | BAYINDIR\_BANK | 10-99000 | Maintenance | BAYINDIRBANK A.S.. |
| TRY | BANK\_ACCOUNT | EKONOMI\_BANK | 10-99000 | Maintenance | T.EKONOMİ BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | YAPI\_KREDI | 10-99000 | Maintenance | YAPI ve KREDİ BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | TURK\_TICARET | 10-99000 | Maintenance | T.DIŞ TICARET\_BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | ROMA\_BANK | 10-99000 | Maintenance | BANCA DI ROMA S.P.A.. |
| TRY | BANK\_ACCOUNT | ABN\_AMRO | 10-99000 | Maintenance | ABN AMRO BANK N.V.. |
| TRY | BANK\_ACCOUNT | ATB | 10-99000 | Maintenance | ARAP TÜRK BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | KOC\_BANK | 10-99000 | Maintenance | KOÇBANK A.S. |
| TRY | BANK\_ACCOUNT | TURKISH\_BANK | 10-99000 | Maintenance | TURKISH BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | JPMORGAN\_BANK | 10-99000 | Maintenance | JP MORGAN CHASE BANK NA MERK C. |
| TRY | BANK\_ACCOUNT | ING\_BANK | 10-99000 | Maintenance | ING BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | ADA\_BANK | 10-99000 | Maintenance | ADABANK A.S.. |
| TRY | BANK\_ACCOUNT | DEUTSCHE\_BANK | 10-99000 | Maintenance | DEUTSCHE BANK A.S.. |
| TRY | BANK\_ACCOUNT | CALYON\_BANK | 10-99000 | Maintenance | CALYON BANK T.A.S. |
| TRY | BANK\_ACCOUNT | ALTERNATIF\_BANK | 10-99000 | Maintenance | ALTERNATİFBANK A.S.. |
| TRY | BANK\_ACCOUNT | ANADOLU\_BANK | 10-99000 | Maintenance | ANADOLUBANK A.Ş.. |
| TRY | BANK\_ACCOUNT | DILER\_BANK | 10-99000 | Maintenance | DİLER YATIRIM BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | GSD\_BANK | 10-99000 | Maintenance | GSD YATIRIM BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | NUROL\_BANK | 10-99000 | Maintenance | NUROL YATIRIM BANKASI A.S.. |
| TRY | BANK\_ACCOUNT | CALIK\_BANK | 10-99000 | Maintenance | ÇALIK YATIRIM BANKASI A.S. |
| TRY | BANK\_ACCOUNT | TURKLAND\_BANK | 10-99000 | Maintenance | TURKLAND BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | URGAN\_BANK | 10-99000 | Maintenance | URGAN BANK A.Ş.. |
| TRY | BANK\_ACCOUNT | AKTIF\_BANK | 10-99000 | Maintenance | AKTİF YATIRIM BANKASI A.Ş. |
| TRY | BANK\_ACCOUNT | ALBARAKA\_TURK | 10-99000 | Maintenance | ALBARAKA TÜRK KATILIM BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | ASYA\_BANK | 10-99000 | Maintenance | ASYA KATILIM BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | PTT | 10-99000 | Maintenance | PTT. |
| TRY | BANK\_ACCOUNT | TURKIYE\_FINANS | 10-99000 | Maintenance | TÜRKİYE FİNANS KATILIM BANKASI A.Ş.. |
| TRY | BANK\_ACCOUNT | ININAL | 10-99000 | Maintenance | Ininal. |

## Related Topics

* [Common API](https://doc.haipay.net/en/history/V20260623/api/version2/CommonApi.md)
* [HaiPay API Description and Common Rules](https://doc.haipay.net/en/history/V20260623/get-started/api-conventions.md)
* [Egypt Payment API](https://doc.haipay.net/en/history/V20260623/api/version2/Egypt.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.