Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
187 changes: 55 additions & 132 deletions mintlify/openapi.yaml

Large diffs are not rendered by default.

187 changes: 55 additions & 132 deletions openapi.yaml

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions openapi/components/schemas/common/BaseWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- address
properties:
accountType:
type: string
enum: [BASE_WALLET]
const: BASE_WALLET
example: BASE_WALLET
address:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/ClabeAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- clabeNumber
properties:
accountType:
type: string
enum: [CLABE]
const: CLABE
example: CLABE
clabeNumber:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/FboAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- currencyCode
properties:
accountType:
type: string
enum: [FBO]
const: FBO
example: FBO
currencyCode:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/IbanAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- swiftBic
properties:
accountType:
type: string
enum: [IBAN]
const: IBAN
example: IBAN
iban:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/NgnAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- bankName
properties:
accountType:
type: string
enum: [NGN_ACCOUNT]
const: NGN_ACCOUNT
example: NGN_ACCOUNT
accountNumber:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/PixAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ required:
- taxId
properties:
accountType:
type: string
enum: [PIX]
const: PIX
example: PIX
pixKey:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/PolygonWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- address
properties:
accountType:
type: string
enum: [POLYGON_WALLET]
const: POLYGON_WALLET
example: POLYGON_WALLET
address:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/SolanaWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- address
properties:
accountType:
type: string
enum: [SOLANA_WALLET]
const: SOLANA_WALLET
example: SOLANA_WALLET
address:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/SparkWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- address
properties:
accountType:
type: string
enum: [SPARK_WALLET]
const: SPARK_WALLET
example: SPARK_WALLET
address:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/TronWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- address
properties:
accountType:
type: string
enum: [TRON_WALLET]
const: TRON_WALLET
example: TRON_WALLET
address:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/UpiAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ required:
- vpa
properties:
accountType:
type: string
enum: [UPI]
const: UPI
example: UPI
vpa:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/common/UsAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ required:
- accountCategory
properties:
accountType:
type: string
enum: [US_ACCOUNT]
const: US_ACCOUNT
example: US_ACCOUNT
accountNumber:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ required:
properties:
customerType:
type: string
enum: [BUSINESS]
const: BUSINESS
description: Customer type
umaAddress:
type: string
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error400.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 400
const: 400
type: integer
description: HTTP status code
code:
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error401.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 401
const: 401
type: integer
description: HTTP status code
code:
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error403.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 403
const: 403
type: integer
description: HTTP status code
code:
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error404.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 404
const: 404
type: integer
description: HTTP status code
code:
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error409.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 409
const: 409
type: integer
description: HTTP status code
code:
Expand Down
6 changes: 2 additions & 4 deletions openapi/components/schemas/errors/Error412.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 412
const: 412
type: integer
description: HTTP status code
code:
Expand All @@ -15,8 +14,7 @@ properties:
| Error Code | Description |
|------------|-------------|
| UNSUPPORTED_UMA_VERSION | Counterparty doesn't support the Grid UMA version |
enum:
- UNSUPPORTED_UMA_VERSION
const: UNSUPPORTED_UMA_VERSION
message:
type: string
description: Error message
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error424.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 424
const: 424
type: integer
description: HTTP status code
code:
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error500.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 500
const: 500
type: integer
description: HTTP status code
code:
Expand Down
3 changes: 1 addition & 2 deletions openapi/components/schemas/errors/Error501.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ required:
- code
properties:
status:
enum:
- 501
const: 501
type: integer
description: HTTP status code
code:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [BASE_WALLET]
const: BASE_WALLET
example: BASE_WALLET
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ required:
properties:
beneficiaryType:
type: string
enum: [BUSINESS]
const: BUSINESS
example: BUSINESS
legalName:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [CLABE]
const: CLABE
example: CLABE
beneficiary:
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [IBAN]
const: IBAN
example: IBAN
beneficiary:
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ required:
properties:
beneficiaryType:
type: string
enum: [INDIVIDUAL]
const: INDIVIDUAL
example: INDIVIDUAL
fullName:
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,37 +1,19 @@
allOf:
- type: object
required:
- accountType
properties:
accountType:
type: string
enum: [LIGHTNING]
example: LIGHTNING
- oneOf:
- title: Lightning Invoice
type: object
required:
- invoice
properties:
invoice:
type: string
description: 1-time use lightning bolt11 invoice payout destination
example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs
- title: Lightning - Bolt12 Offer
type: object
required:
- bolt12
properties:
bolt12:
type: string
description: A bolt12 offer which can be reused as a payment destination
example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs
- title: Lightning Address
type: object
required:
- lightningAddress
properties:
lightningAddress:
type: string
description: A lightning address which can be used as a payment destination. Note that for UMA addresses, no external account is needed. You can use the UMA address directly as a destination.
example: john.doe@lightningwallet.com
type: object
required:
- accountType
properties:
accountType:
const: LIGHTNING
example: LIGHTNING
invoice:
type: string
description: 1-time use lightning bolt11 invoice payout destination
example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs
bolt12:
type: string
description: A bolt12 offer which can be reused as a payment destination
example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs
lightningAddress:
type: string
description: A lightning address which can be used as a payment destination. Note that for UMA addresses, no external account is needed. You can use the UMA address directly as a destination.
example: john.doe@lightningwallet.com
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ allOf:
- beneficiary
properties:
accountType:
type: string
enum: [NGN_ACCOUNT]
const: NGN_ACCOUNT
example: NGN_ACCOUNT
beneficiary:
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [PIX]
const: PIX
example: PIX
beneficiary:
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [POLYGON_WALLET]
const: POLYGON_WALLET
example: POLYGON_WALLET
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [SOLANA_WALLET]
const: SOLANA_WALLET
example: SOLANA_WALLET
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [SPARK_WALLET]
const: SPARK_WALLET
example: SPARK_WALLET
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [TRON_WALLET]
const: TRON_WALLET
example: TRON_WALLET
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ allOf:
- accountType
properties:
accountType:
type: string
enum: [UPI]
const: UPI
example: UPI
beneficiary:
oneOf:
Expand Down
Loading