GET /dialog/political_contribution/pay_now

Returns an HTML-based dialog that allows user to make a single contribution that they can pay immediately, using a supported payment method.

Example URLs:

Available via HTTPS.

Required Parameters

campaign_id (required)

A unique identifier for tracking your contribution goals (e.g., “2018-christmas-giving”, or “general-fund”). This will be used to show you analytics on how well each of your campaigns is doing. It can be any string consisting of lowercase or uppercase ASCII characters, digits, underscores, and hyphens, the length of which is betwen 1 and 128 characters.

pricing (required)

A string containing currency code and price matching your region. For example: "USD220" translates to $2.20 USD

title (required)

A user-friendly title that explains what the user is contributing to. This will be displayed in the LaterPay dialogs and in the user’s invoice.

url (required)

The URL where the user is sent after they successfully contribute. This might be your homepage, an article on your blog, or a specific landing page set up for your contribution campaign. Users will see this URL in their invoices. You can also specify a return_url (see below).

cp, hmac, ts (required)

Required Parameters for Political Candidates

Federal law requires that we track contribution amounts per election for political candidates, and not just per calendar year. For this reason, dialog links for political candidates must also include the following parameter:

election_id

A unique identifier for the election for which you are collecting contributions (e.g., “state-senate-race-2018”). This is separate from your campaign_id to allow you to run multiple funding campaigns for the same election. It can be any string consisting of lowercase or uppercase ASCII characters, digits, underscores, and hyphens, the length of which is betwen 1 and 128 characters.

This parameter is optional for other political organization types.

Optional Paramters

return_url

If you would like the user to be redirected to a different URL than what appears on their invoice, you can optionally provide return_url.