Skip to main content
Payment form related methods. Namespace: SKM.V3.Methods
Version: 4.0.54. Both packages; all six documented target frameworks.
These methods return a result object. Check Result == ResultType.Success before using its data. In version 4.0.54, handled request and JSON errors normally return ResultType.Error with a diagnostic Message. A non-null result alone does not mean the request succeeded. See Request Errors.

Constructors

PaymentForm()

Creates an empty PaymentForm object. This constructor does not send an API request.

Methods

CreateSession(string, CreateSessionModel)

This method will create a new session for a Payment Form. It allows you to customize appearance of the form (such as price, heading, etc). You should only create new sessions from a server side (i.e. never directly from your application). Note, session will only work once and it will eventually expire depending on Expires parameter.
Web API Reference Parameters Returns: CreateSessionResult. The API response. Check Result and Message before using the returned data. .NET SDK Reference · Reviewed Source Revision