Poq.SDK.Node

Home > @poq/sdk-sfcc > ICustomersClient > getCustomersByIDPaymentInstrumentsByID

ICustomersClient.getCustomersByIDPaymentInstrumentsByID() method

Retrieves a customers payment instrument by its id.

Signature:

getCustomersByIDPaymentInstrumentsByID(customerId: string, paymentInstrumentId: string, options?: RequestOptions): Promise<PoqResponse<CustomerPaymentInstrument>>;

Parameters

Parameter Type Description
customerId string the id of the customer to retrieve the payment instrument for
paymentInstrumentId string the id of the payment instrument to be retrievedCustomer
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<CustomerPaymentInstrument>>