Forage SDK
The entry point to the Forage SDK.
A ForageSDK instance interacts with the Forage API to process online-only payments.
You need an instance of the ForageSDK to perform operations like:
// Example: Create a ForageSDK instance
val forage = ForageSDK()
Content copied to clipboard
See also
ForageTerminalSDK to process POS Terminal transactions
Functions
Link copied to clipboard
Immediately captures a payment via a ForagePINEditText Element.
Link copied to clipboard
Checks the balance of a previously created PaymentMethod
via a ForagePINEditText Element.
Link copied to clipboard
open suspend override fun deferPaymentCapture(params: DeferPaymentCaptureParams): ForageApiResponse<String>
Submits a card PIN via a ForagePINEditText Element and defers payment capture to the server.
Link copied to clipboard
Tokenizes an EBT Card via a ForagePANEdit Text Element.