UpdatePaymentProcessingDataOperation
UpdatePaymentProcessingDataOperation
is an operation for the "payment & payout" CUWOs to update the processing data of a payment request.
This operation can only be used for CUWOs that are part of or related to a payment request. For now, this means:
- AuthorizeOrCapturePayment
- CapturePayment
- CancelPayment
- RevertPayment
The message is defined as follows:
/**
* Operation for the payment & payout CUWOs to update the processing
* data of a payment request.
*/
class UpdatePaymentProcessingDataOperation extends AbstractMessage {
readonly "@type" : string = "n4.cuwo.messages.paymentpayoutprocessingdata.UpdatePaymentProcessingDataOperation";
/**
* The ID of the operation message.
*/
public id : string;
/**
* The ID of the payment request whose processing data to update.
*
* This must be the ID that was passed into the CUWO, otherwise
* the operation will fail.
*/
public paymentRequestID : string;
/**
* The updated payment processing data to store for the payment.
*/
public paymentProcessingData : string;
Here's an example NFON:
{
"@type": "n4.cuwo.messages.paymentpayoutprocessingdata.UpdatePaymentProcessingDataOperation",
"id": "44b00404-2838-11ec-9621-0242ac130002",
"paymentRequestID": "616041c899256dee7c84e346",
"paymentProcessingData": "AtOEhvtUvOMSQge5igfjSvffROkcn4fjrr6ihN2xQm9OhpmJ26kkW07sA1AP",
}