# Hosted Payment Page Building with an AI agent? Start at https://docs.payme.io/agents.md A payment page hosted by PayMe: create a sale with generate-sale and show the returned sale_url in an iframe or a redirect. Card and bank details never reach your servers. PayMe hosts the payment page, so card and bank details never reach your servers and PCI DSS stays with PayMe. Create a sale with [`generate-sale`](/payments/hosted-payment-page/post-generate-sale), then show the returned `sale_url` to the buyer in an iframe or a redirect. One page can offer every payment method enabled on the account: send `sale_payment_method: multi` ([Create a multi-method checkout sale](/payments/hosted-payment-page/post-generate-sale-2)). ## Endpoints - [Create a sale (hosted payment page)](/payments/hosted-payment-page/post-generate-sale): POST /generate-sale - [Create a multi-method checkout sale](/payments/hosted-payment-page/post-generate-sale-2): POST /generate-sale