Pientegra API

Pientegra External API

Deposit ve withdrawal operasyonları için backend API, hosted payment page ve webhook integration reference.

Pientegra docs, partner sitelerin deposit ve withdrawal operasyonlarını Pientegra'ya bağlaması için gereken integration yüzeylerini kapsar. Ürün üç ana parçadan oluşur: backend-to-backend API, kullanıcıya açılan hosted deposit page ve async webhook delivery.

Bu ayrım önemlidir: deposit flow'da backend API bir depositUrl üretir ve kullanıcı hosted payment page'e yönlendirilir. Withdrawal flow ise bugünkü External API'de API-only payout request modelindedir; kullanıcıya Pientegra hosted withdrawal URL'i dönmez.

API modeli

AlanContract
Base URLPientegra ekibi entegrasyonunuza özel base URL'i sağlar. Production örneği: https://api.pientegra.com/api/v1
AuthAuthorization: Bearer <raw-api-key>
Write safetyTüm POST request'lerinde Idempotency-Key zorunlu
PayloadJSON, UTF-8, Content-Type: application/json
Moneyamount minor unit olarak gönderilir; response tarafında string döner
CurrencyTRY varsayılan ve aktif currency
Rate limitExternal API için varsayılan 60 request / dakika / API key
Result deliveryPrimary channel signed webhook; status endpoint'leri support ve reconciliation içindir

Integration surface

SurfaceNe için?Docs
Backend-to-Backend APIDeposit intent ve withdrawal request oluşturmaAPI
Hosted Deposit PageKullanıcıya banka bilgisi ve payment CTA göstermeHosted Pages
WebhooksApproval, rejection, sent ve returned sonuçlarını almaWebhooks
Status LookupSupport ve reconciliation için current state okumaStatus Lookup

High-level flows

Deposit:

Partner backend -> POST /external/deposits -> depositUrl
Partner frontend -> Hosted Deposit Page
Pientegra -> intent.approved/rejected webhook -> Partner backend

Withdrawal:

Partner backend -> POST /external/withdrawals -> withdrawalId
Pientegra operator review
Pientegra -> withdrawal.sent/rejected/returned webhook -> Partner backend

Nereden başlamalı?

On this page