Menu
Get Payment Methods For Basket 2
Retrieve payment instruments for a basket.
GET
/organizations/{organizationId}/baskets/{basketId}/payment-methodsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Payment Methods For Basket 2 action (under Shopper Baskets v2).
- Fill in the fields below, then reference the result from later steps as
{{getPaymentMethodsForBasket2.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getPaymentMethodsForBasket2.response.data.<field>}}.
{
"applicablePaymentMethods": [
{
"id": "string",
"cards": [
{
"cardType": "Visa",
"checksumVerificationEnabled": true,
"description": "string",
"image": "string",
"name": "string",
"numberLengths": [
"string"
],
"numberPrefixes": [
"string"
],
"securityCodeLength": 0
}
],
"description": "string",
"image": "string",
"name": "string",
"paymentProcessorId": "string"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?