Initiate client settlement
POST/v2/client/balance/settlement
Initiates a settlement by deducting a specified amount with a fee applied.
Headers
Name
Value
Content-Type
application/json
x-api-key
<token>
Body
Name
Type
Description
wallet
string (required)
The wallet identifier for settlement.
amount
number (required)
The amount to be settled, with a minimum value of 100. min. 100
Пример Body
[
{
"id": 123,
"extID": "example-ext-id",
"requisite": "+1234567890",
"createdAt": "2025-01-01T00:00:00.000Z",
"expiresAt": "2025-12-31T23:59:59.999Z",
"amount": 1000,
"amountInUsdt": 10.5,
"paymentMethod": "cross",
"status": "success"
}
]Response
{
"message": "Settlement initiated successfully",
"data": {
"id": 123,
"wallet": "wallet_example_1",
"amount": 95,
"status": "success",
"fee": 5,
"total_deducted": 100
}
}{
"error": "Invalid request parameters"
}{
"error": "Unauthorized"
}{
"error": "Internal server error"
}Last updated