cc-tracking/tasks/bridge-800/newstuff.md
2018-05-04 11:21:51 +01:00

72 lines
1.6 KiB
Markdown

acceptedPaymentTypes mayke it an array / enum
"amount": {"$ref": "#/definitions/amount-value-currency-params"},
"counterparty": {
"type": "object",
"properties": {
"userID": {"$ref": "#/definitions/object-id"}
},
"required": ["userID"]
},
"transactionDetails": {"$ref": "#/definitions/transaction-details-params"}
{
"data": [
{
"amount": {
"value": 0,
"currency": "GBP"
},
"counterparty": {
"userID": "000000000000000000000000"
},
"transactionDetails": {
"orderDescription": "2 Calling Birds, 1 Partridge in a Pear tree"
},
"lastUpdate": "2017-07-16T19:20:30.450Z",
"lastVersion": 0,
"status": "Pending",
"requestToPayID": "000000000000000000000000",
"payeeID": "000000000000000000000000"
}
]
}
{
"data": [
{
"amount": {
"value": 0,
"currency": "GBP"
},
"lastUpdate": "2017-07-16T19:20:30.450Z",
"lastVersion": 0,
"status": "Pending",
"requestToPayID": "000000000000000000000000",
"payeeID": "000000000000000000000000",
"transactionDetails": {
"orderDescription": "2 Calling Birds, 1 Partridge in a Pear tree"
}
}
]
}
"paymentInstrumentType": {
"data": [
"Unspecified"
]
}
"paymentInstrumentType": "Unspecified"