Update Gift Transaction Payments
POST {{_endpoint}}/services/data/v{{version}}/connect/fundraising/transactions/payment-updates
Update the gateway and processor metadata for gift transactions.
Required Attributes:
giftTransactionId
transactionStatus
Request Body
{"updates"=>[{"giftTransactionId"=>"<SFDC_GIFT_TRANSACTION_ID>", "transactionStatus"=>"Paid", "processorReference"=>"string", "gatewayReference"=>"string", "lastGatewayResponseCode"=>"invalid_cvc", "lastGatewayErrorMessage"=>"The card’s security code is invalid. Check the card’s security code or use a different card.", "lastGatewayProcessedDateTime"=>"2023-07-06T21:57:51Z", "processorTransactionFee"=>0.5, "gatewayTransactionFee"=>0.25, "donorCoverAmount"=>10.5}, {"giftTransactionId"=>"<SFDC_GIFT_TRANSACTION_ID>", "transactionStatus"=>"Paid", "processorReference"=>"string", "gatewayReference"=>"string", "lastGatewayResponseCode"=>"invalid_cvc", "lastGatewayErrorMessage"=>"The card’s security code is invalid. Check the card’s security code or use a different card.", "lastGatewayProcessedDateTime"=>"2023-07-06T21:57:51Z", "processorTransactionFee"=>1.0, "gatewayTransactionFee"=>0.45, "donorCoverAmount"=>20.0}]}
RESPONSES
status: Created
{"successes":0,"failures":1,"notProcessed":1,"details":[{"success":false,"errors":{"message":"Donor cover amount must be less than 10.00"}},{"success":false}]}