POST /[context]/[contextId]/CompleteSecurePayment
Context in Request URI should be 'bookings' or 'customers'
ContextId in Request URI should be Booking ID or Customer ID
Response from the POST request received on the RedirectUrl. Mapped to a list of key, value pairs.
The paymentData value that you received in the original payment response.
The paymentPaymentProcessAuditId value that you received in the original payment response.
{
"paymentDetails": "[{ \"key\": \"MD\", \"value\": \"Ab02b4c0!BQABAgCW5sxB4e/==..\"}, { \"key\": \"PaRes\", \"value\": \"eNrNV0mTo7gS..\" }]",
"paymentData": "Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...",
"paymentProcessAuditId": "42"
}
PaymentReference
Is Successful Payment
Amount Paid
Currency code
Transaction date
Error Code
Message
Payment Id
Payment Process Audit Id
Action Required. Sent if payment is Adyen. "Redirect" if redirect is required, "None" if not.
Redirect Request. The object that is sent if "actionRequired" is "Redirect". Should be passed to the Adyen component as per their documentation.
Txn Id
Redirect Request data
{
"paymentReference": "4357886618",
"isSuccessfulPayment": true,
"amountPaid": 2500.0,
"currencyCode": "USD",
"transactionDate": "2019-01-29 21:50:15",
"errorCode": "22053",
"message": "Transaction accepted",
"paymentId": "1379227",
"paymentProcessAuditId": "369100",
"actionRequired": "Redirect",
"redirectRequest": {
"data": "[{ \"key\": \"MD\", \"value\": \"Ab02b4c0!BQABAgCW5sxB4e/==..\"}, { \"key\": \"PaReq\", \"value\": \"eNrNV0mTo7gS..\" }]"
},
"bookingId": "6174439"
}