Kredi paketi satın al (Sadece Test/Development)
**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Kullanıcı belirtilen kredi paketini satın alır ve krediler hesabına eklenir. ⚠️ Bu endpoint sadece test ve development ortamlarında kullanılabilir. Production ortamında kredi ekleme işlemi sadece RevenueCat webhook üzerinden yapılır.
Production uyarisi: Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin.
Kullanıcı belirtilen kredi paketini satın alır ve krediler hesabına eklenir. ⚠️ Bu endpoint sadece test ve development ortamlarında kullanılabilir. Production ortamında kredi ekleme işlemi sadece RevenueCat webhook üzerinden yapılır.
Authorization
JWT-auth Paste the JWT access token without the Bearer prefix.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Satın alınacak kredi paketi ID
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/credit-packages/purchase" \ -H "Content-Type: application/json" \ -d '{ "packageId": "65a1234bcde5678f90123456" }'{
"isSuccess": true,
"statusCode": 201,
"data": {},
"errors": [],
"timestamp": "2026-05-22T16:11:27.463Z"
}{
"isSuccess": false,
"statusCode": 400,
"data": null,
"errors": [
"Validation failed"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 401,
"data": null,
"errors": [
"Authentication required"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 403,
"data": null,
"errors": [
"Insufficient permissions"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 404,
"data": null,
"errors": [
"Resource not found"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}{
"isSuccess": false,
"statusCode": 409,
"data": null,
"errors": [
"Resource already exists or cannot be changed in its current state"
],
"timestamp": "2026-01-15T10:30:00.000Z"
}Kullanıcının geçmiş satın alımlarını listele GET
Kullanıcının geçmiş kredi paketi satın alımlarını sayfalanmış şekilde getirir.
Create live stream report POST
**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Creates a report for the given live stream. If report type is other, description is required.