Skip to content

Commit 0f71d63

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent d78de72 commit 0f71d63

File tree

1 file changed

+1
-78
lines changed

1 file changed

+1
-78
lines changed

api.yaml

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -21209,36 +21209,6 @@ paths:
2120921209
oneOf:
2121021210
- $ref: '#/components/schemas/PlatformError3'
2121121211
- $ref: '#/components/schemas/InvalidWalletId'
21212-
/api/v2/wallet/{walletId}/lightning/payment/{paymentHash}:
21213-
get:
21214-
tags:
21215-
- Lightning
21216-
summary: Lightning - Get Payment
21217-
operationId: v2.wallet.lightning.payment.get
21218-
description: Retrieve Lightning Network payment information for the given payment hash.
21219-
parameters:
21220-
- $ref: '#/components/parameters/pathWalletId'
21221-
- name: paymentHash
21222-
in: path
21223-
required: true
21224-
schema:
21225-
type: string
21226-
description: The payment hash of the Lightning Network payment.
21227-
responses:
21228-
'200':
21229-
description: OK
21230-
content:
21231-
application/json:
21232-
schema:
21233-
$ref: '#/components/schemas/LightningPaymentInfo'
21234-
'400':
21235-
description: Bad Request
21236-
content:
21237-
application/json:
21238-
schema:
21239-
oneOf:
21240-
- $ref: '#/components/schemas/PlatformError3'
21241-
- $ref: '#/components/schemas/InvalidWalletId'
2124221212
/api/v2/wallet/{walletId}/lightning/backup:
2124321213
get:
2124421214
tags:
@@ -30002,7 +29972,7 @@ paths:
3000229972
get:
3000329973
summary: Fetch lightning payment for a payment id
3000429974
description: This API call is used to fetch lightning payment for a given payment id.
30005-
operationId: v2.wallet.lightning.payment.get1
29975+
operationId: v2.wallet.lightning.payment.get
3000629976
tags:
3000729977
- Lightning
3000829978
parameters:
@@ -46730,53 +46700,6 @@ components:
4673046700
* EXCESS_WALLET_BALANCE - Excess custodial lightning balance
4673146701
* INVOICE_EXPIRED - Invoice has expired
4673246702
* CANCELED - Payment was canceled
46733-
LightningPaymentInfo:
46734-
type: object
46735-
properties:
46736-
paymentHash:
46737-
type: string
46738-
description: Payment hash of the payment
46739-
walletId:
46740-
type: string
46741-
description: The public BitGo walletId to which this payment belongs
46742-
txRequestId:
46743-
type: string
46744-
description: Transaction request ID
46745-
status:
46746-
type: string
46747-
enum:
46748-
- in_flight
46749-
- settled
46750-
- failed
46751-
description: Current status of the payment
46752-
invoice:
46753-
type: string
46754-
description: The BOLT 11 encoded invoice string
46755-
feeLimitMsat:
46756-
type: string
46757-
description: Fee limit in millisatoshis
46758-
destination:
46759-
type: string
46760-
description: Destination of the payment
46761-
updatedAt:
46762-
type: string
46763-
format: date-time
46764-
description: Last update date in ISO format
46765-
createdAt:
46766-
type: string
46767-
format: date-time
46768-
description: Creation date in ISO format
46769-
amountMsat:
46770-
type: string
46771-
description: Amount in millisatoshis
46772-
feeMsat:
46773-
type: string
46774-
description: Fee in millisatoshis
46775-
failureReason:
46776-
$ref: '#/components/schemas/LightningPaymentFailureReason'
46777-
paymentPreimage:
46778-
type: string
46779-
description: Payment preimage
4678046703
LightningPaymentIntent:
4678146704
title: Lightning Payment Intent
4678246705
oneOf:

0 commit comments

Comments
 (0)