Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Pipelets > Basket (deprecated)
Pipelet CreateBasketPaymentInstrument
Deprecated. Do not use this pipelet. Use the AddPaymentInstrumentToBasket pipelet instead.
Creates and returns a new OrderPaymentInstrument of the specified PaymentMethod, and assigns it to the specified Basket. If the Basket has any existing payment instruments, these are removed.
Deprecated:
Deprecated. Do not use this pipelet. Use the AddPaymentInstrumentToBasket pipelet instead.
Group:
Basket (deprecated)
Flags:
Transaction Required
Input Parameters
Basket  :  Basket (Required)
PaymentMethod  :  String (Required)
The type of payment information. See dw.order.PaymentInformation for constants.
Output Parameters
PaymentInstrument  :  LineItemCtnrPaymentInstrument  :  (Required)
A newly created OrderPaymentInstrument associated with the passed in basket.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.