mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
146 lines
2.8 KiB
JSON
146 lines
2.8 KiB
JSON
{
|
|
"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",
|
|
"reference",
|
|
"createdAt",
|
|
"connectorId",
|
|
"provider",
|
|
"type",
|
|
"status",
|
|
"scheme",
|
|
"asset",
|
|
"amount",
|
|
"initialAmount"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"reference": {
|
|
"type": "string"
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectorId": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"PAY-IN",
|
|
"PAYOUT",
|
|
"TRANSFER",
|
|
"OTHER"
|
|
]
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"scheme": {
|
|
"type": "string",
|
|
"enum": [
|
|
"unknown",
|
|
"other",
|
|
"visa",
|
|
"mastercard",
|
|
"amex",
|
|
"diners",
|
|
"discover",
|
|
"jcb",
|
|
"unionpay",
|
|
"alipay",
|
|
"cup",
|
|
"sepa debit",
|
|
"sepa credit",
|
|
"sepa",
|
|
"apple pay",
|
|
"google pay",
|
|
"doku",
|
|
"dragonpay",
|
|
"maestro",
|
|
"molpay",
|
|
"a2a",
|
|
"ach debit",
|
|
"ach",
|
|
"rtp"
|
|
]
|
|
},
|
|
"asset": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"initialAmount": {
|
|
"type": "number",
|
|
"format": "bigint"
|
|
},
|
|
"sourceAccountId": {
|
|
"type": "string"
|
|
},
|
|
"destinationAccountId": {
|
|
"type": "string"
|
|
},
|
|
"links": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"uri": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rawData": {
|
|
"type": "object"
|
|
},
|
|
"metadata": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"date",
|
|
"app",
|
|
"version",
|
|
"type",
|
|
"payload"
|
|
]
|
|
} |