Allmine API
Credit Packages

Tüm kredi paketlerini listele

Aktif paketleri filtrelemek için activeOnly, store tipine göre filtrelemek için storeType query parametresi kullanılabilir.

GET
/api/v1/credit-packages

Aktif paketleri filtrelemek için activeOnly, store tipine göre filtrelemek için storeType query parametresi kullanılabilir.

Query Parameters

storeType?string

Store tipine göre filtrele (apple, google, test, web)

Value in"apple" | "google" | "test" | "web"
activeOnly?boolean

Sadece aktif paketleri getir

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/credit-packages"
{
  "isSuccess": true,
  "statusCode": 200,
  "data": [
    {
      "id": "65a1234bcde5678f90123456",
      "creditAmount": 100,
      "revenuecatProductId": "prod1a2b3c4d5",
      "storeIdentifier": "com.allmine.credits.100",
      "storeType": "apple",
      "createdAt": "2024-01-01T00:00:00.000Z",
      "updatedAt": "2024-01-01T00:00:00.000Z"
    }
  ],
  "errors": [],
  "timestamp": "2026-05-22T16:11:27.461Z"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}