{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"270c4063-e16e-4b86-ae6f-94e13c979d6c","name":"TURKPIN API V1.5.0","description":"## English – Turkpin API Overview\n\nTo make sales using the **Turkpin.com API**, you must have:\n\n- An **active dealer account**\n    \n- **API access authorization** enabled for your account\n    \n\nThe Turkpin API provides two environments:\n\n---\n\n### Test Environment (Sandbox)\n\nThe test environment is used for integration and development purposes.\n\n**Important:**  \nRequests must be sent using the test credentials. Otherwise, you will receive a _“User not found”_ error.\n\n**Test API Endpoint**\n\n> [https://www.turkpin.net/api.php](https://www.turkpin.net/api.php) \n  \n\n**Test Credentials**\n\n- **Username:** api@turkpin.net\n    \n- **Password:** @.nwjExrK4U5b_S@y\n    \n\n**IP Whitelisting (Required)**  \nTo use the test system, you must send your **server IP address** via email to: [integration@turkpin.com](https://mailto:integration@turkpin.com)\n\n---\n\n### Live Environment (Production)\n\nAfter completing your tests, you can switch to the live system by applying the following changes:\n\n**Live API Endpoint**\n\n> [https://www.turkpin.com/api.php](https://www.turkpin.com/api.php) \n  \n\n**Live Credentials**\n\n- **Username:** Your Turkpin.com account email\n    \n- **Password:** Your Turkpin.com account password\n    \n\n**Final Step – IP Authorization**\n\n- Log in to Turkpin.com\n    \n- Go to **API Settings**\n    \n- Add your **server IP address** to the authorized IP list\n    \n\n---\n\n## Türkçe – Turkpin API Genel Bakış\n\n**Turkpin.com API** üzerinden satış yapabilmeniz için:\n\n- **Aktif bir bayi hesabınızın** olması\n    \n- Bu hesaba **API kullanım yetkisi tanımlanmış** olması gerekir\n    \n\nTurkpin API iki ayrı ortamdan oluşur:\n\n---\n\n### Test Ortamı (Sandbox)\n\nTest ortamı, entegrasyon ve geliştirme amaçlıdır.\n\n**Önemli:**  \nTest sisteminde yalnızca test bilgileri ile istek gönderilmelidir.  \nAksi halde **“kullanıcı bulunamadı”** hatası alınır.\n\n**Test API Adresi**\n\n> [https://www.turkpin.net/api.php](https://www.turkpin.net/api.php) \n  \n\n**Test Kullanıcı Bilgileri**\n\n- **Kullanıcı:** api@turkpin.net\n    \n- **Şifre:** @.nwjExrK4U5b_S@y\n    \n\n**IP Tanımı (Zorunlu)**  \nTest sistemini kullanabilmek için sunucunuzun **IP adresini** aşağıdaki mail adresine iletmeniz gerekir: [integration@turkpin.com](https://mailto:integration@turkpin.com)\n\n---\n\n### Canlı Ortam (Production / Live)\n\nTestlerinizi tamamladıktan sonra canlı ortama geçmek için aşağıdaki değişiklikleri yapmanız gerekir:\n\n**Live API Adresi**\n\n> [https://www.turkpin.com/api.php](https://www.turkpin.com/api.php) \n  \n\n**Live API Bilgileri**\n\n- **Kullanıcı:** Turkpin.com hesap mail adresiniz\n    \n- **Şifre:** Turkpin.com hesap şifreniz\n    \n\n**Son Adım – IP Yetkilendirme**\n\n- Turkpin.com hesabınıza giriş yapın\n    \n- **API Ayarları** menüsüne gidin\n    \n\n---\n\n# Error Codes\n\n## English\n\n| Code | Description |\n| --- | --- |\n| 000 | Transaction Successful |\n| 111 | XML Format Error. Please check the XML format you sent. |\n| 001 | User not found, check your username and password. |\n| 002 | There is no access from your IP address. Please check your IP Address. |\n| 003 | Invalid command, check cmd parameter. |\n| 004 | Message field is a mandatory field. |\n| 005 | An error occurred while processing. |\n| 006 | This Account is not authorized to use Turkpin API |\n| 007 | This Account is not available for Turkpin API. |\n| 008 | Game ID is missing |\n| 009 | The server list for the game could not be found |\n| 010 | Missing or incorrect order format. |\n| 011 | The product was not found. |\n| 012 | The product is out of stock. |\n| 013 | The number of orders must be min% s. |\n| 014 | Dealer Balance Insufficient. |\n| 015 | Payment type is invalid |\n| 016 | Missing or incorrect notification format. Please check fields |\n| 017 | You have entered a missing or incorrect notification number. Please check the notification_id value |\n| 018 | Number of orders must be max% s. |\n| 019 | System error, error code:% s |\n| 020 | Please enter correct operator and phone number for GSM TL top up |\n| 021 | The amount to be reported for payment must be greater than 0 |\n| 022 | This product is not purchased by us. |\n| 023 | The site is currently closed for an update or maintenance. |\n| 024 | You can place orders for this product every %s minutes. |\n| 025 | This product is not sold in your country. |\n| 026 | The threshold value is missing or incorrect. |\n| 027 | The threshold value must be between %s and %s. |\n| 028 | The threshold value must be between %s and %s, and increase in increments of %s. |\n| 029 | This product is not available for pre-order. |\n| 030 | The start date cannot be later than the end date. |\n| 031 | The date range must be no more than 30 days. |\n| 099 | Order not found, please check the order number. |\n| 999 | We are under maintenance, and we will be back online as soon as possible. |\n\n---\n\n## Türkçe\n\n| Kod | Açıklama |\n| --- | --- |\n| 000 | İşlem Başarılı |\n| 111 | XML Format Hatası, lütfen gonderdiginiz XML formatını kontrol edin. |\n| 001 | Kullanıcı bulunamadı, kullanıcı adı ve şifrenizi kontrol ediniz. |\n| 002 | Bulunduğunuz IP adresinden erişim yoktur. Lütfen IP Adresinizi kontrol edin. |\n| 003 | Geçersiz komut, cmd parametresini kontrol ediniz. |\n| 004 | Mesaj alanını doldurulması zorunludur. |\n| 005 | İşlem yapılırken bir hata oluştu. |\n| 006 | Bu Hesap Turkpin API'yi kullanmaya yetkili değil. |\n| 007 | Bu Hesap Turkpin API kullanımına kapalı. |\n| 008 | game_id parametresi eksik |\n| 009 | Oyuna ait sunucu listesi bulunamadı |\n| 010 | Eksik yada hatali siparii formatı!. |\n| 011 | Ürün bulunamadı. |\n| 012 | Ürün stok yetersiz. |\n| 013 | Sipariş adedi min %s olmalı. |\n| 014 | Bayi Bakiyesi Yetersiz. |\n| 015 | Ödeme tipi geçersiz |\n| 016 | Eksik yada hatali bildirim formatı, lütfen alanları kontrol edin |\n| 017 | Eksik yada hatali bildirim numarası girdiniz. Lütfen notification_id değerini kontrol edin. |\n| 018 | Siparis adedi max %s olmalı. |\n| 019 | Sistem hatası, hata kodu: %s |\n| 020 | Lütfen GSM TL yüklemesi için operatör ve telefon numarasını doğru biçimde girin. |\n| 021 | Ödeme bildirilecek tutar 0 dan büyük olmalıdır |\n| 022 | Bu ürünün tarafımızdan alışı bulunmamaktadır. |\n| 023 | Site şu an bir güncelleme ya da bakım için kapalıdır. |\n| 024 | Bu üründen %s dakika arayla sipariş verebilirsiniz.. |\n| 025 | Bu ürün bulunduğunuz ülkeye satılmamaktadır. |\n| 026 | Barem değeri eksik yada hatalı. |\n| 027 | Barem değeri %s ile %s arasında olmalıdır. |\n| 028 | Barem değeri %s ile %s arasında olmalıdır ve %s adımıyla artmalıdır. |\n| 029 | Bu ürün ön siparişe kapalıdır. |\n| 030 | Başlangıç tarihi bitiş tarihinden büyük olamaz. |\n| 031 | Tarih aralığı en fazla 30 gün olmalıdır. |\n| 099 | Sipariş bulunamadı, sipariş Numarasını Kontrol Edin |\n| 999 | Bakımdayız, mümkün olan en kısa sürede tekrar çevrimiçi olacağız. |\n\n- Sunucu IP adresinizi **yetkili IP listesine** ekleyin","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"3051588","team":4652580,"collectionId":"270c4063-e16e-4b86-ae6f-94e13c979d6c","publishedId":"2s935oNQ8x","public":true,"publicUrl":"https://documenter-api.postman.tech/view/3051588/2s935oNQ8x","privateUrl":"https://go.postman.co/documentation/3051588-270c4063-e16e-4b86-ae6f-94e13c979d6c","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"ef1414"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"system_default","themes":[{"name":"dark","logo":"https://content.pstmn.io/b9c4bca9-4be3-45bf-aac9-fe0708abfedd/QXNzZXQgMUAyeC5wbmc=","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"ef1414"}},{"name":"light","logo":"https://content.pstmn.io/66e4ffd0-9f07-452e-93e7-d859ecaf508d/QXNzZXQgMkAyeC5wbmc=","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"ef1414"}}]}},"version":"8.10.1","publishDate":"2026-02-03T08:02:01.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":"https://content.pstmn.io/66e4ffd0-9f07-452e-93e7-d859ecaf508d/QXNzZXQgMkAyeC5wbmc=","logoDark":"https://content.pstmn.io/b9c4bca9-4be3-45bf-aac9-fe0708abfedd/QXNzZXQgMUAyeC5wbmc="}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/c28eba8579c6c7852bcb86b82cfad9ba42dddcf7e9ff755e06d4e4706f039201","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2s935oNQ8x"}