wallet.options
Returns top-up packages, limits and payment options.
GET
/api/v1/{locale}/wallet/top-upAPI scope wallet.options
Request
Send Authorization: Bearer <key> with each request.
Preserve the same session cookie across the steps in this flow.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request 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.
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
currency | string | Required | Transaction currency code. |
accountWallet | object or null | Conditional | Current account wallet. |
packages | object | array | Required | Top-up packages by package ID. |
selected | string | Required | Selected package ID or custom. |
amount | JSON value | Conditional | Value determined by screen and configuration. |
paymentMethods | object | array | Required | Configured payment methods and pricing terms keyed by ID. |
paymentDisplay | object | Required | Display currency and conversion ratio. |
amountTerms | string | Required | Display currency validation token for a custom amount. |
payment | JSON value | Conditional | Value determined by screen and configuration. |
checkoutAgreement | object | null | Conditional | Configured agreement and acceptance token. |
agreementAccepted | boolean | Conditional | Acceptance state for the current agreement. |
promoApplied | string | null | Conditional | Applied top-up promotion. |
promoInput | JSON value | Conditional | Value determined by screen and configuration. |
promoFocus | JSON value | Conditional | Value determined by screen and configuration. |
promoPercent | JSON value | Conditional | Value determined by screen and configuration. |
promoFixed | JSON value | Conditional | Value determined by screen and configuration. |
promoMinimum | JSON value | Conditional | Value determined by screen and configuration. |
bonusRules | array | Required | Top-up bonus rules. |
quote | object | null | Required | Quote held in the session. Its id is used for confirmation. |
displayMinimum | integer | Required | Lower limit in minor units of the display currency. |
displayMaximum | integer | Required | Upper limit in minor units of the display currency. |
minimum | integer | Required | Lower limit in minor units of the site currency. |
maximum | integer | Required | Upper limit in minor units of the site currency. |
Nested fields
| Field | Type | Requirement | Description |
|---|---|---|---|
paymentMethods[].id | integer | Conditional | Field from this record, when available. |
paymentMethods[].name | string or null | Conditional | Field from this record, when available. |
paymentMethods[].provider | string or null | Conditional | Field from this record, when available. |
paymentMethods[].available | boolean | Conditional | Whether the method is available for this operation and amount. |
paymentMethods[].minimum | integer or string | Conditional | Field from this record, when available. |
paymentMethods[].maximum | integer or string or null | Conditional | Field from this record, when available. |
paymentMethods[].cashback | number or string | Conditional | Field from this record, when available. |
paymentMethods[].pricing | object | Conditional | Field from this record, when available. |
paymentMethods[].customerDetails | object or null | Conditional | Name, phone and other details requested by the provider. |
paymentMethods[].settlement_currency | string or null | Conditional | Settlement currency sent to the provider. |
Selected fields from an example response
{
"data": {
"locale": "en",
"currency": "TRY",
"accountWallet": {},
"packages": {},
"amount": "100.00"
}
}