Skip to content

Commit 0955813

Browse files
Merge pull request #153 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 3fe3bc0 + c3ed6c6 commit 0955813

File tree

1 file changed

+24
-29
lines changed

1 file changed

+24
-29
lines changed

api.yaml

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -43710,47 +43710,42 @@ components:
4371043710
items:
4371143711
type: object
4371243712
properties:
43713-
memo:
43714-
type: string
43715-
description: A memo or description for the invoice
43716-
example: Payment for the coffee
43717-
invoice:
43713+
valueMsat:
4371843714
type: string
43719-
description: The BOLT \#11 encoded invoice
43720-
example: lnbc500n1p3zv5vkpp5x0thcaz8wep54clc2xt5895azjdzmthyskzzh9yslggy74qtvl6sdpdg3hkuct5d9hkugrxdaezqjn0dphk2fmnypkk2mtsdahkccqzpgxqyz5vqsp5v80q4vq4pwakq2l0hcqgtelgajsymv4ud4jdcrqtnzhvet55qlus9qyyssquqh2wl2m866qs5n72c5vg6wmqx9vzwhs5ypualq4mcu76h2tdkcq3jtjwtggfff7xwtdqxlnwqk8cxpzryjghrmmq3syraswp9vjr7cqry9l96
43715+
format: number
4372143716
paymentHash:
4372243717
type: string
43723-
description: The payment hash of the invoice
43724-
example: 63d9ce82e09d16761a85116ed8b65407db4fb22f85d03573de09c480f2c6d175
43725-
valueMsat:
43718+
invoice:
4372643719
type: string
43727-
description: The value of the invoice in satoshis
43728-
example: '50000'
43729-
format: number
43720+
walletId:
43721+
type: string
43722+
status:
43723+
$ref: '#/components/schemas/InvoiceStatus'
4373043724
expiresAt:
4373143725
type: string
43732-
description: ISO-8601 string representing when the invoice will expire
43733-
example: '2022-04-01T18:46:24.677Z'
4373443726
format: date-time
4373543727
title: ISO Date String
43736-
status:
43728+
createdAt:
4373743729
type: string
43738-
enum:
43739-
- open
43740-
- settled
43741-
- canceled
43742-
description: The status of the invoice
43743-
walletId:
43744-
allOf:
43745-
- $ref: '#/components/schemas/WalletIdString'
43746-
description: The wallet to which this invoice belongs
43730+
format: date-time
43731+
title: ISO Date String
43732+
updatedAt:
43733+
type: string
43734+
format: date-time
43735+
title: ISO Date String
43736+
amtPaidMsat:
43737+
type: string
43738+
description: The number of millisats actually paid to this invoice, this may be greater than the amount requested by the invoice, since lightning allows overpaying (but not underpaying) invoices.
43739+
format: number
4374743740
required:
43748-
- invoice
43749-
- paymentHash
4375043741
- valueMsat
43751-
- expiresAt
43752-
- status
43742+
- paymentHash
43743+
- invoice
4375343744
- walletId
43745+
- status
43746+
- expiresAt
43747+
- createdAt
43748+
- updatedAt
4375443749
nextBatchPrevId:
4375543750
type: string
4375643751
required:

0 commit comments

Comments
 (0)