Skip to Content
MinexonMinexon

wallet.options

Returns top-up packages, limits and payment options.

GET/api/v1/{locale}/wallet/top-up

API scope wallet.options

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/wallet/top-up"

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.
accountWalletobject or nullConditionalCurrent account wallet.
packagesobject | arrayRequiredTop-up packages by package ID.
selectedstringRequiredSelected package ID or custom.
amountJSON valueConditionalValue determined by screen and configuration.
paymentMethodsobject | arrayRequiredConfigured payment methods and pricing terms keyed by ID.
paymentDisplayobjectRequiredDisplay currency and conversion ratio.
amountTermsstringRequiredDisplay currency validation token for a custom amount.
paymentJSON valueConditionalValue determined by screen and configuration.
checkoutAgreementobject | nullConditionalConfigured agreement and acceptance token.
agreementAcceptedbooleanConditionalAcceptance state for the current agreement.
promoAppliedstring | nullConditionalApplied top-up promotion.
promoInputJSON valueConditionalValue determined by screen and configuration.
promoFocusJSON valueConditionalValue determined by screen and configuration.
promoPercentJSON valueConditionalValue determined by screen and configuration.
promoFixedJSON valueConditionalValue determined by screen and configuration.
promoMinimumJSON valueConditionalValue determined by screen and configuration.
bonusRulesarrayRequiredTop-up bonus rules.
quoteobject | nullRequiredQuote held in the session. Its id is used for confirmation.
displayMinimumintegerRequiredLower limit in minor units of the display currency.
displayMaximumintegerRequiredUpper limit in minor units of the display currency.
minimumintegerRequiredLower limit in minor units of the site currency.
maximumintegerRequiredUpper limit in minor units of the site currency.
Nested fields
FieldTypeRequirementDescription
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",
    "accountWallet": {},
    "packages": {},
    "amount": "100.00"
  }
}

Flow and error cases

Shared error and authentication contract