Skip to content

Hosted Payment Pages (HPP)

Hosted Payment Pages (HPP) is a SAPI-hosted checkout experience that removes the need for merchants to build a frontend payment integration. You create a Payment Request containing an hostedPaymentPage object, and the API response includes the HPP URL. Redirect your customer to that URL and the platform handles the payment UI, transaction processing, and result presentation on your behalf.

Hosted Payment Page example

When to Use HPP

Use HPP when you want a fully hosted payment flow with no frontend JavaScript integration. HPP is ideal for:

  • Invoice and email payment links
  • Redirect-based checkout flows
  • Scenarios where you cannot host or manage frontend payment scripts

HPP vs PayUI

HPPPayUI
IntegrationServer-side only; redirect the customerServer + client; embed the JS SDK
Frontend codeNone requiredScript include + initialise call
Payment processingHandled automatically by the platformMerchant embeds PayUI and manages the client-side flow
CustomisationMerchant name, logo, and line items via Payment Request fieldsFull visual theming via ui.variables
Result displaySAPI-hosted result page or redirectClient-side process event

Requirements

To use HPP, you need:

  • Server-side access to the API to create Payment Requests via POST /paymentrequests.
  • Card Not Present API Capability enabled on your merchant account during onboarding.

Integration Summary

StepWhereWhatAPIOutput
1BackendCreate Payment Request with hostedPaymentPagePOST /paymentrequestsPayment Request id + HPP url
2BackendRedirect the customer to the HPP url from the responseCustomer lands on HPP
3CustomerComplete payment on the hosted pageTransaction submitted
4PlatformDisplay result or redirect customerOutcome shown
5aBackend (recommended)Receive final state via webhooksWebhook eventsFinal state
5bBackend (fallback)Poll the Payment RequestGET /paymentrequests/{id}Final state

For the full step-by-step guide, see HPP Integration.

Payment Methods

Cards are the primary payment method for HPP. When you omit paymentMethods from the Payment Request, it defaults to ["card"].

Digital wallets (Apple Pay, Google Pay) may be available through HPP when enabled on your merchant account and requested in the Payment Request. Contact your account representative for wallet availability.