バランス
Updated:
エンドポイント:
このリクエストにより、お客様の個人口座の利用可能残高を取得します。
GEThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/balance/get
パスパラメータ
名前 | 値 | 説明 |
|---|---|---|
承認 |
|
例
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/balance/get回答
{
"status": "success",
"data": {
"summ": 10
},
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}残高を補充する
このリクエストにより、残高を補充することができます。
POSThttps://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/balance/add
パスパラメータ
名前 | 値 | 説明 |
|---|---|---|
承認 |
| お客様の個人用APIキー(入手方法) |
リクエスト本文
名前 | 種類 | 説明 |
|---|---|---|
summ | 番号 | 補充したい金額 |
paymentId | 文字列 | 以下のリストから選択した決済方法のID |
例
https://proxy-seller.com/personal/api/v2/{YourApiKey}/balance/add回答
{
"status": "success",
"data": {
"url": "https://front-v2.proxy-seller.com/payment/replenishment/?amount=50&result=success"
},
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Set existed [paymentId]",
"code": 0,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Set [summ > 1]",
"code": 0,
"customData": null
}
]
}決済システム
このリクエストでは、残高を補充するために利用可能な決済システムが表示されます。
GEThttps://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/balance/payments/list
パスパラメータ
名前 | 値 | 説明 |
|---|---|---|
承認 |
| お客様の個人用APIキー(入手方法) |
例
https://proxy-seller.com/personal/api/v2/{YourApiKey}/balance/payments/list回答
{
"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": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}