📄️ Integration
Loading the Script
📄️ Container Setup
Add a DOM element that will host the payment UI. The SDK injects both the card form and APM buttons into this single container:
📄️ Configuration
Constructor Configuration: RevupConfig
📄️ Initialization
After the container exists in the DOM, call the asynchronous init() method:
📄️ Event Handling
All payment and form events are delivered as a single CustomEvent on the document:
📄️ Styling and Customization
Form Styles
📄️ Additional Methods
Get Available APMs
📄️ Integration Flow Summary
1. Load Script – Inject the SDK script and wait for onRevupSDKLoaded
📄️ Complete Implementation Example
📄️ Environment and URLs
Sandbox (Test) Environment