Skip to Content
MinexonMinexon

cart.review

Returns the cart review for an active checkout session.

GET/api/v1/{locale}/cart/payment

API scope cart.review

Request

Send Authorization: Bearer <key> with each request.

Preserve the same session cookie across the steps in this flow.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  "${MINEXON_BASE_URL}/api/v1/en/cart/payment"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
currencystringRequiredTransaction currency code.
cartCountintegerRequiredTotal store cart quantity.
quantitiesobject | arrayRequiredQuantities by product slug.
communityGoalobject or nullConditionalConfigured community goal.
categoryPathstring or nullConditionalStore category path.
linesobject | arrayRequiredStore cart lines.
marketLinesobject | arrayRequiredMarket cart lines.
marketTotalintegerRequiredMarket total in minor units.
marketBlockedbooleanConditionalWhether a market line blocks checkout.
stockBlockedbooleanConditionalCheckout blocked due to stock.
rankBlockedbooleanConditionalCheckout blocked due to rank requirements.
upgradeBlockedbooleanConditionalCheckout blocked due to an upgrade conflict.
subtotalintegerRequiredSubtotal in minor units.
merchandiseDiscountintegerRequiredMerchandise discount in minor units.
couponobject | nullConditionalCoupon and applicability status.
promoGiftobject | nullConditionalGift product granted by a coupon.
discountintegerRequiredCoupon discount in minor units.
discountedSubtotalintegerRequiredDiscounted subtotal in minor units.
vatRateJSON valueConditionalValue determined by screen and configuration.
vatintegerRequiredVAT in minor units.
checkoutTotalintegerRequiredCheckout total in minor units.
walletRestrictedbooleanConditionalWhether the player's wallet use is restricted.
couponErrorstring or nullConditionalError code from the last coupon action.
couponInputstringConditionalEntered coupon text.
checkoutAgreementobject | nullConditionalAgreement text and acceptance token, when configured.
agreementAcceptedbooleanConditionalAcceptance state for the current agreement.
couponMinimuminteger or nullConditionalMinimum cart amount for the coupon, if applicable.
availableCreditintegerRequiredAvailable credit in minor units.
siteWalletJSON valueConditionalValue determined by screen and configuration.
appliedCreditintegerRequiredApplied credit in minor units.
dueintegerRequiredAmount due in minor units.
useCreditJSON valueConditionalValue determined by screen and configuration.
allowBalancebooleanConditionalWhether balance can be used for this cart.
onlyBalancebooleanConditionalWhether the cart requires site balance.
paymentMethodsobject | arrayRequiredConfigured payment methods and pricing terms keyed by ID.
paymentDisplayJSON valueConditionalValue determined by screen and configuration.
paymentJSON valueConditionalValue determined by screen and configuration.
paymentSessionstring | nullConditionalCurrent payment session identifier.
checkoutErrorstring | nullConditionalError code from the last checkout attempt.
quotestringRequiredCart quote verification value.
Nested fields
FieldTypeRequirementDescription
lines[].product.idintegerConditionalField from this record, when available.
lines[].product.slugstring or nullConditionalField from this record, when available.
lines[].product.namestring or nullConditionalField from this record, when available.
lines[].product.descriptionJSON valueConditionalField from this record, when available.
lines[].product.description_htmlstring or nullConditionalField from this record, when available.
lines[].product.categoryJSON valueConditionalField from this record, when available.
lines[].product.serverJSON valueConditionalField from this record, when available.
lines[].product.stockinteger or nullConditionalField from this record, when available.
lines[].product.durationDaysinteger or nullConditionalNumber of days for a timed product.
lines[].product.currencystring or nullConditionalField from this record, when available.
lines[].product.pricesobjectConditionalSelling prices keyed by currency code.
lines[].product.originalPricesobjectConditionalPrices before discount, keyed by currency code.
lines[].product.requiredRankJSON valueConditionalField from this record, when available.
lines[].product.rankLockedbooleanConditionalWhether the required rank blocks purchase.
lines[].product.purchaseLimitinteger or nullConditionalField from this record, when available.
lines[].product.kindJSON valueConditionalField from this record, when available.
lines[].product.imageJSON valueConditionalField from this record, when available.
lines[].product.imageSlugJSON valueConditionalField from this record, when available.
lines[].product.toneJSON valueConditionalField from this record, when available.
lines[].product.upgradeFromJSON valueConditionalField from this record, when available.
lines[].product.upgradeToJSON valueConditionalField from this record, when available.
lines[].product.discountPercentnumberConditionalField from this record, when available.
promoGift.product.idintegerConditionalField from this record, when available.
promoGift.product.slugstring or nullConditionalField from this record, when available.
promoGift.product.namestring or nullConditionalField from this record, when available.
promoGift.product.descriptionJSON valueConditionalField from this record, when available.
promoGift.product.description_htmlstring or nullConditionalField from this record, when available.
promoGift.product.categoryJSON valueConditionalField from this record, when available.
promoGift.product.serverJSON valueConditionalField from this record, when available.
promoGift.product.stockinteger or nullConditionalField from this record, when available.
promoGift.product.durationDaysinteger or nullConditionalNumber of days for a timed product.
promoGift.product.currencystring or nullConditionalField from this record, when available.
promoGift.product.pricesobjectConditionalSelling prices keyed by currency code.
promoGift.product.originalPricesobjectConditionalPrices before discount, keyed by currency code.
promoGift.product.requiredRankJSON valueConditionalField from this record, when available.
promoGift.product.rankLockedbooleanConditionalWhether the required rank blocks purchase.
promoGift.product.purchaseLimitinteger or nullConditionalField from this record, when available.
promoGift.product.kindJSON valueConditionalField from this record, when available.
promoGift.product.imageJSON valueConditionalField from this record, when available.
promoGift.product.imageSlugJSON valueConditionalField from this record, when available.
promoGift.product.toneJSON valueConditionalField from this record, when available.
promoGift.product.upgradeFromJSON valueConditionalField from this record, when available.
promoGift.product.upgradeToJSON valueConditionalField from this record, when available.
promoGift.product.discountPercentnumberConditionalField from this record, when available.
paymentMethods[].idintegerConditionalField from this record, when available.
paymentMethods[].namestring or nullConditionalField from this record, when available.
paymentMethods[].providerstring or nullConditionalField from this record, when available.
paymentMethods[].availablebooleanConditionalWhether the method is available for this operation and amount.
paymentMethods[].minimuminteger or stringConditionalField from this record, when available.
paymentMethods[].maximuminteger or string or nullConditionalField from this record, when available.
paymentMethods[].cashbacknumber or stringConditionalField from this record, when available.
paymentMethods[].pricingobjectConditionalField from this record, when available.
paymentMethods[].customerDetailsobject or nullConditionalName, phone and other details requested by the provider.
paymentMethods[].settlement_currencystring or nullConditionalSettlement currency sent to the provider.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "currency": "TRY",
    "cartCount": 1,
    "quantities": {},
    "communityGoal": {}
  }
}

Flow and error cases

Without an active checkout, next points to the cart.

Shared error and authentication contract