# Hosted Payment Form (HPF)

Securely collect payments via a Deluxe-hosted payment form within your application.

The Hosted Payment Form, or HPF, is a secure online payment collection option that lets developers place a Deluxe-hosted payment form inside a merchant or partner application. Rendered through a hosted iframe, HPF can be configured to generate a token, create a vault record, or generate a cryptogram depending on the payment workflow. HPF helps applications securely collect card and ACH payment information while limiting how much sensitive payment data the merchant or partner application directly collects, transmits, or stores.

### When to Use HPF

HPF is designed for payment workflows that require secure payment collection through a Deluxe-hosted form.

Common scenarios include:

- Collecting card or ACH payment information online
- Generating a token for use with downstream payment APIs
- Creating a vault record for a stored payment method
- Supporting recurring billing, subscriptions, and membership payments
- Supporting saved payment methods and card-on-file experiences
- Embedding a configurable payment form within an application


### How Hosted Payment Form Works

Load the hosted payment form within an application using an iframe.

Customers enter card or ACH payment information through the Deluxe-hosted form.

Deluxe validates and processes the payment information.

HPF returns a secure payment artifact, such as a token, vault ID, or cryptogram.

Your application uses the returned artifact in downstream payment workflows and APIs.

### Key Capabilities

**Secure payment collection**

Sensitive card or ACH details are entered into a Deluxe-hosted payment form rather than directly into merchant-owned fields.

**Flexible payment artifacts**

HPF can be configured to generate tokens, create vault records, or generate cryptograms.

**Recurring and saved payment support**

Vault IDs and reusable tokens support subscriptions, card-on-file, and future payment workflows.

**ACH and card support**

HPF supports payment type configuration for credit card, ACH, or both.

**Configurable user experience**

Developers can configure form behavior, payment method display, button text, styling, and additional vault-related fields.

### Common Use Cases

**One-Time Online Payment**

A customer enters card information into HPF during checkout. HPF returns a token or cryptogram, and the application uses that secure artifact to create the payment through the payment API. This workflow is useful for eCommerce checkout, event registration, and one-time digital purchases.

**Save a Payment Method**

A customer enters payment details once, and HPF creates a vault record. The returned vault ID can be associated with the customer and used later as a saved payment method. This workflow supports customer account portals, repeat purchases, and card-on-file experiences.

**Recurring Billing or Subscription Payments**

A merchant or platform stores a customer's payment method in the vault and uses the stored payment method for future scheduled payments. This workflow supports subscriptions, membership renewals, recurring ACH payments, and scheduled billing.

**ACH Payment Collection**

A customer provides bank account information through HPF. The integration receives a secure payment reference that can be used for ACH payment processing or stored for supported future ACH workflows.

**Platform or ISV Checkout**

An ISV or software platform embeds HPF into its checkout or customer account workflow so multiple merchants can accept payments through a consistent payment experience. HPF supports the collection step while downstream APIs handle payment creation, customer lookup, payment method creation, and transaction processing.

### Next Step

Continue to the [**Hosted Payment Form (HPF) Implementation Guide**](/products/merchant-services/developer-resources/developer-guide/hpf-integration) to learn how to:

- Configure the hosted payment form
- Generate tokens, vault records, and cryptograms
- Collect card and ACH payment information
- Test and validate your integration