The Localpayment Object

The Localpayment object is your entry point to the Smart Fields SDK. It provides methods to create payment fields, handle tokens, and manage the payment flow. This object is created by calling the LP constructor with your public key.