iyzico
APITurkish payments API for cards, installments, subscriptions and marketplaces
- Fiyat
- Fee per transaction
- Erişim
- API key and secret key, HMAC-signed
Hakkında
iyzico is a licensed Turkish payment institution with APIs for card payments with installments and 3D Secure, a hosted checkout form, subscriptions, marketplace split payments and payment links. The payment APIs need a business registered in Turkey and HMAC-signed requests.
Neler yapabilirsin
- Take card payments with installments through the hosted Checkout Form or the API
- Charge customers on recurring plans with products, pricing plans and free trials
- Split marketplace payments between the platform and sellers paid out by IBAN
Başlarken
- Register a sandbox merchant account
- Copy the API key and secret key from Settings > Merchant Settings
- Point an official SDK at https://sandbox-api.iyzipay.com
Örnek kod
const Iyzipay = require('iyzipay');
const iyzipay = new Iyzipay({
apiKey: process.env.IYZIPAY_API_KEY,
secretKey: process.env.IYZIPAY_SECRET_KEY,
uri: 'https://sandbox-api.iyzipay.com'
});
iyzipay.checkoutFormInitialize.create({
locale: Iyzipay.LOCALE.TR,
price: '1',
paidPrice: '1.2',
currency: Iyzipay.CURRENCY.TRY,
callbackUrl: 'https://www.merchant.com/callback',
buyer: {
id: 'BY789', name: 'John', surname: 'Doe', gsmNumber: '+905350000000',
email: 'email@email.com', identityNumber: '74300864791',
registrationAddress: 'Nidakule Göztepe, Merdivenköy Mah. Bora Sok. No:1',
city: 'Istanbul', country: 'Turkey'
},
billingAddress: {
contactName: 'Jane Doe', city: 'Istanbul', country: 'Turkey',
address: 'Nidakule Göztepe, Merdivenköy Mah. Bora Sok. No:1'
},
basketItems: [{ id: 'BI102', name: 'Game code', category1: 'Game',
itemType: Iyzipay.BASKET_ITEM_TYPE.VIRTUAL, price: '1' }]
}, (err, result) => console.log(err || result.paymentPageUrl));Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Türkiye
- Resmi SDK'lar
- JavaScript/TypeScript, PHP, Python, Java, C#
- MCP sunucusu
- Yok
- Entegrasyonlar
- WooCommerce, Shopify, Wix