Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"package": {
"id": 123,
"name": "<string>",
"image": "<string>",
"details": "<string>",
"amount": 123,
"amountFormatted": "<string>",
"bonus": 123,
"price": 123,
"priceFormatted": "<string>",
"discounted": true,
"discountedPrice": 123,
"discountedPriceFormatted": "<string>",
"discountPercent": 123,
"stock": 123,
"subtotal": 123,
"discount": 123,
"tax": 123,
"total": 123,
"totalFormatted": "<string>",
"subtotalFormatted": "<string>",
"discountFormatted": "<string>",
"taxFormatted": "<string>"
},
"paymentGateways": [
{
"slug": "<string>",
"name": "<string>",
"title": "<string>",
"currency": "<string>",
"hasFee": true,
"transactionFee": 123,
"fixedFee": 123
}
],
"showTermsCheckbox": true
},
"message": "<string>",
"meta": {
"seo": {
"page": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>"
}
}
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "CONFLICT",
"message": "..."
}
}Credits
Get credit package
With the payment methods usable for it (Shopier-linked packages only offer Shopier).
GET
/
credits
/
packages
/
{id}
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"package": {
"id": 123,
"name": "<string>",
"image": "<string>",
"details": "<string>",
"amount": 123,
"amountFormatted": "<string>",
"bonus": 123,
"price": 123,
"priceFormatted": "<string>",
"discounted": true,
"discountedPrice": 123,
"discountedPriceFormatted": "<string>",
"discountPercent": 123,
"stock": 123,
"subtotal": 123,
"discount": 123,
"tax": 123,
"total": 123,
"totalFormatted": "<string>",
"subtotalFormatted": "<string>",
"discountFormatted": "<string>",
"taxFormatted": "<string>"
},
"paymentGateways": [
{
"slug": "<string>",
"name": "<string>",
"title": "<string>",
"currency": "<string>",
"hasFee": true,
"transactionFee": 123,
"fixedFee": 123
}
],
"showTermsCheckbox": true
},
"message": "<string>",
"meta": {
"seo": {
"page": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>"
}
}
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "CONFLICT",
"message": "..."
}
}