POST /api/v3/private/partner/payouts/preview HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Content-Type: application/json
{
"currency_id": 1,
"wallet": "test-wallet-123",
"amount": "10.12"
}
{
"state": 0,
"message": "<string>",
"result": {
"preview": {
"amount": {
"requested": "<string>",
"base": "<string>",
"base_currency": "<string>"
},
"currency": {
"id": 123,
"code": "<string>",
"payment": "<string>",
"designation": "<string>"
},
"fees": {
"percent": "<string>",
"fixed": "<string>"
},
"precision": 123,
"confirmation_required": true,
"calculated_at": "2023-11-07T05:31:56Z"
}
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}Partner
Preview a partner payout
Calculates the payout and fees using current conditions. The preview creates no payout request, reserves no balance and does not lock the quote.
POST
/
private
/
partner
/
payouts
/
preview
POST /api/v3/private/partner/payouts/preview HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Content-Type: application/json
{
"currency_id": 1,
"wallet": "test-wallet-123",
"amount": "10.12"
}
{
"state": 0,
"message": "<string>",
"result": {
"preview": {
"amount": {
"requested": "<string>",
"base": "<string>",
"base_currency": "<string>"
},
"currency": {
"id": 123,
"code": "<string>",
"payment": "<string>",
"designation": "<string>"
},
"fees": {
"percent": "<string>",
"fixed": "<string>"
},
"precision": 123,
"confirmation_required": true,
"calculated_at": "2023-11-07T05:31:56Z"
}
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}Русская версия
Sign the request with HMAC v2. Requires the
public-api:partner:payouts:read scope.
Get currency_id from the payout method list. Send amount as a decimal string in the balance base currency. Omitting amount previews a payout of the available balance.
The HTTP example uses test values. Substitute identifiers from your test installation and sign the data you actually send.
Related methods
POST /api/v3/private/partner/payouts/preview HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Content-Type: application/json
{
"currency_id": 1,
"wallet": "test-wallet-123",
"amount": "10.12"
}
Authorizations
Headers
Body
application/json