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

{&quot;successes&quot;:0,&quot;failures&quot;:1,&quot;notProcessed&quot;:1,&quot;details&quot;:[{&quot;success&quot;:false,&quot;errors&quot;:{&quot;message&quot;:&quot;Donor cover amount must be less than 10.00&quot;}},{&quot;success&quot;:false}]}