> For the complete documentation index, see [llms.txt](https://docs.newlandsgate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.newlandsgate.com/api-documentation/models.md).

# Models

## The balancehistory.Type object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"balancehistory.Type":{"enum":["payout","editPayout","commission","platformFee","topUp","withdrawal","payoutBlock","payoutUnblock","safetyDepositDeduction","safetyDepositTopUp","safetyDepositWithdrawal"],"type":"string"}}}}
```

## The bank.BanksResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"bank.BanksResponse":{"properties":{"banks":{"items":{"$ref":"#/components/schemas/bank.Response"},"type":"array"}},"type":"object"},"bank.Response":{"properties":{"code":{"type":"string"},"name_en":{"type":"string"},"name_ru":{"type":"string"}},"type":"object"}}}}
```

## The bank.Response object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"bank.Response":{"properties":{"code":{"type":"string"},"name_en":{"type":"string"},"name_ru":{"type":"string"}},"type":"object"}}}}
```

## The currency.Currency object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"}}}}
```

## The internal\_controller\_balancehistory\_v1.Response object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"internal_controller_balancehistory_v1.Response":{"properties":{"amount":{"type":"string"},"balance_after":{"type":"string"},"balance_before":{"type":"string"},"created_at":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"frozen_balance_after":{"type":"string"},"frozen_balance_before":{"type":"string"},"merchant_id":{"type":"string"},"order_id":{"type":"string"},"type":{"$ref":"#/components/schemas/balancehistory.Type"},"uuid":{"type":"string"}},"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"},"balancehistory.Type":{"enum":["payout","editPayout","commission","platformFee","topUp","withdrawal","payoutBlock","payoutUnblock","safetyDepositDeduction","safetyDepositTopUp","safetyDepositWithdrawal"],"type":"string"}}}}
```

## The internal\_controller\_merchant\_v1.Response object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"internal_controller_merchant_v1.Response":{"properties":{"balance":{"type":"string"},"email":{"type":"string"},"enabled_on_ui":{"type":"boolean"},"fiat_balances":{"$ref":"#/components/schemas/v1.FiatBalancesResponse"},"frozen_balance":{"type":"string"},"mfa_enabled":{"type":"boolean"},"name":{"type":"string"},"payment_redirect_url":{"type":"string"},"payout_ttl_sec":{"type":"integer"},"payout_url_callback":{"type":"string"},"percent_tier_1":{"type":"number"},"percent_tier_2":{"type":"number"},"percent_tier_3":{"type":"number"},"percent_tier_4":{"type":"number"},"percent_tier_5":{"type":"number"},"receipt_formats":{"type":"string"},"reverse_integration":{"type":"boolean"},"safety_deposit":{"type":"string"},"status":{"$ref":"#/components/schemas/merchant.Status"},"target_deposit":{"type":"string"},"telegram_id":{"type":"string"},"total_balance":{"type":"string"},"url_callback":{"type":"string"},"uuid":{"type":"string"}},"type":"object"},"v1.FiatBalancesResponse":{"properties":{"balance":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"frozen_balance":{"type":"string"},"safety_deposit":{"type":"string"},"target_deposit":{"type":"string"},"total_balance":{"type":"string"}},"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"},"merchant.Status":{"enum":["active","blocked","deleted"],"type":"string"}}}}
```

## The merchant.Status object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"merchant.Status":{"enum":["active","blocked","deleted"],"type":"string"}}}}
```

## The models.ErrorResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"models.ErrorResponse":{"properties":{"error":{"type":"string"}},"type":"object"}}}}
```

## The order.Status object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"order.Status":{"enum":["pending","inProgress","inReview","cancellationRequested","traderNotFound","timeout","completed","canceled"],"type":"string"}}}}
```

## The requisite.Type object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"requisite.Type":{"enum":["SBP","card","accountNumber","internalTransfer","internalTransferMobile","phoneTopUp","QR","internalTransferAccountNumber","mobileMoney"],"type":"string"}}}}
```

## The v1.CancelPayoutResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"v1.CancelPayoutResponse":{"properties":{"status":{"type":"string"},"uuid":{"type":"string"}},"type":"object"}}}}
```

## The v1.CreatePayoutRequest object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"v1.CreatePayoutRequest":{"properties":{"amount":{"type":"string"},"bank_code":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"customer_name":{"type":"string"},"customer_requisite":{"type":"string"},"customer_requisite_card":{"maxLength":100,"type":"string"},"idempotency_key":{"maxLength":255,"minLength":1,"type":"string"},"merchant_order_id":{"type":"string"},"payment_redirect_url":{"type":"string"},"requisite_type":{"$ref":"#/components/schemas/requisite.Type"},"reverse_callback_url":{"type":"string"}},"required":["amount","customer_requisite","idempotency_key","requisite_type"],"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"},"requisite.Type":{"enum":["SBP","card","accountNumber","internalTransfer","internalTransferMobile","phoneTopUp","QR","internalTransferAccountNumber","mobileMoney"],"type":"string"}}}}
```

## The v1.CreatePayoutResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"v1.CreatePayoutResponse":{"properties":{"amount":{"type":"string"},"amount_usdt":{"type":"string"},"bank_code":{"type":"string"},"created_at":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"customer_name":{"type":"string"},"customer_requisite":{"type":"string"},"customer_requisite_card":{"type":"string"},"exchange_rate":{"type":"string"},"expires_at":{"type":"string"},"frozen_balance":{"type":"string"},"merchant_commission":{"type":"string"},"merchant_id":{"type":"string"},"requisite_type":{"$ref":"#/components/schemas/requisite.Type"},"status":{"$ref":"#/components/schemas/order.Status"},"uuid":{"type":"string"}},"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"},"requisite.Type":{"enum":["SBP","card","accountNumber","internalTransfer","internalTransferMobile","phoneTopUp","QR","internalTransferAccountNumber","mobileMoney"],"type":"string"},"order.Status":{"enum":["pending","inProgress","inReview","cancellationRequested","traderNotFound","timeout","completed","canceled"],"type":"string"}}}}
```

## The v1.PagedResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"v1.PagedResponse":{"properties":{"balance_history":{"items":{"$ref":"#/components/schemas/internal_controller_balancehistory_v1.Response"},"type":"array"},"pages_total":{"type":"integer"}},"type":"object"},"internal_controller_balancehistory_v1.Response":{"properties":{"amount":{"type":"string"},"balance_after":{"type":"string"},"balance_before":{"type":"string"},"created_at":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"frozen_balance_after":{"type":"string"},"frozen_balance_before":{"type":"string"},"merchant_id":{"type":"string"},"order_id":{"type":"string"},"type":{"$ref":"#/components/schemas/balancehistory.Type"},"uuid":{"type":"string"}},"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"},"balancehistory.Type":{"enum":["payout","editPayout","commission","platformFee","topUp","withdrawal","payoutBlock","payoutUnblock","safetyDepositDeduction","safetyDepositTopUp","safetyDepositWithdrawal"],"type":"string"}}}}
```

## The v1.PayoutMerchantResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"v1.PayoutMerchantResponse":{"properties":{"amount":{"type":"string"},"amount_usdt":{"type":"string"},"bank_code":{"type":"string"},"created_at":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"customer_name":{"type":"string"},"customer_requisite":{"type":"string"},"customer_requisite_card":{"type":"string"},"exchange_rate":{"type":"string"},"expires_at":{"type":"string"},"merchant_commission":{"type":"string"},"merchant_id":{"type":"string"},"merchant_order_id":{"type":"string"},"payment_redirect_url":{"type":"string"},"receipt":{"type":"string"},"receipts":{"items":{"type":"string"},"type":"array"},"requisite_type":{"$ref":"#/components/schemas/requisite.Type"},"reverse_callback_url":{"type":"string"},"status":{"$ref":"#/components/schemas/order.Status"},"sub_merchant_id":{"type":"string"},"uuid":{"type":"string"}},"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"},"requisite.Type":{"enum":["SBP","card","accountNumber","internalTransfer","internalTransferMobile","phoneTopUp","QR","internalTransferAccountNumber","mobileMoney"],"type":"string"},"order.Status":{"enum":["pending","inProgress","inReview","cancellationRequested","traderNotFound","timeout","completed","canceled"],"type":"string"}}}}
```

## The v1.FiatBalancesResponse object

```json
{"openapi":"3.1.1","info":{"title":"Panda Pay API","version":"1.0"},"components":{"schemas":{"v1.FiatBalancesResponse":{"properties":{"balance":{"type":"string"},"currency":{"$ref":"#/components/schemas/currency.Currency"},"frozen_balance":{"type":"string"},"safety_deposit":{"type":"string"},"target_deposit":{"type":"string"},"total_balance":{"type":"string"}},"type":"object"},"currency.Currency":{"enum":["USDT","RUB","AZN","KGS","KZT","TJS","UZS","ARS","TRY","GEL","XOF","KES","XAF","VND","CNY","MNT","LAK","IDR","PHP","BRL"],"type":"string"}}}}
```
