Alokai
You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x

GetSopPaymentRequestProps

Properties for creating a payment request.

export interface GetSopPaymentRequestProps extends BaseProps {
	cartId: string;
	extendedMerchantCallback?: boolean;
	responseUrl: string;
	userId: string;
}

Properties

NameRequiredTypeDescription
cartIdRequiredstringCart identifier: cart code for logged-in user, cart guid for anonymous user, current for the last modified cart.
extendedMerchantCallbackOptionalbooleanDefines which url should be returned
responseUrlRequiredstringThe URL that the payment provider uses to return payment information
userIdRequiredstringUser identifier or one of the literals: current for currently authenticated user, anonymous for anonymous user.

Referenced Types

On this page