CoreApi reference
Get a credit pack
Returns the current server-side price and provider for an active credit pack.
Authorization
bearerAuth Path Parameters
slug*string
Length
1 <= lengthResponse 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
}