v2

latestOpenAPI 3.1.02026-07-264249163.7 KB
Virtual

Create card session

Creates a Sezzle virtual card session. A card session represents the issuance of a Sezzle virtual card to a Sezzle user and/or the agreement of a Sezzle user to use the virtual card as payment. Use the card session endpoints to create and update a card session.

post/v2/session/card

Request body

amount_in_centsinteger required

The amount in cents

currencystring required

The 3 character currency code as defined by ISO 4217

originstring required

The window origin of the host

mode'iframe' | 'popup' | 'redirect' required

The mode for the order checkout. Defaults to redirect if not provided. If iframe or popup is provided, then the cancel and complete URLs must include the origin of the parent window.

merchant_reference_idstring required

The checkout or cart ID from the merchant, currently used for tracking only (must contain only alphanumeric characters, dashes (-), and underscores (_))

card_response_formatstring

Value of token required to use tokenization

Response

Successful Operation

uuidstring

The unique identifier for this session

dashboard_urlstring

The dashboard_url is a URL which the customer should be redirected to. Upon accepting the agreements there will be a postMessage returned for the payload of the card data.