Skip to content

Commit a3b37ff

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent 4bc8f87 commit a3b37ff

File tree

1 file changed

+37
-32
lines changed

1 file changed

+37
-32
lines changed

api.yaml

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -55670,42 +55670,28 @@ components:
5567055670
properties:
5567155671
id:
5567255672
$ref: '#/components/schemas/Id'
55673-
coin:
55674-
$ref: '#/components/schemas/Coin'
5567555673
type:
5567655674
$ref: '#/components/schemas/WebhookTypeWallet'
55677-
walletType:
55678-
type: string
55679-
example: cold
55680-
transferType:
55681-
type: string
55682-
example: receive
55683-
value:
55684-
type: integer
55685-
example: 1055354
55686-
valueString:
55687-
type: string
55688-
example: 1055354
55689-
baseValue:
55690-
type: integer
55691-
example: 1055354
55692-
baseValueString:
55693-
type: string
55694-
example: 1055354
55695-
feeString:
55675+
wallet:
55676+
$ref: '#/components/schemas/Id'
55677+
enterprise:
55678+
$ref: '#/components/schemas/Id'
55679+
organization:
55680+
$ref: '#/components/schemas/Id'
55681+
bankAccount:
55682+
$ref: '#/components/schemas/Id'
55683+
url:
5569655684
type: string
55697-
example: 71854
55698-
initiator:
55699-
type: array
55700-
items:
55701-
type: string
55702-
example: external
55703-
receiver:
55685+
format: uri
55686+
example: https://your.server.com/webhook
55687+
hash:
5570455688
type: string
55705-
example: tb1q3tzuxef7qc0sl8jq6vh3hpeq0w7swmq9a7eh4p
55706-
version:
55707-
type: integer
55708-
example: 2
55689+
example: 1311768467294899700
55690+
description: A transaction hash for transactions, or a block hash for block notifications.
55691+
coin:
55692+
$ref: '#/components/schemas/Coin'
55693+
transfer:
55694+
$ref: '#/components/schemas/Id'
5570955695
state:
5571055696
type: string
5571155697
description: If 'failed', webhook notification failed to connect with the target URL. If 'new', webhook notification was newly generated, in response to an event. If 'pending', webhook notification is awaiting processing by the webhook worker. If 'processed', webhook notification successfully sent to target URL. If 'unconfirmed', webhook notification is awaiting confirmation on the blockchain.
@@ -55716,6 +55702,25 @@ components:
5571655702
- processed
5571755703
- unconfirmed
5571855704
example: new
55705+
simulation:
55706+
type: boolean
55707+
example: false
55708+
retries:
55709+
type: integer
55710+
example: 0
55711+
description: The number of retries that have been attempted for this webhook notification.
55712+
webhook:
55713+
$ref: '#/components/schemas/Id'
55714+
updateAt:
55715+
$ref: '#/components/schemas/DateTime'
55716+
nextAttempt:
55717+
$ref: '#/components/schemas/DateTime'
55718+
version:
55719+
type: integer
55720+
example: 2
55721+
idempotencyKey:
55722+
type: string
55723+
description: A unique id that can be used to de-duplicate notifications.
5571955724
WebhookNotificationState:
5572055725
title: WebhookNotificationState
5572155726
type: string

0 commit comments

Comments
 (0)