Proxy-seller

余额与支付

Updated:

权限:account:read,account:write,计费:撰写

在本组中

工具

功能说明

get_balance

🟢read

当前余额以美元计。

list_payments

🟢read

外部支付方式(PayPal、银行卡、加密货币等)及其对应ID。

add_balance

💳pays

创建一个充值功能,并返回支付链接。

get_autotopup

🟢read

自动充值设置:已启用、阈值、金额、绑定卡、上次尝试。

set_autotopup

💳pays

开启或更改自动充值:当余额降至threshold,amount 将消耗绑定卡上的能量。

disable_autotopup

🟡write

关闭自动充值功能。

get_balance

🟢read-only · account:read

当前余额以美元计。

list_payments

🟢read-only · account:read

外部支付方式(PayPal、银行卡、加密货币等)及其ID。账户余额不作列示——该信息始终可通过paymentId: "balance".

add_balance

💳spends money · billing:write

通过外部支付方式为账户充值。已与账户绑定的银行卡将立即扣款;其他支付方式则会返回一个支付链接,需在浏览器中完成支付。

参数

类型

描述

summ 必填

number

数量,至少 1

paymentId 必填

字符串 | 整数

方法 ID 来自list_payments

get_autotopup

🟢read-only · account:read

自动充值设置:已启用、阈值、金额、绑定卡、上次尝试。

set_autotopup

💳spends money · billing:write

开启或更改自动充值:当余额降至threshold,amount 费用将计入已绑定的卡片。该卡片必须先在Proxy-Seller控制面板中完成绑定。

参数

类型

描述

threshold

number

美元

amount

number

美元

subscriptionId

字符串

绑定卡订阅;默认保留现有内容

disable_autotopup

🟡changes account state · account:write

关闭自动充值功能。相关设置将保留以便后续重新启用。无需任何参数。

后续步骤

On this page