Skip to content

Commit 0c53495

Browse files
authored
Merge pull request #263 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents c206754 + 8038c57 commit 0c53495

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

api.yaml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6152,10 +6152,10 @@ paths:
61526152
Partner route to perform a settlement. This endpoint allows partners without disputes enabled to create
61536153
new settlements between client accounts, transferring funds according to the specified amounts.
61546154

6155-
Please note that this endpoint cannot be used by partners with disputes enabled, instead use the
6156-
V2 Settlement endpoint. This is because dispute enabled partners must have an asyncronous settlement
6157-
process to allow clients time to review the settlement and reconcile liabilities agains their trading
6158-
activity on your platform. In the event that you cal this endpoint and you have disputes enabled, you
6155+
Please note that this endpoint cannot be used by partners with disputes enabled, instead use the
6156+
V2 Settlement endpoint. This is because dispute enabled partners must have an asyncronous settlement
6157+
process to allow clients time to review the settlement and reconcile liabilities agains their trading
6158+
activity on your platform. In the event that you cal this endpoint and you have disputes enabled, you
61596159
will recieve a 403 response.
61606160

61616161
Error scenarios:
@@ -6170,7 +6170,7 @@ paths:
61706170

61716171
- 403: Permission Denied Error
61726172
- Occurs when the authenticated partner doesn't have necessary permissions.
6173-
- Examples: Enterprise does not have OES license, partner is enabled for disputes.
6173+
- Examples: Enterprise does not have OES license, partner is enabled for disputes, partner is inactive.
61746174

61756175
- 409: Conflict Error
61766176
- Occurs when the request conflicts with current state.
@@ -6693,7 +6693,7 @@ paths:
66936693
description: |-
66946694
Partner route for providing external deposit information tied to an on-chain settlement.
66956695
This endpoint allows partners to submit information about on-chain deposits that are
6696-
associated with a specific settlement. The deposits will be tracked and reconciled
6696+
associated with a specific settlement. The deposits will be tracked and reconciled
66976697
with the settlement transaction.
66986698

66996699

@@ -6710,9 +6710,9 @@ paths:
67106710
- Occurs when the authenticated partner doesn't have access to the specified settlement.
67116711
- Examples: Enterprise does not have OES license.
67126712

6713-
- 404: Not Found Error
6713+
- 404: Not Found Error
67146714
- Occurs when the referenced settlement was not found.
6715-
- Examples: Settlement ID doesn't exist, settlement exists but for different partner.
6715+
- Examples: Settlement ID doesn't exist, settlement exists but for different partner, partner is inactive.
67166716

67176717
- 409: Conflict Error
67186718
- Occurs when Deposit information is in conflict.
@@ -7041,27 +7041,27 @@ paths:
70417041
post:
70427042
summary: Initiate partner settlement
70437043
description: |-
7044-
Used by dispute enabled exchange partners to stage a settlement for connected clients.
7044+
Used by dispute enabled exchange partners to stage a settlement for connected clients.
70457045

70467046
This endpoint will:
70477047
1. Authenticate the request by verifying the payload and signature provided.
70487048
2. Create entities:
70497049
a. Create the settlement entity
70507050
b. Map provided settlement amounts to settlement transfer records for execution.
70517051
3. Assign closed, unassigned disputes from prior settlements to this settlement
7052-
a. Pull in any adjustedSettlementTransfers from said disputes.
7052+
a. Pull in any adjustedSettlementTransfers from said disputes.
70537053
b. Update the settledInSettlementId on said disputes.
7054-
4. Verify the relevant connection balances against liabilities based on provided settlementAmounts
7054+
4. Verify the relevant connection balances against liabilities based on provided settlementAmounts
70557055
and assigned settlement transfers from disputes being assigned.
7056-
5. Notify connection owners of a new settlement.
7056+
5. Notify connection owners of a new settlement.
70577057
6. Queue an event to finalize the settlement once the dispute window ends.
70587058

70597059
This endpoint is idempotent and can safely be called again with the same exact request body
70607060
without worrying about creating multiple settlements.
70617061

7062-
Please note that provided settlement amounts should be based solely on new trading activity
7062+
Please note that provided settlement amounts should be based solely on new trading activity
70637063
that was not included in the last settlement. Instructions from closed, unsettled disputes should
7064-
not be included in the calculation of settlement instructions on the
7064+
not be included in the calculation of settlement instructions on the
70657065
Settlement will be processed asynchronously once initiated, after dispute / top up window have elapsed.
70667066

70677067
* Error scenarios:
@@ -7076,7 +7076,7 @@ paths:
70767076

70777077
- 403: Permission Denied Error
70787078
- Occurs when the authenticated partner doesn't have necessary permissions.
7079-
- Examples: Enterprise does not have OES license
7079+
- Examples: Enterprise does not have OES license, partner is inactive
70807080

70817081
- 409: Conflict Error
70827082
- Occurs when the request conflicts with current state.
@@ -7652,6 +7652,9 @@ paths:
76527652
type: string
76537653
notation:
76547654
type: string
7655+
checkForDuplicates:
7656+
title: Boolean
7657+
type: boolean
76557658
required: true
76567659
/api/clearing/v1/enterprise/{enterpriseId}/account/{accountId}/settlement/{settlementId}:
76577660
get:
@@ -35622,6 +35625,12 @@ paths:
3562235625
schema:
3562335626
type: boolean
3562435627
default: false
35628+
- name: excludeEvmKeyringChildWallets
35629+
description: excludeEvmKeyringChildWallets - Supports filtering out EVM keyring child wallets via excludeEvmKeyringChildWallets parameter
35630+
in: query
35631+
schema:
35632+
type: boolean
35633+
default: false
3562535634
- name: limit
3562635635
description: Maximum number of results to return. If the result set is truncated, use the "nextBatchPrevId" value to get the next batch.
3562735636
in: query

0 commit comments

Comments
 (0)