Skip to content

Commit 1247312

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent b4e3cb3 commit 1247312

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

api.yaml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25643,6 +25643,14 @@ paths:
2564325643
- Accounts
2564425644
parameters:
2564525645
- $ref: '#/components/parameters/AccountIdPathParam'
25646+
- name: includeUnsettledInAvailable
25647+
in: query
25648+
description: Include unsettled trading balance in available balance. Withdrawals may be initiated from the unsettled available balance, but trading settlement must occur before the withdrawal can be processed. Default is false.
25649+
required: false
25650+
style: form
25651+
explode: true
25652+
schema:
25653+
type: boolean
2564625654
responses:
2564725655
'200':
2564825656
description: An array of account balances
@@ -25768,7 +25776,9 @@ paths:
2576825776
content:
2576925777
application/json:
2577025778
schema:
25771-
$ref: '#/components/schemas/Error'
25779+
oneOf:
25780+
- $ref: '#/components/schemas/Error'
25781+
- $ref: '#/components/schemas/ValidationError1'
2577225782
examples:
2577325783
invalidRequest:
2577425784
summary: Request is invalid
@@ -81477,6 +81487,35 @@ components:
8147781487
properties:
8147881488
failedValidations:
8147981489
type: object
81490+
ValidationError1:
81491+
required:
81492+
- error
81493+
- errorName
81494+
type: object
81495+
properties:
81496+
error:
81497+
type: object
81498+
properties:
81499+
currencySymbol:
81500+
type: string
81501+
description: The currency symbol for the validation error
81502+
message:
81503+
type: string
81504+
description: Human-readable error message
81505+
minQuantity:
81506+
type: string
81507+
description: Minimum quantity required
81508+
maxQuantity:
81509+
type: string
81510+
description: Maximum quantity allowed
81511+
errorName:
81512+
type: string
81513+
example:
81514+
errorName: backend:trade:invalidQuantity
81515+
error:
81516+
currencySymbol: USD
81517+
message: Amount must be at least 10 USD.
81518+
minQuantity: '10'
8148081519
ValidatorRegistrationIntent:
8148181520
title: ValidatorRegistrationIntent
8148281521
allOf:

0 commit comments

Comments
 (0)