Wallet

Balances

Balances of merchant in the payment system

get
Authorizations
Query parameters
dataany | nullableOptional
Responses
200
Success
application/json
get
GET /api/v2/balances HTTP/1.1
Host: publicoffice.lemanpay.net
X-LP-ClientId: YOUR_API_KEY
Accept: */*
{
  "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-07-12T01:52:25.156Z",
      "favoriteCurrencyId": 1
    }
  ]
}

Transactions

Get merchant transactions

get
Authorizations
Query parameters
currencystring[] | nullableOptional
providerstring[] | nullableOptional
methodstring[] | nullableOptional
amountFromnumber · double | nullableOptional
amountTonumber · double | nullableOptional
createdFrominteger · int64 | nullableOptional
createdTointeger · int64 | nullableOptional
textstring | nullableOptional
limitinteger · int32OptionalDefault: 10
offsetinteger · int32OptionalDefault: 0
Responses
200
Success
application/json
get
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"
  }
}

Convert balance

Converts funds to the inputted wallet

post
Authorizations
Body
fromstring · max: 8Required
tostring · max: 8Required
amountnumber · double | nullableOptional
Responses
200
Success
application/json
Responseobject
post
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
}
{}

Withdraw

Withdraw funds funds from the inputted wallet

put
Authorizations
Path parameters
orderIdstring · uuidRequired
Body
receiverstring | nullableOptional
payloadstring | nullableOptional
providerstring | nullableOptional
currencystring | nullableOptional
methodstring | nullableOptional
ratenumber · double | nullableOptional
rateTimeinteger · int64 | nullableOptional
Responses
200
Success
put
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"
  }
}

Last updated