Transaction Payment Update Request Input

Input representation of the details of the gateway and processor metadata to update the transaction payment. If you include any other standard or custom fields in the request body beyond the specified properties, an error is shown.

JSON Example 

1{
2  "giftTransactionId": "6TR5500000WO1ZIxxE",
3  "transactionStatus": "Unpaid",
4  "processorReference": "string",
5  "gatewayReference": "string",
6  "lastGatewayResponseCode": "invalid_cvc",
7  "lastGatewayErrorMessage": "The card's security code is invalid. Check the card's security code or use a different card.",
8  "lastGatewayProcessedDateTime": "2023-07-06T21:57:51Z"
9}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
gateway​ReferenceStringReference of the transaction to which the gateway is assigned.Optional60.0
gift​Transaction​IdStringID of the gift transaction record. This ID can also be passed as an externalID.Required60.0
lastGateway​Error​MessageStringMost recent error message received by the gateway.Optional60.0
lastGateway​Processed​DateTimeStringLast attempt made by the gateway.Optional60.0
lastGateway​Response​CodeStringMost recent response code that was received by the gateway.Optional60.0
processor​ReferenceStringReference of the transaction to which the payment processor is assigned.Optional60.0
transaction​StatusStringGift status of the transaction.Required60.0

Example externalID format:

1{
2  "externalId": {
3    "fieldName": "<EXTERNAL_ID_FIELD_NAME>",
4    "fieldValue": "<EXTERNAL_ID_FIELD_VALUE>"
5  }
6}