Skip to Content
MinexonMinexon

store.receipt

Returns the current player’s own order receipt.

GET/api/v1/{locale}/store/orders/{number}

API scope store.receipt

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
numberstringRequiredOrder reference.

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/store/orders/MX-1042"

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.
orderobjectRequiredReceipt data for the order and its payment status.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "currency": "TRY",
    "order": {}
  }
}

Flow and error cases

Shared error and authentication contract