Owostack
CoreApi reference

Get a credit pack

Returns the current server-side price and provider for an active credit pack.

GET
/v1/credit-packs/{slug}

Authorization

bearerAuth

Path Parameters

slug*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.owostack.com/v1/credit-packs/string"
{
  "success": true,
  "data": {
    "id": "string",
    "slug": "string",
    "name": "string",
    "description": "string",
    "credits": 0,
    "price": 0,
    "currency": "string",
    "creditSystemId": "string",
    "creditSystem": "string",
    "provider": "string",
    "metadata": {
      "property1": null,
      "property2": null
    },
    "isActive": true,
    "createdAt": 0,
    "updatedAt": 0,
    "property1": null,
    "property2": null
  }
}
{
  "success": true,
  "error": "string",
  "code": "string",
  "message": "string",
  "property1": null,
  "property2": null
}
{
  "success": true,
  "error": "string",
  "code": "string",
  "message": "string",
  "property1": null,
  "property2": null
}
{
  "success": true,
  "error": "string",
  "code": "string",
  "message": "string",
  "property1": null,
  "property2": null
}

Ask about owostack

Ready

Start a new chat below.

Powered by Cull