Skip to content

Commit 66c44de

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent 47d6b81 commit 66c44de

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

api.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18534,6 +18534,31 @@ paths:
1853418534
application/json:
1853518535
schema:
1853618536
$ref: '#/components/schemas/PlatformError3'
18537+
/api/v2/{coin}/wallet/{walletId}/depositinfo:
18538+
get:
18539+
tags:
18540+
- Bank account
18541+
summary: Get deposit information
18542+
description: Collects all information needed for a deposit.
18543+
operationId: v2.wallet.depositinfo
18544+
parameters:
18545+
- $ref: '#/components/parameters/pathCoin'
18546+
- $ref: '#/components/parameters/pathWalletId'
18547+
responses:
18548+
'200':
18549+
description: OK
18550+
content:
18551+
application/json:
18552+
schema:
18553+
$ref: '#/components/schemas/Deposit'
18554+
'400':
18555+
description: Bad Request
18556+
content:
18557+
application/json:
18558+
schema:
18559+
oneOf:
18560+
- $ref: '#/components/schemas/PlatformError3'
18561+
- $ref: '#/components/schemas/InvalidWalletId'
1853718562
/api/v2/{coin}/wallet/{walletId}/transfer/{transferId}:
1853818563
get:
1853918564
tags:
@@ -40152,6 +40177,26 @@ components:
4015240177
type: string
4015340178
required:
4015440179
- txId
40180+
Deposit:
40181+
type: object
40182+
properties:
40183+
toAddress:
40184+
type: string
40185+
description: The address the deposit will be received at
40186+
example: 1234567890ABCDEF-XJBCOEF
40187+
valueString:
40188+
allOf:
40189+
- $ref: '#/components/schemas/IntegerString'
40190+
description: The value (in cents/base units) of the deposit
40191+
token:
40192+
type: string
40193+
description: If this is a token entry, the token's symbol
40194+
example: ousd
40195+
toBankAccount:
40196+
$ref: '#/components/schemas/BankAccountRequest'
40197+
required:
40198+
- toAddress
40199+
- token
4015540200
DestinationTypeCoinConditionParameter:
4015640201
title: Asset
4015740202
type: object

0 commit comments

Comments
 (0)