Skip to content
Draft
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
131 changes: 131 additions & 0 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

131 changes: 131 additions & 0 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions openapi/components/schemas/webhooks/OperationError.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: object
required:
- code
properties:
code:
type: string
description: Machine-readable failure code for a `FAILED` operation.
example: DeleteApiKeysFailed
13 changes: 13 additions & 0 deletions openapi/components/schemas/webhooks/WalletOperationWebhook.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
allOf:
- $ref: ./BaseWebhook.yaml
- type: object
required:
- data
properties:
data:
$ref: ./WalletOperationWebhookData.yaml
type:
type: string
enum:
- WALLET_OPERATION.COMPLETED
- WALLET_OPERATION.FAILED
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
type: object
required:
- operationId
- operationType
- status
properties:
operationId:
type: string
description: The `Operation:<uuid>` id of the operation that reached a terminal state.
example: Operation:019542f5-b3e7-1d02-0000-000000000099
operationType:
type: string
description: The kind of operation that reached a terminal state.
enum:
- auth_credential.delete
- session.revoke
- wallet.export
example: wallet.export
status:
type: string
description: Terminal status of the operation.
enum:
- completed
- failed
example: completed
error:
anyOf:
- $ref: ./OperationError.yaml
- type: 'null'
description: Present only on `failed`; `null` otherwise.
2 changes: 2 additions & 0 deletions openapi/components/schemas/webhooks/WebhookType.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ enum:
- CARD_TRANSACTION.SETTLED
- CARD_TRANSACTION.REFUNDED
- CARD_TRANSACTION.EXCEPTION
- WALLET_OPERATION.COMPLETED
- WALLET_OPERATION.FAILED
- TEST
description: >-
Type of webhook event in OBJECT.EVENT dot-notation. The part before the dot
Expand Down
2 changes: 2 additions & 0 deletions openapi/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading