Create Campaign Pay Credit Card

Creates fundraising campaign data from submitted details.

Path parameters

school_idstringRequired
hashstringRequired

Request

This endpoint expects an object.
payment_amountdoubleRequired
Must be at least 0.01.
customer_billing_namestringRequired
customer billing name display value.
customer_address_1stringRequired
customer address 1 value.
customer_citystringRequired
customer city value.
customer_statestringRequired
customer state value.
customer_zipstringRequired
customer zip value.
customer_countrystringRequired
customer country value.
customer_phonestringRequired
customer phone phone number.
customer_emailstringRequired
Must be a valid email address.
full_namestringRequired
full name display value.
emailstringRequired
Must be a valid email address.
card_tokenstring or nullOptional
card token value.
credit_card_numberdoubleOptional

This field is required when card_token is not present.

credit_card_exp_datestringOptional

This field is required when card_token is not present. Must be a valid date in the format Y-m.

credit_card_cvcdoubleOptional

This field is required when card_token is not present.

customer_address_2string or nullOptional
customer address 2 value.
donation_type_iddouble or nullOptional
donation type ID type value.
messagestring or nullOptional
message value.

Response

Successful POST response for /api/v1/public/fundraising/campaign/pay/credit-card/{school_id}/{hash}.

statusstring
messagestring
dataobject