Home > @poq/sdk-sfcc > CustomersClient > postCustomersByIDPaymentInstruments
Adds a payment instrument to a customer. Note that it can’t update the read-only credit_card_token on a payment_card record.
Signature:
postCustomersByIDPaymentInstruments(customerId: string, body: CustomerPaymentInstrumentRequest, options?: RequestOptions): Promise<PoqResponse<CustomerPaymentInstrument>>;
| Parameter | Type | Description |
|---|---|---|
| customerId | string | the id of the customer |
| body | CustomerPaymentInstrumentRequest | |
| options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<CustomerPaymentInstrument>>