Skip to main content
Use this page for the smallest working Payment Element integration.

Prerequisites

  • a Pagou public key
  • a backend route that creates POST /v2/transactions
  • webhook handling for final payment state

Load the script

Mount the field

Submit through your backend

Backend request example

Backend response example

Common error

Fix: confirm the public key, origin, and script environment. Your backend must return the transaction payload without dropping fields such as id, status, and next_action.

Next steps