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
{"successes":0,"failures":1,"notProcessed":1,"details":[{"success":false,"errors":{"message":"\u003cvalidation_rule_error_message\u003e"}},{"success":false}]}