Home > @vsf-enterprise/sapcc-api > GetSopPaymentRequestProps
GetSopPaymentRequestProps interface
An object containing necessary props for creating a request for a payment.
Signature:
export interface GetSopPaymentRequestProps extends BaseProps
Extends: BaseProps
Properties
| Property | Type | Description |
|---|---|---|
| cartId | string | Cart identifier: cart code for logged-in user, cart guid for anonymous user, current for the last modified cart. |
| extendedMerchantCallback? | boolean | (Optional) Defines which url should be returned |
| responseUrl | string | The URL that the payment provider uses to return payment information |
| userId | string | User identifier or one of the literals: current for currently authenticated user, anonymous for anonymous user. |