The applyMultiplePaymentGroups
actor-chain is used to apply multiple payment groups to an order.
Parameter | Description |
---|---|
| The ID of the commerce identifier. |
| The number of Commerce Identifier Payment Info (CIPI) items that are included in the request. |
| Amount that is being applied to the payment group. |
| The credit card verification number. |
Apply Multiple Payment Groups Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" –d "{ \"listId\" : \"o50002\", \"cipicount\" : \"1\", \"cipiList\" : { \"atg-rest-class-type\":\"java.util.ArrayList\", \"atg-rest-values\": [{\"atg-rest-class-type\":\"atg.commerce.order.purchase. CommerceIdentifierPaymentInfo\", \"amount\" : \"15.00\", \"creditCardVerificationNumber\" : \"1234\"}]}}" "http://localhost:8280/rest/model/atg/commerce/order/purchase/PaymentGroupActor/ applyMultiplePaymentGroups"