/payment/token
Yatırım için ödeme sayfası linki oluşturur. Bu endpoint yatırım talebini hemen oluşturmaz; talep, kullanıcı ödeme sayfasında “Gönderim Yaptım” dediğinde oluşur.
Auth: X-API-Key + X-API-Secret
Headers
X-API-Key
API Key (zorunlu)
X-API-Secret
API Secret (zorunlu)
Content-Type
application/json
Notlar
- Kullanıcı payment_url adresine yönlendirilmelidir.
- Ödeme sayfasında IBAN otomatik/random atanır.
- external_id callback içinde geri döner.
Request Body
{
"amount": 1000,
"external_id": "TXN-12345",
"return_url": "https://merchant.example/payment-return",
"user_data": {
"username": "john_doe",
"name": "John",
"surname": "Doe",
"phone": "5551234567",
"email": "john@example.com",
"identity_number": "12345678901"
},
"callback_data": {
"source": "checkout"
}
}
Response Body
{
"success": true,
"message": "Ödeme token’ı başarıyla oluşturuldu",
"data": {
"amount": 1000,
"payment_token": "abc123...xyz789",
"payment_url": "https://igpays.com/payment/abc123...xyz789",
"expires_at": "2026-07-08 18:00:00"
}
}