cc-tracking/tasks/archive/comcarde/bridge-858/structure

80 lines
2.1 KiB
Plaintext
Raw Normal View History

2018-05-04 10:21:51 +00:00
{
"AtpID": { "$ref": "#/definitions/object-id" },
"RtpID": { "$ref": "#/definitions/object-id" },
"PayeeID": { "$ref": "#/definitions/object-id" },
"PayerID": { "$ref": "#/definitions/object-id" },
"PayeeInstrument": {
"$ref": "#/definitions/payee-instrument-extended"
},
"PayerInstrument": {
"type": "object",
"properties": {
"Payer": "#/definitions/payer",
"PayerInstrument": {
"$ref": "#/definitions/payee-instrument-extended"
}
}
},
"amount": { "$ref": "#/definitions/amount-params" },
"transactionDetails": { "$ref": "#/definitions/worldpay-transaction-details-params" },
"status" : {"$ref": "#/definitions/rtpStatus"},
"ResultDetails": {
"ProcessorResponse": {
"StatusCode": 200,
"TransactionID": "76ebfbaa-7cd9-4f01-bd18-a32681f33133",
"RiskScore": 1
}
},
"LastUpdate": ISODate("2018-04-06T10:20:38.014Z"),
"LastVersion": 1
}
{"$ref": "#/definitions/object-id"}
"PayeeInstrument": {
"_id": { "$ref": "#/definitions/object-id" },
"AccountType": "Worldpay Online Payments Account",
"Description": "BloggsCo Inc. account."
}
,
{
"type": "object",
"properties": {
"lastUpdate": {"$ref": "#/definitions/iso-date"},
"lastVersion": {"$ref": "#/definitions/rtp-last-version"},
"payeeInstrument": {"$ref": "#/definitions/instrument-id-and-description"},
"status" : {"$ref": "#/definitions/rtpStatus"},
"requestToPayID": {"$ref": "#/definitions/object-id"}
},
"required": ["lastUpdate", "lastVersion", "payeeInstrument", "status", "requestToPayID"]
}
,
"processor-response": {
"type": "object",
"properties": {
"statusCode": "#/definitions/something",
"transactionID": "#/definitions/uuid"
}
},