Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| gatewayReference | String | Reference of the transaction to which the gateway is assigned. | Optional | 60.0 |
| giftTransactionId | String | ID of the gift transaction record. This ID can also be passed as an externalID. | Required | 60.0 |
| lastGatewayErrorMessage | String | Most recent error message received by the gateway. | Optional | 60.0 |
| lastGatewayProcessedDateTime | String | Last attempt made by the gateway. | Optional | 60.0 |
| lastGatewayResponseCode | String | Most recent response code that was received by the gateway. | Optional | 60.0 |
| processorReference | String | Reference of the transaction to which the payment processor is assigned. | Optional | 60.0 |
| transactionStatus | String | Gift status of the transaction. | Required | 60.0 |
Example externalID format:
1{
2 "externalId": {
3 "fieldName": "<EXTERNAL_ID_FIELD_NAME>",
4 "fieldValue": "<EXTERNAL_ID_FIELD_VALUE>"
5 }
6}