younifyd
Menu

Get carts/{cartId}/selected-payment-method

Get carts/{cartId}/selected-payment-method

GET/V1/carts/{cartId}/selected-payment-method

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get carts/{cartId}/selected-payment-method action (under Carts).
  3. Fill in the fields below, then reference the result from later steps as {{getCartsCartidSelectedPaymentMethod.response.data}}.

Request

Path parameters

cartIdintegerrequired

The cart ID.

Response

Returns 200 with an object. Read it in later steps with {{getCartsCartidSelectedPaymentMethod.response.data.<field>}}.

po_numberstring

Purchase order number

methodstring

Payment method code

additional_dataarray<string>

Payment additional details

extension_attributesobject

ExtensionInterface class for @see \Magento\Quote\Api\Data\PaymentInterface

agreement_idsarray<string>
json
{
  "method": "string",
  "po_number": "string",
  "additional_data": [
    "string"
  ],
  "extension_attributes": {
    "agreement_ids": [
      "string"
    ]
  }
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.

Get carts/{cartId}/selected-payment-method — Adobe Commerce — Documentation