Easysim.mn Merchant API Doc
  1. [Merchant] Balance
Easysim.mn Merchant API Doc
  • eSIM API гарын авлага
  • [Merchant] Auth
    • Нэвтрэх
      POST
  • [Merchant] Demo
    • List demo countries with eSIM pricing
      POST
    • Get all demo countries
      GET
    • List demo countries
      POST
    • List demo eSIMs for a country
      POST
    • List demo eSIMs
      POST
    • Create demo order
      POST
    • Get order details
      GET
    • List demo orders
      POST
  • [Merchant] Balance
    • Баланс шалгах
      GET
    • Балансын түүх
      POST
    • Баланс цэнэглэх
      POST
  • [Merchant] Service
    • Улсуудын жагсаалт (үнэтэй)
      POST
    • Улсуудын жагсаалт (бүх улс)
      GET
    • Улсуудын жагсаалт (хуудаслалттай)
      POST
    • Улсын eSIM жагсаалт
      POST
    • eSIM жагсаалт
      POST
    • Get merchant statistics
      GET
    • Шинэ захиалга үүсгэх
      POST
    • Захиалгын жагсаалт
      POST
    • Захиалгын дэлгэрэнгүй
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
    • Schemas
      • admin.ListContinentParams
      • admin.ListCountryParams
      • admin.ListCustomerParams
      • admin.ListFaqParams
      • admin.ListHomeBannerParams
      • admin.ListOrderParams
      • admin.ListMerchantParams
      • admin.ListPromoParams
      • admin.LoginParams
      • admin.LoginResult
      • admin.UpdateContinentParams
      • admin.UpdateCountryParams
      • admin.SendEbarimt
      • admin.UpdateCustomerParams
      • admin.UpdateFaqParams
      • admin.UpdateHomeBannerParams
      • admin.UpdateOrderParams
      • admin.UpdatePromoParams
      • controllers.CountryResponse
      • admin.UpdateMerchantParams
      • controllers.CountrySim
      • controllers.OrderCreateParam
      • controllers.OrderDetail
      • customer.ConfirmParams
      • customer.ForgotPasswordParam
      • customer.LoginParams
      • customer.LoginResult
      • customer.SocialLoginParams
      • database.Continent
      • database.Country
      • database.Customer
      • database.Employee
      • database.Esim
      • database.File
      • database.Merchant
      • database.DemoEsim
      • database.Order
      • database.Ebarimt
      • database.PaymentStatus
      • database.Promo
      • esim.AccountBalanceResponse
      • esim.AccountList
      • esim.OrderListResponse
      • database.MerchantBalanceHistory
      • esim.SimProfileInfoResponse
      • database.MerchantOrder
      • esim.SimVolumeFlowResponse
      • database.MerchantType
      • merchant.CountryResponse
      • merchant.CountrySim
      • merchant.EsimWithPrice
      • merchant.ListOrderParams
      • merchant.LoginParams
      • merchant.LoginResponse
      • merchant.OrderCreateParam
      • merchant.OrderDetail
      • structs.ErrorResponse
      • merchant.ArrayFilter
      • structs.PaginationResponse
      • merchant.BalanceHistoryResponse
      • structs.Response
      • merchant.BalanceResponse
      • structs.ResponseBody
      • structs.SortDate
      • structs.Sorter
      • merchant.CountrySimFilter
      • structs.SuccessResponse
      • merchant.DataFilter
      • merchant.ListBalanceHistoryParams
      • merchant.ListCountryParams
      • merchant.ListEsimParams
      • merchant.LoginResult
      • merchant.OrderCreateRequest
      • merchant.OrderDetailDemo
      • merchant.OrderListChildResponse
      • merchant.OrderListResponse
      • merchant.RegisterParams
      • merchant.StatsResponse
      • merchant.TopUpRequest
      • qpay.Deeplink
      • qpay.QPaySimpleInvoiceResponse
      • structs.Filter
      • structs.Sorting
  1. [Merchant] Balance

Балансын түүх

POST
/service/balance/history
Худалдагчийн балансын түүхийг авах

Request

