Update Commitment Payments

POST {{_endpoint}}/services/data/v{{version}}/connect/fundraising/commitments/payment-updates

Update the future payment instrument metadata for active gift commitments.

Required Attributes:

  • giftCommitmentId

  • paymentInstrument.type

Request Body

{"updates"=>[{"giftCommitmentId"=>"<SFDC_GIFT_COMMITMENT_ID>", "paymentInstrument"=>{"type"=>"credit card", "accountHolderName"=>"test donor", "expiryMonth"=>"10", "expiryYear"=>"2026", "last4"=>"4585", "cardBrand"=>"visa", "bankName"=>"chase", "digitalWalletProvider"=>"apple pay", "bankAccountHolderType"=>"primary", "bankAccountType"=>"checking", "bankAccountNumber"=>"123456", "bankCode"=>"HBUK", "gatewayName"=>"stripe", "processorName"=>"test processor", "processorPaymentReference"=>"string", "gatewayReference"=>"string"}}]}

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;\u003cvalidation_rule_error_message\u003e&quot;}},{&quot;success&quot;:false}]}