Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.orkesta.com.tr/llms.txt

Use this file to discover all available pages before exploring further.

Fincraft Payment API

Detaylı API Dökümantasyonu
🌐 Ortamapi-test.fincraft.com.tr
📋 Endpoint24 API
🔐 Kimlik DoğrulamaBearer Token

📌 Genel Bilgiler

AlanDeğer
Test URLhttps://api-test.fincraft.com.tr/api/v1/payments
Content-Typeapplication/json
AuthenticationBearer Token
EncodingUTF-8

🔐 Kimlik Doğrulama (Authentication)

API’ye erişim için Bearer Token almanız gerekir.

POST /auth/login

https://api-test.fincraft.com.tr/auth/login
Bu endpoint, API Key ve API Secret kullanarak Bearer Token almanızı sağlar. Token, sonraki çağrılarda Authorization başlığında kullanılır.
⚙️ Base64 Encoding
  1. Değerleri birleştirin: apiKeyBilginiz:apiSecretBilginiz
  2. Base64 ile encode edin: ZmluY3JhZnRUZXN0S2V5OmZ...

Request Headers

Authorization: Basic ZmluY3JhZnRUZXN0S2V5OmZ...
Content-Type: application/json

Request Body

Gerekli değildir.

Response Body

{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Response Parametreleri

ParametreTipAçıklama
accessTokenStringAPI çağrılarında kullanılacak Bearer token.

cURL Örneği

curl -X POST https://api-test.fincraft.com.tr/auth/login \
  -H "Authorization: Basic ZmluY3JhZnRUZXN0S2V5OmZ..." \
  -H "Content-Type: application/json"
✅ Adım Adım
  1. API Key ve Secret’i hazırlayın.
  2. apiKey:apiSecret olarak birleştirin.
  3. Base64 ile encode edin.
  4. Authorization başlığını oluşturun.
  5. POST /auth/login çağrısı yapın.
  6. accessToken değerini güvenli saklayın.
  7. Diğer isteklere Bearer olarak ekleyin.