Skip to content

Commit 9a05ab2

Browse files
Merge pull request #109 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 617f945 + f09143b commit 9a05ab2

File tree

1 file changed

+209
-0
lines changed

1 file changed

+209
-0
lines changed

api.yaml

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23800,6 +23800,7 @@ paths:
2380023800
- updateWalletApprovalsRequired
2380123801
- custodialHotRetrySignTx
2380223802
- createUser
23803+
- updateTransferEntries
2380323804
- name: userId
2380423805
description: The user ID to filter by
2380523806
in: query
@@ -33801,6 +33802,7 @@ components:
3380133802
- updateWalletApprovalsRequired
3380233803
- custodialHotRetrySignTx
3380333804
- createUser
33805+
- updateTransferEntries
3380433806
AuditableItem:
3380533807
type: object
3380633808
properties:
@@ -35115,6 +35117,12 @@ components:
3511535117
- apiSecret
3511635118
- clientAccountId
3511735119
- companyRegistrationNumber
35120+
ClosedByUnion:
35121+
title: ClosedByUnion
35122+
type: string
35123+
enum:
35124+
- client
35125+
- admin
3511835126
Coin:
3511935127
title: Coin
3512035128
description: A cryptocurrency or token ticker symbol.
@@ -36378,6 +36386,88 @@ components:
3637836386
anyOf:
3637936387
- $ref: '#/components/schemas/WhitelistedAddressValue'
3638036388
- $ref: '#/components/schemas/NonWhitelistedAddressValue'
36389+
DisputeClosureOutput:
36390+
title: DisputeClosureOutput
36391+
type: object
36392+
properties:
36393+
id:
36394+
type: string
36395+
title: uuid
36396+
closedBy:
36397+
$ref: '#/components/schemas/ClosedByUnion'
36398+
userId:
36399+
type: string
36400+
minLength: 1
36401+
notes:
36402+
type: string
36403+
minLength: 1
36404+
adjustedSettlementTransfers:
36405+
$ref: '#/components/schemas/DisputedSettlementTransfersOutput'
36406+
required:
36407+
- id
36408+
- closedBy
36409+
- userId
36410+
- notes
36411+
- adjustedSettlementTransfers
36412+
DisputedSettlementTransfersOutput:
36413+
title: DisputedSettlementTransfersOutput
36414+
type: array
36415+
items:
36416+
type: object
36417+
properties:
36418+
id:
36419+
type: string
36420+
title: uuid
36421+
createdAt:
36422+
type: string
36423+
format: date-time
36424+
title: ISO Date String
36425+
updatedAt:
36426+
type: string
36427+
format: date-time
36428+
title: ISO Date String
36429+
currency:
36430+
type: string
36431+
minLength: 1
36432+
settlementId:
36433+
type: string
36434+
title: uuid
36435+
disputeClosureId:
36436+
type: string
36437+
title: uuid
36438+
quantity:
36439+
$ref: '#/components/schemas/NonZeroBigAmount'
36440+
txIds:
36441+
type: array
36442+
items:
36443+
type: string
36444+
minLength: 1
36445+
status:
36446+
$ref: '#/components/schemas/SettlementTransferStatus'
36447+
sourceTradingAccountId:
36448+
type: string
36449+
minLength: 1
36450+
sourceNetworkAccountId:
36451+
type: string
36452+
title: uuid
36453+
destinationTradingAccountId:
36454+
type: string
36455+
minLength: 1
36456+
destinationNetworkAccountId:
36457+
type: string
36458+
title: uuid
36459+
required:
36460+
- id
36461+
- createdAt
36462+
- updatedAt
36463+
- currency
36464+
- disputeClosureId
36465+
- quantity
36466+
- txIds
36467+
- status
36468+
- sourceTradingAccountId
36469+
- destinationTradingAccountId
36470+
- destinationNetworkAccountId
3638136471
DistributedCustody:
3638236472
title: DistributedCustody
3638336473
type: object
@@ -53577,6 +53667,19 @@ components:
5357753667
properties: {}
5357853668
- $ref: '#/components/schemas/V1AllocationsReleasedPayload'
5357953669
- $ref: '#/components/schemas/V1ErrorPayload'
53670+
V1AssignedDisputesWithClosureOutput:
53671+
title: V1AssignedDisputesWithClosureOutput
53672+
type: array
53673+
items:
53674+
allOf:
53675+
- type: object
53676+
properties:
53677+
settledInSettlementId:
53678+
type: string
53679+
title: uuid
53680+
required:
53681+
- settledInSettlementId
53682+
- $ref: '#/components/schemas/V1ClosedDisputeWithClosureOutput'
5358053683
V1ClearedAllocation:
5358153684
title: V1ClearedAllocation
5358253685
type: object
@@ -53674,9 +53777,15 @@ components:
5367453777
$ref: '#/components/schemas/V1SettlementOutput'
5367553778
settlementTransfers:
5367653779
$ref: '#/components/schemas/MaskedV1SettlementTransfersOutput'
53780+
settlingDisputes:
53781+
$ref: '#/components/schemas/V1AssignedDisputesWithClosureOutput'
53782+
settlementDisputes:
53783+
$ref: '#/components/schemas/V1DisputesWithClosureOutput'
5367753784
required:
5367853785
- settlement
5367953786
- settlementTransfers
53787+
- settlingDisputes
53788+
- settlementDisputes
5368053789
V1ClientGetSettlementTransfersOkPayload:
5368153790
title: V1ClientGetSettlementTransfersOkPayload
5368253791
type: object
@@ -53725,6 +53834,20 @@ components:
5372553834
$ref: '#/components/schemas/V1ClientsOutput'
5372653835
required:
5372753836
- client
53837+
V1ClosedDisputeWithClosureOutput:
53838+
title: V1ClosedDisputeWithClosureOutput
53839+
allOf:
53840+
- type: object
53841+
properties:
53842+
disputeClosureId:
53843+
type: string
53844+
title: uuid
53845+
disputeClosure:
53846+
$ref: '#/components/schemas/DisputeClosureOutput'
53847+
required:
53848+
- disputeClosureId
53849+
- disputeClosure
53850+
- $ref: '#/components/schemas/V1DisputeOutput'
5372853851
V1CompleteSettlementOutput:
5372953852
title: V1CompleteSettlementOutput
5373053853
type: object
@@ -53772,6 +53895,10 @@ components:
5377253895
type: boolean
5377353896
cutoffAt:
5377453897
type: string
53898+
format: date-time
53899+
title: ISO Date String
53900+
disputed:
53901+
type: boolean
5377553902
required:
5377653903
- id
5377753904
- partnerId
@@ -54082,6 +54209,70 @@ components:
5408254209
- $ref: '#/components/schemas/V1ConnectionWithOwnerAndTargetListResponse'
5408354210
required:
5408454211
- listingEntries
54212+
V1DisputeOutput:
54213+
title: V1DisputeOutput
54214+
type: object
54215+
properties:
54216+
id:
54217+
type: string
54218+
title: uuid
54219+
createdAt:
54220+
type: string
54221+
format: date-time
54222+
title: ISO Date String
54223+
updatedAt:
54224+
type: string
54225+
format: date-time
54226+
title: ISO Date String
54227+
connectionId:
54228+
type: string
54229+
title: uuid
54230+
disputedSettlementId:
54231+
type: string
54232+
title: uuid
54233+
settledInSettlementId:
54234+
type: string
54235+
title: uuid
54236+
userId:
54237+
type: string
54238+
minLength: 1
54239+
reason:
54240+
type: string
54241+
minLength: 1
54242+
retracted:
54243+
type: boolean
54244+
retractedBy:
54245+
type: string
54246+
minLength: 1
54247+
retractedAt:
54248+
type: string
54249+
format: date-time
54250+
title: ISO Date String
54251+
disputeClosureId:
54252+
type: string
54253+
title: uuid
54254+
retractedReason:
54255+
type: string
54256+
minLength: 1
54257+
required:
54258+
- id
54259+
- createdAt
54260+
- updatedAt
54261+
- connectionId
54262+
- disputedSettlementId
54263+
- userId
54264+
- reason
54265+
- retracted
54266+
V1DisputesWithClosureOutput:
54267+
title: V1DisputesWithClosureOutput
54268+
type: array
54269+
items:
54270+
allOf:
54271+
- type: object
54272+
properties:
54273+
disputeClosure:
54274+
$ref: '#/components/schemas/DisputeClosureOutput'
54275+
- $ref: '#/components/schemas/V1DisputeOutput'
5408554276
V1EnterpriseSupportedCurrenciesResponse:
5408654277
title: V1EnterpriseSupportedCurrenciesResponse
5408754278
type: object
@@ -54167,6 +54358,10 @@ components:
5416754358
type: boolean
5416854359
cutoffAt:
5416954360
type: string
54361+
format: date-time
54362+
title: ISO Date String
54363+
disputed:
54364+
type: boolean
5417054365
required:
5417154366
- id
5417254367
- partnerId
@@ -54244,9 +54439,15 @@ components:
5424454439
- sourceTradingAccountId
5424554440
- destinationTradingAccountId
5424654441
- destinationNetworkAccountId
54442+
settlingDisputes:
54443+
$ref: '#/components/schemas/V1AssignedDisputesWithClosureOutput'
54444+
settlementDisputes:
54445+
$ref: '#/components/schemas/V1DisputesWithClosureOutput'
5424754446
required:
5424854447
- settlement
5424954448
- settlementTransfers
54449+
- settlingDisputes
54450+
- settlementDisputes
5425054451
V1GlobalListingResponse:
5425154452
title: V1GlobalListingResponse
5425254453
type: object
@@ -54843,6 +55044,10 @@ components:
5484355044
type: boolean
5484455045
cutoffAt:
5484555046
type: string
55047+
format: date-time
55048+
title: ISO Date String
55049+
disputed:
55050+
type: boolean
5484655051
required:
5484755052
- id
5484855053
- partnerId
@@ -54913,6 +55118,10 @@ components:
5491355118
type: boolean
5491455119
cutoffAt:
5491555120
type: string
55121+
format: date-time
55122+
title: ISO Date String
55123+
disputed:
55124+
type: boolean
5491655125
required:
5491755126
- id
5491855127
- partnerId

0 commit comments

Comments
 (0)