Skip to main content

SDK integration

Both SDK integration modes require the merchant to place a script element tag inside the payment page DOM, ideally inside the head element:

<script
type="text/javascript"
charSet="utf-8"
src="<Macropay public sdk url>" />

Depending on the Revup integration mode to be used, one the following URLs must be provided in the script tag above:

This script tag will load the transpiled/minified code into the merchant document page and will be available for the merchant at the global or window object as two JavaScript classes named Macropay and MacropayFrames.