Authorization
or
Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Balance history response
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/service/balance/history' \
--header 'Content-Type: application/json' \
--data-raw '{
    "current": 0,
    "filters": [
        {
            "id": "string",
            "value": [
                "string"
            ]
        }
    ],
    "pageSize": 0,
    "sorting": [
        {
            "desc": true,
            "id": "string"
        }
    ]
}'
Response Response Example
200 - Example 1
{
    "items": [
        {
            "after_balance": 0,
            "amount": 0,
            "before_balance": 0,
            "created_at": "string",
            "id": 0,
            "merchant": {
                "access_key": "string",
                "balance": 0,
                "company_name": "string",
                "company_reg_no": "string",
                "confirmation_code": "string",
                "contract_date": "string",
                "contract_file": {
                    "created_at": "string",
                    "extention": "string",
                    "file_name": "string",
                    "file_size": 0,
                    "id": 0,
                    "original_name": "string",
                    "physical_path": "string",
                    "updated_at": "string"
                },
                "contract_file_id": 0,
                "contract_number": "string",
                "created_at": "string",
                "description": "string",
                "discount_percent": 0,
                "email": "string",
                "id": 0,
                "is_active": true,
                "last_login_date": "string",
                "merchant_coupon_code": "string",
                "merchant_type": "affiliation",
                "phone": "string",
                "profile": {
                    "created_at": "string",
                    "extention": "string",
                    "file_name": "string",
                    "file_size": 0,
                    "id": 0,
                    "original_name": "string",
                    "physical_path": "string",
                    "updated_at": "string"
                },
                "profile_id": 0,
                "updated_at": "string"
            },
            "merchant_id": 0,
            "merchant_order": {
                "active_type": "string",
                "amount": 0,
                "apn_desc": "string",
                "countries": [
                    {
                        "continent_id": 0,
                        "created_at": "string",
                        "flag_svg": "string",
                        "id": 0,
                        "is_top": true,
                        "iso": "string",
                        "mcc": "string",
                        "name": "string",
                        "name_mn": "string",
                        "official": "string",
                        "order": 0,
                        "unsplash_url": "string",
                        "updated_at": "string"
                    }
                ],
                "country": {
                    "continent_id": 0,
                    "created_at": "string",
                    "flag_svg": "string",
                    "id": 0,
                    "is_top": true,
                    "iso": "string",
                    "mcc": "string",
                    "name": "string",
                    "name_mn": "string",
                    "official": "string",
                    "order": 0,
                    "unsplash_url": "string",
                    "updated_at": "string"
                },
                "country_id": 0,
                "created_at": "string",
                "data_limited": "string",
                "days": 0,
                "download_url": "string",
                "iccid": "string",
                "id": 0,
                "is_contract": "string",
                "is_demo": true,
                "is_renew": true,
                "last_modified_time": "string",
                "merchant": {
                    "access_key": "string",
                    "balance": 0,
                    "company_name": "string",
                    "company_reg_no": "string",
                    "confirmation_code": "string",
                    "contract_date": "string",
                    "contract_file": {
                        "created_at": "string",
                        "extention": "string",
                        "file_name": "string",
                        "file_size": 0,
                        "id": 0,
                        "original_name": "string",
                        "physical_path": "string",
                        "updated_at": "string"
                    },
                    "contract_file_id": 0,
                    "contract_number": "string",
                    "created_at": "string",
                    "description": "string",
                    "discount_percent": 0,
                    "email": "string",
                    "id": 0,
                    "is_active": true,
                    "last_login_date": "string",
                    "merchant_coupon_code": "string",
                    "merchant_type": "affiliation",
                    "phone": "string",
                    "profile": {
                        "created_at": "string",
                        "extention": "string",
                        "file_name": "string",
                        "file_size": 0,
                        "id": 0,
                        "original_name": "string",
                        "physical_path": "string",
                        "updated_at": "string"
                    },
                    "profile_id": 0,
                    "updated_at": "string"
                },
                "merchant_id": 0,
                "min_order_cycle": 0,
                "operator_desc": "string",
                "order_no": "string",
                "period_type": "string",
                "product_code": "string",
                "product_name": "string",
                "product_type": "string",
                "promo": {
                    "created_at": "string",
                    "discount": 0,
                    "id": 0,
                    "updated_at": "string"
                },
                "promo_id": 0,
                "renewing_order_uuid": "string",
                "rule_desc": "string",
                "settlement_price": 0,
                "updated_at": "string",
                "uuid": "string",
                "validity_period": 0
            },
            "merchant_order_id": 0,
            "type": "string",
            "updated_at": "string"
        }
    ],
    "total": 0
}
Modified at 2025-08-18 03:45:15
Previous
Баланс шалгах
Next
Баланс цэнэглэх
Built with