Last updated 1 year ago
Balances of merchant in the payment system
Get merchant transactions
Converts funds to the inputted wallet
Withdraw funds funds from the inputted wallet
Get user balances response
GET /api/v2/balances HTTP/1.1 Host: publicoffice.lemanpay.net X-LP-ClientId: YOUR_API_KEY Accept: */*
Success
{ "userAccountList": [ { "id": 1, "accountType": "Trade", "balanceList": [ { "currencyId": 1, "currencyName": "text", "currencyTitle": "text", "availableBalance": 1, "frozenBalance": 1, "cumulativeAvailableBalance": 1, "cumulativeFrozenBalance": 1 } ], "suspended": true, "takerFee": 1, "makerFee": 1, "takerReward": 1, "makerReward": 1, "updated": "2025-04-29T03:53:31.408Z", "favoriteCurrencyId": 1 } ] }
10
0
GET /api/v2/balances/transactions HTTP/1.1 Host: publicoffice.lemanpay.net X-LP-ClientId: YOUR_API_KEY Accept: */*
{ "status": "Success", "result": { "items": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "orderId": "123e4567-e89b-12d3-a456-426614174000", "provider": "text", "method": "text", "type": "Deposit", "status": "New", "created": 1, "amount": 1, "rate": 1, "fee": 1, "currency": "text", "currencyDest": "text", "paymentId": "text", "receiver": "text", "payload": "text", "confirmations": 1, "confirmationsMax": 1, "estimated": 1, "statusList": [ { "status": "New", "comment": "text", "created": 1 } ] } ], "total": 1 }, "error": { "code": 1, "message": "text" } }
POST /api/v2/balances/convert HTTP/1.1 Host: publicoffice.lemanpay.net X-LP-ClientId: YOUR_API_KEY Content-Type: application/json-patch+json Accept: */* Content-Length: 38 { "from": "text", "to": "text", "amount": 1 }
{}
PUT /v2/merchant/Owner/{orderId}/withdrawal HTTP/1.1 Host: publicoffice.lemanpay.net X-LP-ClientId: YOUR_API_KEY Content-Type: application/json-patch+json Accept: */* Content-Length: 110 { "receiver": "text", "payload": "text", "provider": "text", "currency": "text", "method": "text", "rate": 1, "rateTime": 1 }
{ "status": "Success", "error": { "code": 1, "message": "text" } }