> For the complete documentation index, see [llms.txt](https://docs.peakcommerce.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peakcommerce.com/product/using-peakcommerce/ecommerce-and-payment-pages/external-payment-pages.md).

# External & Hosted Payment Pages

A **payment page** lets customers securely add a payment method or pay an invoice without going through a full checkout journey. Payment capture uses the billing provider's **hosted payment page** (for example Zuora's), so card and bank details go straight to the provider and never touch PeakCommerce servers.

## What you can do

* **Add a payment method** — capture and store a default payment method on the customer's account, optionally enabling auto-pay.
* **Pay an invoice** — present an invoice (with an optional partial-payment amount) and collect payment, storing the method for future use.

## How it works

Build a **Payment**-type page in **Content → Pages**, publish it to get its public URL, and link customers to it — for example from a billing email (see [Add payment page links to Zuora email templates](https://gitlab.com/peak-hercules/peak-help-docs/-/blob/main/product/using-peakcommerce/journeys-and-pages/pages/add-payment-page-links-to-zuora-email-templates.md)). You can pass prefill parameters on the URL (such as the account and invoice) so the page opens scoped to the right customer.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.peakcommerce.com/product/using-peakcommerce/ecommerce-and-payment-pages/external-payment-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
