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

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Ödeme Alın

> 100'den fazla ödeme yöntemiyle 195 ülkede tek seferlik ve yinelenen ödemeler alın

✨ Build this with AI

Copy and paste our templates using your favorite editor

Claude
Cursor
Codex
Lovable

* more

[Open](https://whop.com/network/examples?filter=checkouts)

Tek seferlik ve yinelenen ödemeleri bir ödeme bağlantısıyla ya da Whop Elements ile kendi sitenizde alın. Whop, **195 ülkede** **100'den fazla ödeme yöntemini** destekler ve uygun olanlar alıcının konumuna göre otomatik olarak görünür. [Tüm ödeme yöntemlerini görün](https://docs.whop.com/tr/payments-and-billing/local-payment-methods.md).

> [!TIP]
>
> Bir iOS uygulaması için [Whop iOS Checkout SDK](https://docs.whop.com/tr/developer/guides/ios/overview.md), ödeme sürecini daha düşük ücretlerle yerel olarak yönetir (Apple'ın %15–30'una karşı %2,7 + 0,30 \$). SDK, [uygulamanıza gömülmesi güvenli](https://docs.whop.com/tr/developer/guides/ios/installation.md#step-3-create-an-api-key) olan, kapsamı sınırlandırılmış bir `iap:read` API anahtarı kullanır.

## Entegrasyonunuzu seçin

Kendi sitenizdeki her yol [Whop Elements](https://docs.whop.com/tr/elements/latest/getting-started.md) üzerinde çalışır. Ödeme sürecinin ne kadarına sahip olmak istediğinize göre seçin. Her satır; istemciyi, sunucuyu ve dönüş sayfasını yan yana gösteren adım adım bir hızlı başlangıca bağlanır.

| | Ödeme bağlantısı | [Checkout öğesi](https://docs.whop.com/tr/developer/guides/embed-checkout.md) | [Ödeme öğeleri](https://docs.whop.com/tr/developer/guides/payment-elements.md) | [Hızlı ödeme](https://docs.whop.com/tr/developer/guides/express-checkout.md) | [Ödeme isteği](https://docs.whop.com/tr/developer/guides/payment-request.md) |
| - | - | - | - | - | - |
| **Ne elde edersiniz** | Whop tarafından barındırılan bir ödeme sayfası | Whop'un tüm ödeme sayfası sizin sayfanızda | Tasarladığınız bir form için PCI'dan yalıtılmış alanlar | Bir varyant için Apple Pay ve Google Pay düğmeleri | Kendi düğmenizin arkasındaki cüzdan sayfası |
| **Efor** | Düşük | Düşük | Yüksek | Düşük | Yüksek |
| **Özelleştirme** | Marka | Tema ve düzen | Kendi formunuz ve ödeme düğmeniz | Cüzdanlar ve düzen | Cüzdan sayfası dışında her şey |
| **Fiyat** | Varyanttan | Varyanttan | Varyanttan veya ilettiğiniz bir tutardan | Varyanttan | İlettiğiniz bir tutar |
| **Satın alma yolunda sunucu kodu** | Hayır | Hayır | Evet, onay token'ını tahsil etmek için | Hayır | Evet, onay token'ını tahsil etmek için |
| **Site dışı adımlar** | Yönetilir | Yönetilir, `returnUrl` adresine döner | `handleNextAction` çağrısını siz çalıştırırsınız | Yönetilir, `returnUrl` adresine döner | `handleNextAction` çağrısını siz çalıştırırsınız |
| **En uygun olduğu durum** | Bağlantı paylaşma, hızlı kurulum | Kendi tasarımınızda bir ürün sayfası veya sepet | Uçtan uca sizin tasarladığınız bir ödeme süreci | Bir varyantın tek dokunuşla satın alınması | Kendiniz hesapladığınız bir sepet veya toplam |

Hangisini seçerseniz seçin, iki kural geçerlidir. Siparişi tarayıcıdan değil, her zaman [`payment.succeeded` webhook'undan](https://docs.whop.com/tr/developer/guides/webhooks) karşılayın. Ve bir yol `returnUrl` aldığında, alıcı site dışı bir adımdan sonra **sonuç ne olursa olsun** oraya yönlendirilir. Whop, `payment` ve `status` (`succeeded`, `failed` veya `canceled`) parametrelerini ekler; bu nedenle `returnUrl` adresindeki sayfa bir teşekkür mesajı göstermeden önce `status` değerini okumalıdır.

> [card] [Ödeme öğeleriyle bir ödeme sayfası oluşturun](https://docs.whop.com/tr/developer/guides/payment-elements.md)
>
> Tarayıcıda bir onay token'ı toplayın ve sunucunuzdan tahsil edin.

> [card] [Bir ödeme sayfası gömün](https://docs.whop.com/tr/developer/guides/embed-checkout.md)
>
> Satın alma yolunda sunucu kodu olmadan Whop'un tüm ödeme sayfasını sayfanıza yerleştirin.

> [card] [Hızlı ödeme ekleyin](https://docs.whop.com/tr/developer/guides/express-checkout.md)
>
> Bir varyant için tek dokunuşlu Apple Pay ve Google Pay düğmeleri.

> [card] [Bir cüzdan düğmesi oluşturun](https://docs.whop.com/tr/developer/guides/payment-request.md)
>
> Cüzdan sayfasını kendi düğmenizden açın ve siparişin fiyatını kendiniz belirleyin.

## Bir ödeme bağlantısı paylaşın

Ödeme bağlantıları, ödeme almanın en basit yoludur. Paylaşılabilir bir ödeme URL'si almak için bir varyant oluşturun.

> [tab] Kontrol paneli
>
> 1. [Kontrol panelinizde](https://whop.com/dashboard/links/checkout) > **Checkout links** bölümüne gidin
>    2\. **+ Create checkout link** seçeneğini seçin
> 2. Bir ürün seçin ve fiyatlandırmanızı yapılandırın (ücretsiz, tek seferlik veya yinelenen)
> 3. **Create checkout link** seçeneğini seçin
>
> Oluşturulan bağlantı doğrudan müşterilerle paylaşılabilir veya web sitenize gömülebilir.

> [tab] API
>
> Bir `purchase_url` almak için API üzerinden bir varyant oluşturun:
>
> ```typescript TypeScript theme={null}
> import { WhopClient } from "@whop/sdk";
>
> const client = new WhopClient({
>   token: "Account API Key",
> });
>
> // account_id: find in Dashboard > Settings
> // product_id: find in Dashboard > Products
> const variant = await client.variants.create({
>   account_id: "biz_xxxxxxxxxxxxx",
>   product_id: "prod_xxxxxxxxxxxxx",
>   initial_price: 10.0,
>   plan_type: "one_time",
> });
>
> console.log(variant.purchase_url);
> ```
>
> ```python Python theme={null}
> from whop_sdk import Whop
>
> client = Whop(
>     token="Account API Key",
> )
>
> # account_id: find in Dashboard > Settings
> # product_id: find in Dashboard > Products
> variant = client.variants.create(
>     account_id="biz_xxxxxxxxxxxxx",
>     product_id="prod_xxxxxxxxxxxxx",
>     initial_price=10.0,
>     plan_type="one_time",
> )
>
> print(variant.purchase_url)
> ```
>
> ```rust Rust theme={null}
> use whop_sdk::prelude::*;
>
> let config = ClientConfig {
>     token: Some("Account API Key".to_string()),
>     ..Default::default()
> };
> let client = Whop::new(config).expect("Failed to build client");
>
> // account_id: find in Dashboard > Settings
> // product_id: find in Dashboard > Products
> let variant = client
>     .variants
>     .create(
>         &CreateVariantsRequest {
>             account_id: Some("biz_xxxxxxxxxxxxx".to_string()),
>             product_id: Some("prod_xxxxxxxxxxxxx".to_string()),
>             initial_price: Some(10.0),
>             plan_type: Some("one_time".to_string()),
>             ..Default::default()
>         },
>         None,
>     )
>     .await?;
>
> println!("{}", variant.purchase_url);
> ```
>
> ```go Go theme={null}
> import (
>     "context"
>     "fmt"
>     "log"
>
>     whopsdk "github.com/whopio/whopsdk-go/v2"
>     "github.com/whopio/whopsdk-go/v2/client"
>     "github.com/whopio/whopsdk-go/v2/option"
> )
>
> client := client.NewWhop(option.WithToken("Account API Key"))
>
> // account_id: find in Dashboard > Settings
> // product_id: find in Dashboard > Products
> variant, err := client.Variants.Create(context.TODO(), &whopsdk.CreateVariantsRequest{
>     AccountID:    whopsdk.String("biz_xxxxxxxxxxxxx"),
>     ProductID:    whopsdk.String("prod_xxxxxxxxxxxxx"),
>     InitialPrice: whopsdk.Float64(10.0),
>     PlanType:     whopsdk.String("one_time"),
> })
> if err != nil {
>     log.Fatal(err)
> }
>
> fmt.Println(variant.PurchaseURL)
> ```
>
> Ödemeyi Whop tarafından barındırılan bir ödeme sayfasında tamamlamaları için müşterileri `purchase_url` adresine yönlendirin.

## Uçtan uca test edin

Sandbox'ta bir test ödemesi yapın ve sunucunuza ve kontrol panelinize ulaşmasını izleyin. [Sandbox kılavuzu](https://docs.whop.com/tr/developer/guides/sandbox.md), URL değişikliklerini ele alır ve her ödeme sonucu için test kartlarını listeler. Ödeme tamamlandığında, işleyiciniz eklediğiniz `metadata` ile birlikte bir `payment.succeeded` olayı alır; ödemeyi kendi siparişinizle bu şekilde eşleştirirsiniz. Test ödemesi ayrıca sandbox kontrol panelinde **Payments** altında görünür.

![Ödemeler listesini gösteren sandbox kontrol paneli Payments sayfası](https://mintcdn.com/whop/jU1qiugUa1yCR1I4/images/sandbox-payments-dashboard.png?fit=max\&auto=format\&n=jU1qiugUa1yCR1I4\&q=85\&s=0dac30d4936ad5a412f1ceb5d54d056b)

## Sonraki adımlar

> [card] [Webhook'lar](https://docs.whop.com/tr/developer/guides/webhooks.md)
>
> Ödeme olaylarını gerçek zamanlı olarak işleyin

> [card] [Ödeme yöntemlerini kaydedin](https://docs.whop.com/tr/developer/guides/save-payment-methods.md)
>
> Bir yöntemi şimdi kaydedin ve daha sonra tahsil edin

> [card] [iOS ödemeleri](https://docs.whop.com/tr/developer/guides/ios/overview.md)
>
> iOS uygulamanızda daha düşük ücretlerle ödeme alın

> [card] [Ödeme yöntemleri](https://docs.whop.com/tr/payments-and-billing/local-payment-methods.md)
>
> 195 ülkede 100'den fazla ödeme yöntemi


## Related topics

- [Ödemelere Genel Bakış](https://docs.whop.com/tr/developer/payments/overview.md)
- [Örnek entegrasyon](https://docs.whop.com/tr/developer/guides/example-integration.md)
- [Uygulama Kurulumları](https://docs.whop.com/tr/developer/guides/app-installations.md)
