86 lines
2.1 KiB
Plaintext
86 lines
2.1 KiB
Plaintext
{
|
|
"_id": ObjectId("0123456789abcdef01234567"),
|
|
"RtpID": "0123456789abcdef01234567",
|
|
"PayeeID": "0123456789abcdef01234567",
|
|
"PayerID": "0123456789abcdef01234567",
|
|
"PayeeInstrument": {
|
|
"_id": ObjectId("0123456789abcdef01234567"),
|
|
"AccountType": "Worldpay Online Payments Account",
|
|
"Description": "BloggsCo Inc. account."
|
|
},
|
|
"PayerInstrument": {
|
|
"Payer": {
|
|
"Email": "a@example.com",
|
|
"FirstName": "Joe",
|
|
"LastName": "Bloggs"
|
|
},
|
|
"PayerInstrument": {
|
|
"_id": ObjectId("0123456789abcdef01234567"),
|
|
"AccountType": "Credit/Debit Payment Card",
|
|
"Description": "My payment card"
|
|
}
|
|
},
|
|
"Amount": {
|
|
"Value": 220,
|
|
"Currency": "GBP"
|
|
},
|
|
"TransactionDetails": {
|
|
"OrderDescription": "2 Calling Birds, 1 Partridge in a Pear tree"
|
|
},
|
|
"Status": "Paid",
|
|
"ResultDetails": {
|
|
"ProcessorResponse": {
|
|
"StatusCode": 200,
|
|
"TransactionID": "76ebfbaa-7cd9-4f01-bd18-a32681f33133",
|
|
"RiskScore": 1
|
|
}
|
|
},
|
|
"LastUpdate": ISODate("2018-04-06T10:20:38.014Z"),
|
|
"LastVersion": 1
|
|
}
|
|
|
|
------------
|
|
|
|
{
|
|
"atpID": "000000000000000000000000",
|
|
"rtpID": "000000000000000000000000",
|
|
"payeeID": "000000000000000000000000",
|
|
"payerID": "000000000000000000000000",
|
|
"status": "Pending",
|
|
"lastUpdate": "2017-07-16T19:20:30.450Z",
|
|
"lastVersion": 0,
|
|
"payeeInstrument": {
|
|
"ID": "000000000000000000000000",
|
|
"description": "Description of the payee Instrument",
|
|
"accountType": "Credit/Debit Payment Card"
|
|
},
|
|
"payerDetails": {
|
|
"payer": {
|
|
"email": "a@b.com",
|
|
"firstName": "John",
|
|
"lastName": "Doe"
|
|
},
|
|
"payerInstrument": {
|
|
"ID": "000000000000000000000000",
|
|
"description": "Description of the payee Instrument",
|
|
"accountType": "Credit/Debit Payment Card"
|
|
}
|
|
},
|
|
"amount": {
|
|
"value": 0,
|
|
"currency": "GBP"
|
|
},
|
|
"transactionDetails": {
|
|
"orderDescription": "2 Calling Birds, 1 Partridge in a Pear tree"
|
|
},
|
|
"resultDetails": {
|
|
"errorDetails": {
|
|
"statusCode": 200,
|
|
"code": 1,
|
|
"info": "Some error"
|
|
},
|
|
"processorResponse": {
|
|
"transactionID": "00000000-0000-0000-0000-000000000000"
|
|
}
|
|
}
|
|
} |