Alokai

GetSopPaymentRequestProps

Properties for creating a payment request.

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