api-docs/models/ContractPayment.json

18 lines
430 B
JSON
Raw Normal View History

2022-10-22 18:05:01 +02:00
{
"type": "object",
2023-12-05 23:00:24 +01:00
"description": "Payments for the contract.",
2022-10-22 18:05:01 +02:00
"properties": {
"onAccepted": {
"type": "integer",
"description": "The amount of credits received up front for accepting the contract."
},
"onFulfilled": {
"type": "integer",
"description": "The amount of credits received when the contract is fulfilled."
}
},
"required": [
"onAccepted",
"onFulfilled"
]
}