Menu
Setup Customer Payment Method Reference
Setup Customer Payment Method Reference
POST
/organizations/{organizationId}/customers/{customerId}/payment-method-references/actions/setupUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Setup Customer Payment Method Reference action (under Shopper Customers).
- Fill in the fields below, then reference the result from later steps as
{{setupCustomerPaymentMethodReference.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"gatewayProperties": {
"stripe": {},
"adyen": {}
},
"paymentMethodType": "card"
}
Response
Returns 200 with an object. Read it in later steps with {{setupCustomerPaymentMethodReference.response.data.<field>}}.
{
"paymentMethodReferenceSetupId": "seti_1Mm8s8LkdIwHu7ix0OXBfTRG",
"gatewayProperties": {
"stripe": {},
"adyen": {}
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?