Skip to content

Commit 9a09662

Browse files
Merge pull request #140 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 2246e35 + 0b0b5ca commit 9a09662

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

api.yaml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17490,13 +17490,15 @@ paths:
1749017490
schema:
1749117491
$ref: '#/components/schemas/Id'
1749217492
- name: orgId
17493-
description: The organization ID by which to filter the user's enterprises.
17493+
description: The organization ID to filter the users enterprises.
1749417494
in: query
17495+
required: false
1749517496
schema:
1749617497
type: string
1749717498
- name: maxEnterprises
1749817499
description: Specifies the maximum number of enterprises to return. An organization ID must be provided. The maximum limit is 50 enterprises.
1749917500
in: query
17501+
required: false
1750017502
schema:
1750117503
type: integer
1750217504
responses:
@@ -40595,6 +40597,12 @@ components:
4059540597
type: array
4059640598
items:
4059740599
$ref: '#/components/schemas/AuditableItem'
40600+
EnterpriseKycState:
40601+
type: string
40602+
enum:
40603+
- unverified
40604+
- approved
40605+
- rejected
4059840606
EnterpriseMember:
4059940607
title: EnterpriseMember
4060040608
type: string
@@ -50444,6 +50452,9 @@ components:
5044450452
allOf:
5044550453
- $ref: '#/components/schemas/ActionType'
5044650454
description: The type of the action
50455+
approvalsRequired:
50456+
type: number
50457+
description: The number of approvals required
5044750458
userIds:
5044850459
type: array
5044950460
items:
@@ -50491,6 +50502,8 @@ components:
5049150502
- getCustodianApproval
5049250503
- getIdVerification
5049350504
- noop
50505+
approvalsRequired:
50506+
$ref: '#/components/schemas/ApprovalsRequired'
5049450507
userIds:
5049550508
description: For a final approver action, who can approve
5049650509
type: array
@@ -57186,15 +57199,22 @@ components:
5718657199
state:
5718757200
type: string
5718857201
example: New York
57189-
kycStatus:
57190-
type: string
57191-
example: approved
57192-
description: user's overall KYC status
57193-
enum:
57194-
- approved
57195-
- pending
57196-
- rejected
57197-
- unverified
57202+
enterprise:
57203+
type: array
57204+
description: enterprises associated with the user
57205+
items:
57206+
type: object
57207+
properties:
57208+
beneficialOwner:
57209+
type: boolean
57210+
acceptedInvite:
57211+
type: boolean
57212+
id:
57213+
$ref: '#/components/schemas/Id'
57214+
kycState:
57215+
$ref: '#/components/schemas/EnterpriseKycState'
57216+
organization:
57217+
$ref: '#/components/schemas/Id'
5719857218
User2:
5719957219
title: User
5720057220
allOf:

0 commit comments

Comments
 (0)