Skip to main content

Replenish balance

Top up your account balance through the API.

This guide shows you how to top up your account balance through the API.

Every request uses your personal API key from your account dashboard (how to get your API key). In the examples below, replace YOUR_API_KEY with your own key.

⚠️ The last step creates a real payment.

Step 1 — Check the current balance

Check your current account balance.

Endpoint

GET https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/balance/get

Response

{
"status": "success",
"data": { "summ": 10 },
"errors": []
}

Step 2 — Choose a payment method

List the available payment systems and copy the id you want to use as paymentId.

Endpoint

GET https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/balance/payments/list

Response

{
"status": "success",
"data": {
"items": [
{ "id": "69e799e8497b2c153b33fadf", "name": "PayPal" },
{ "id": "69e799e8497b2c153b33fae0", "name": "Visa / MasterCard" },
{ "id": "69e799e8497b2c153b33fae8", "name": "USDT, USDC (ERC20)" },
{ "id": "69e799e8497b2c153b33fae9", "name": "TRX, TON, Matic, CGPT" },
{ "id": "69e799e8497b2c153b33faea", "name": "BUSD, BNB, USDC" },
{ "id": "69e799e8497b2c153b33faeb", "name": "USDT (TRC-20)" },
{ "id": "69e799e8497b2c153b33faed", "name": "Visa / MasterCard (PADDLE)" }
]
},
"errors": []
}

Step 3 — Replenish the balance (creates a real payment)

Replenish the balance with the amount and paymentId. The response returns a payment URL to complete the payment.

Endpoint

POST https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/balance/add

Request body

Name

Type

Description

summ

Number

The amount you want to replenish.

paymentId

String

Payment system ID from the list above.

Example

https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/balance/add

Response

{
"status": "success",
"data": {
"url": "https://front-v2.proxy-seller.com/payment/replenishment/?amount=50&result=success"
},
"errors": []
}

Optional — Set up auto top-up

Instead of topping up by hand, you can let the system recharge your balance automatically from a saved payment method whenever it drops below a threshold. This is optional and available in API v2 only.

Endpoint — read the current settings

GET https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/balance/autotopup/get

The response shows whether auto top-up is configured and enabled, its state, threshold, amount, saved payment method, limits, and the result of the last attempt.

Endpoint — change the settings

POST https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/balance/autotopup/set

Request body

Name

Type

Description

enabled

Boolean

Turn auto top-up on or off.

threshold

Number

Top-up is triggered when the balance falls below this value. Minimum 1.

amount

Number

Amount of each top-up. Minimum 5 and not less than threshold.

subscriptionId

String

ID of the saved payment method (paymentMethod.id from the GET response). Optional while only one card is saved.

dailyCountCap

Number

Your limit on top-ups per 24 hours. Minimum 1.

monthlyAmountCap

Number

Your limit on the total top-up amount per 30 days. Not less than amount.

Good to know:

  • Updates are partial: fields you omit keep their stored values, and the rules are checked against the stored settings combined with your request.

  • If you set no limits, the defaults are 5 top-ups per 24 hours and 500 per rolling 30 days.

  • After a series of failed charges, auto top-up pauses. Only sending "enabled": true explicitly resumes it; changing other fields does not.

  • If auto top-up is not enabled on the server, the API returns "Auto top-up is not available" (error code 49).

Full API reference

Did this answer your question?