Home > @poq/sdk-sfcc > ICustomersClient > getCustomersByIDPaymentInstrumentsByID
Retrieves a customer’s payment instrument by its id.
Signature:
getCustomersByIDPaymentInstrumentsByID(customerId: string, paymentInstrumentId: string, options?: RequestOptions): Promise<PoqResponse<CustomerPaymentInstrument>>;
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>>