mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
4078 lines
106 KiB
JSON
4078 lines
106 KiB
JSON
{
|
|
"ledger": {
|
|
"v1.0.0": {
|
|
"COMMITTED_TRANSACTIONS": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"REVERTED_TRANSACTION": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_METADATA": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
}
|
|
},
|
|
"v2.0.0": {
|
|
"COMMITTED_TRANSACTIONS": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"DELETED_METADATA": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"REVERTED_TRANSACTION": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_METADATA": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"orchestration": {
|
|
"v2.0.0": {
|
|
"FAILED_TRIGGER": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"FAILED_WORKFLOW": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"FAILED_WORKFLOW_STAGE": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"STARTED_WORKFLOW": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"STARTED_WORKFLOW_STAGE": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SUCCEEDED_TRIGGER": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SUCCEEDED_WORKFLOW": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SUCCEEDED_WORKFLOW_STAGE": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"payments": {
|
|
"v0.0.0": {
|
|
"CONNECTOR_RESET": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_ACCOUNT": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_BALANCE": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_PAYMENT": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
}
|
|
},
|
|
"v2.0.0": {
|
|
"CONNECTOR_RESET": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"DELETED_POOL": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"DELETED_TRANSFER_INITIATION": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_ACCOUNT": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_BALANCE": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_BANK_ACCOUNT": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_PAYMENT": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_POOL": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
},
|
|
"SAVED_TRANSFER_INITIATION": {
|
|
"type": "object",
|
|
"properties": {
|
|
"app": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"ledger": {
|
|
"type": "string"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"createdAt",
|
|
"scheduledAt",
|
|
"connectorId",
|
|
"provider",
|
|
"description",
|
|
"type",
|
|
"destinationAccountId",
|
|
"amount",
|
|
"asset",
|
|
"attempts",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"scheduledAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"TRANSFER",
|
|
"PAYOUT"
|
|
]
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"attempts": {
|
|
"type": "number"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"WAITING_FOR_VALIDATION",
|
|
"PROCESSING",
|
|
"PROCESSED",
|
|
"FAILED",
|
|
"REJECTED",
|
|
"VALIDATED",
|
|
"ASK_RETRIED",
|
|
"ASK_REVERSED",
|
|
"REVERSE_PROCESSING",
|
|
"REVERSE_FAILED",
|
|
"PARTIALLY_REVERSED",
|
|
"REVERSED"
|
|
]
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
},
|
|
"relatedPayments": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"transferInitiationId",
|
|
"paymentId",
|
|
"createdAt",
|
|
"status",
|
|
"error"
|
|
],
|
|
"properties": {
|
|
"transferInitiationId": {
|
|
"type": "string"
|
|
},
|
|
"paymentId": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |