Skip to content

Commit 4e806c1

Browse files
Merge pull request #201 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 09d62b1 + 1c2648c commit 4e806c1

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

api.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31486,6 +31486,27 @@ paths:
3148631486
application/json:
3148731487
schema:
3148831488
$ref: '#/components/schemas/PlatformError'
31489+
/api/v2/wallet/solvency-data:
31490+
get:
31491+
summary: Get proof of solvency data.
31492+
description: Get proof of solvency data for Go Accounts. This data consists of the list of supported assets (for proof of solvency), the total liabilities for those assets, BitGo's total reserves for those assets, and the ratio of reserves to liabilities for each asset.
31493+
operationId: v2.wallet.solvency.data.get
31494+
tags:
31495+
- Solvency
31496+
parameters: []
31497+
responses:
31498+
'200':
31499+
description: OK
31500+
content:
31501+
application/json:
31502+
schema:
31503+
$ref: '#/components/schemas/SolvencyData'
31504+
'500':
31505+
description: Internal Server Error
31506+
content:
31507+
application/json:
31508+
schema:
31509+
$ref: '#/components/schemas/PlatformError'
3148931510
/api/v2/wallets:
3149031511
get:
3149131512
summary: List wallets
@@ -54308,6 +54329,32 @@ components:
5430854329
- pendingChainInitialization
5430954330
- minimumFunding
5431054331
- trustedTokens
54332+
SolvencyData:
54333+
title: SolvencyData
54334+
type: object
54335+
description: 'Solvency data schema consists of: - assets: array of supported asset symbols - liabilities: array of total liabilities for each asset - reserves: array of total reserves for each asset - ratios: ratio of reserves to liabilities for each asset'
54336+
properties:
54337+
assets:
54338+
type: array
54339+
items:
54340+
type: string
54341+
liabilities:
54342+
type: array
54343+
items:
54344+
type: string
54345+
reserves:
54346+
type: array
54347+
items:
54348+
type: string
54349+
ratios:
54350+
type: array
54351+
items:
54352+
type: number
54353+
required:
54354+
- assets
54355+
- liabilities
54356+
- reserves
54357+
- ratios
5431154358
SpendingLimits:
5431254359
type: object
5431354360
additionalProperties:

0 commit comments

Comments
 (0)