Payment Element is the recommended browser integration for new card checkouts.Documentation Index
Fetch the complete documentation index at: https://developer.pagou.ai/llms.txt
Use this file to discover all available pages before exploring further.
When to use it
- You are building a new card checkout.
- You want hosted card fields instead of collecting raw card data.
- You need 3D Secure in the same browser flow.
- Your backend should remain the owner of transaction creation and fulfillment state.
Browser vs backend
Browser responsibilities:- load the Pagou script
- mount the card field
- submit through
elements.submit(...) - continue browser-side challenge flow when required
- authenticate with secret credentials
- create
POST /v2/transactions - persist
external_ref, transaction ID, andrequestId - fulfill only from webhook or reconciliation state

