Create Pledge Payment Add

Creates or returns payment information for the selected fundraising pledge.

Path parameters

school_idstringRequired
hashstringRequired

Request

This endpoint expects an object.
payment_amountdoubleRequired
Must be at least 1.
amount_per_installmentdouble or nullOptional
Must be at least 1.
payment_recurring_period_idinteger or nullOptional
payment recurring period ID identifier.
payment_planlist of objectsOptional
payment plan list.
payment_datestring or nullOptional

Must be a valid date. Must be a valid date in the format Y-m-d\TH:i:sP.

wallet_idinteger or nullOptional
wallet ID identifier.
secondary_wallet_idinteger or nullOptional
secondary wallet ID identifier.
walletobjectOptional

This field is required when wallet_id is not present.

secondary_walletobject or nullOptional
secondary wallet object.
donation_type_idinteger or nullOptional
donation type ID type value.
messagestring or nullOptional
Must not be greater than 1000 characters.
groupenumOptional

This field is required when wallet_id is not present.

Allowed values:
payment_method_idinteger or nullOptional
payment method ID identifier.
fee_coverageboolean or nullOptional
fee coverage flag.

Response

Successful POST response for /api/v1/public/fundraising/pledge/payment/add/{school_id}/{hash}.

statusstring
messagestring
dataobject