Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###### key ######
- get
- ###### value ######
- {
- tags: [
- "rest-api",
- ],
- summary: "accountInfo",
- description: "Get current account information",
- operationId: "accountUsingGET_1",
- produces: [
- "*/*",
- ],
- parameters: [{
- name: "recvWindow",
- in: "query",
- description: "recvWindow cannot be greater than 60000",
- required: false,
- type: "integer",
- default: 5000,
- format: "int64",
- allowEmptyValue: false,
- },
- {
- name: "timestamp",
- in: "query",
- description: "Timestamp in milliseconds",
- required: true,
- type: "integer",
- format: "int64",
- allowEmptyValue: false,
- },
- {
- name: "X-MBX-APIKEY",
- in: "header",
- description: "X-MBX-APIKEY",
- required: true,
- type: "string",
- },
- {
- name: "showZeroBalance",
- in: "query",
- description: "showZeroBalance",
- required: false,
- type: "boolean",
- },
- {
- name: "signature",
- in: "query",
- description: "signature",
- required: true,
- type: "string",
- },
- ],
- responses: {
- "200": {
- description: "Example: {
- "status": "OK",
- "correlationId": "2",
- "payload": {
- "makerCommission": 0.20,
- "takerCommission": 0.20,
- "buyerCommission": 0.20,
- "sellerCommission": 0.20,
- "canTrade": true,
- "canWithdraw": true,
- "canDeposit": true,
- "updateTime": 1586935521,
- "balances": [{
- "accountId": "2376104765040206",
- "collateralCurrency": true,
- "asset": "BYN",
- "free": 0.0,
- "locked": 0.0,
- "default": false
- },
- {
- "accountId": "2376109060084932",
- "collateralCurrency": true,
- "asset": "USD",
- "free": 515.59092523,
- "locked": 0.0,
- "default": true
- }
- ]
- }
- }
- ",
- schema: {
- $ref: "#/definitions/AccountResponse",
- },
- },
- "401": {
- description: "Unauthorized",
- },
- "403": {
- description: "Forbidden",
- },
- "404": {
- description: "Not Found",
- },
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement