Skip to content

Commit 98fe933

Browse files
Merge pull request #133 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents c6e7d44 + 3bec3d7 commit 98fe933

File tree

1 file changed

+42
-4
lines changed

1 file changed

+42
-4
lines changed

api.yaml

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17489,6 +17489,18 @@ paths:
1748917489
required: true
1749017490
schema:
1749117491
$ref: '#/components/schemas/Id'
17492+
- name: orgId
17493+
description: The organization ID to filter the users enterprises.
17494+
in: query
17495+
required: false
17496+
schema:
17497+
type: string
17498+
- name: maxEnterprises
17499+
description: Specifies the maximum number of enterprises to return. An organization ID must be provided. The maximum limit is 50 enterprises.
17500+
in: query
17501+
required: false
17502+
schema:
17503+
type: integer
1749217504
responses:
1749317505
'200':
1749417506
description: OK
@@ -35268,7 +35280,7 @@ components:
3526835280
- oneOf:
3526935281
- $ref: '#/components/schemas/AddressString3'
3527035282
- $ref: '#/components/schemas/Id'
35271-
description: Either a valid address or a wallet or enterprise id. Must be unique in this whitelist.
35283+
description: A valid blockchain address, wallet ID, enterprise ID, or organization ID. Must be unique in this whitelist.
3527235284
metaData:
3527335285
type: object
3527435286
description: Any data about this entry that is not used to determine when to enforce the policy
@@ -35278,7 +35290,7 @@ components:
3527835290
description: A client-specified label for this entry. Label must be unique or not set.
3527935291
owner:
3528035292
type: string
35281-
description: The legal owner of the address/ wallet/ enterprise
35293+
description: The legal owner of the address, wallet, enterprise, or organization.
3528235294
example: Legal Owner LLC
3528335295
address:
3528435296
type: string
@@ -37069,7 +37081,9 @@ components:
3706937081
value:
3707037082
type: string
3707137083
description: |
37072-
Memo for Stellar or EOS. Type is only required for memos in Stellar transactions. The memo contains optional extra information that can also be used to identify payments in Stellar or EOS.
37084+
Extra transaction information for CSPR, EOS, HBAR, RUNE, STX, TON, XLM, and XRP. Required for XLM transactions.
37085+
37086+
Note: For XRP this is the destination tag (DT). For CSPR this is the transfer ID.
3707337087
comment:
3707437088
type: string
3707537089
description: |
@@ -39980,6 +39994,12 @@ components:
3998039994
type: array
3998139995
items:
3998239996
$ref: '#/components/schemas/AuditableItem'
39997+
EnterpriseKycState:
39998+
type: string
39999+
enum:
40000+
- unverified
40001+
- approved
40002+
- rejected
3998340003
EnterpriseMember:
3998440004
title: EnterpriseMember
3998540005
type: string
@@ -45899,7 +45919,9 @@ components:
4589945919
value:
4590045920
type: string
4590145921
description: |
45902-
Memo for Stellar or EOS. Type is only required for memos in Stellar transactions. The memo contains optional extra information that can also be used to identify payments in Stellar or EOS.
45922+
Extra transaction information for CSPR, EOS, HBAR, RUNE, STX, TON, XLM, and XRP. Required for XLM transactions.
45923+
45924+
Note: For XRP this is the destination tag (DT). For CSPR this is the transfer ID.
4590345925
MemoString:
4590445926
type: string
4590545927
maxLength: 100
@@ -56380,6 +56402,22 @@ components:
5638056402
state:
5638156403
type: string
5638256404
example: New York
56405+
enterprise:
56406+
type: array
56407+
description: enterprises associated with the user
56408+
items:
56409+
type: object
56410+
properties:
56411+
beneficialOwner:
56412+
type: boolean
56413+
acceptedInvite:
56414+
type: boolean
56415+
id:
56416+
$ref: '#/components/schemas/Id'
56417+
kycState:
56418+
$ref: '#/components/schemas/EnterpriseKycState'
56419+
organization:
56420+
$ref: '#/components/schemas/Id'
5638356421
User2:
5638456422
title: User
5638556423
allOf:

0 commit comments

Comments
 (0)