Allmine API
Credit Packages

Kredi paketi detayını getir

Belirtilen ID'ye sahip kredi paketinin detaylarını döner.

GET
/api/v1/credit-packages/{id}

Belirtilen ID'ye sahip kredi paketinin detaylarını döner.

Path Parameters

id*string

Kredi paketi ID

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/credit-packages/65a1234bcde5678f90123456"
{
  "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.462Z"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 404,
  "data": null,
  "errors": [
    "Resource not found"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}